Commit Graph

8 Commits

Author SHA1 Message Date
Michael Kuzmin 172118bbe5 rename 'dc_name' to 'datacenter' 2017-07-01 17:45:13 +03:00
Michael Kuzmin de58c87878 Support nested VM folders 2017-07-01 16:18:54 +03:00
Michael Kuzmin a12ff09f0a move setup back into builder 2017-07-01 15:52:49 +03:00
Elizaveta Tretyakova fbe2065ec2 Add a snapshot (#22) 2017-06-27 10:32:59 +03:00
Elizaveta Tretyakova 66705e4a26 Adding linked clones (#17)
* Simple linked cloning, just crashing if no snapshots
2017-06-12 01:45:25 +03:00
Elizaveta Tretyakova 0b17912c07 Implemented #4, #5 and #6 (#14)
* initial changes: added host and pool parameters

* backup

* clones only within the same host

* added some debug-output

* minor fixes

* vm experiments

* added datastore to realocation spec

* added datastore parameter; fixed copying between hosts

* removed debug-output

* changed dependencies
2017-05-31 11:38:50 +03:00
Elizaveta Tretyakova b3dcaab8b3 Hw customization (#13)
moved all configuration after cloning
2017-05-19 07:44:27 +03:00
Elizaveta Tretyakova b2c6e44c70 Builder (#2)
* the very initial builder: just clones the VM

* removed post-processor

* builder now waits for IP address

* more separated steps

* clean up

* added run and shutdown steps

* added step connecting via ssh

* changed the BuilderId to a proper one

* added shutdown command, only echo works

* added cleanup

* removed wainting for VM to stop, removed error on the non-zero exit status

* removed BuildSuccessFlag

* refactored config structures; fixed interpolation of json template

* the rest of configuration refactoring

* removed duplicated parameters from Config

* removed duplicated parameters drom Config

* changed BuilderId and Artifact

* create a dedicated step for VM hardware configuration

* merged StepSetupCloningEnv into StepCloneVM

* improved cleanup

* added proper handling of 'disconnected' command exit status; added guest os shutdown before halting the machine [in case when no shutdown command is given]

* refactored non-conventional variable and field names

* removed redundant fields from Artifact

* removed the success field at all

* removed ArtifactFiles

* removed unnecessary warnings

* minor change in parameters structure
2017-05-09 17:23:57 +03:00