Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: Update folder.PlaceVMsXCluster to support several placement types
The PlaceVmsXCluster API is being updated to provide placement recommendations for several new "op-types", relocate and reconfigure, in addition to the original "createAndPowerOn" behavior. To support the new capability, the PlaceVmsXCluster API is updated to add a new placement type field, add 2 new supported placement types (relocate and reconfigure) and to extend the spec and faults to carry addition info referencing existing VMs and an optional relocate spec. This change does the following: - extends the API definitions to reflect the changes. - extends the simulator to support these new placement types. - adds simulator tests to validate the new placement types. - updates licenses Testing Done: make check - PASSED make test - PASSED vm-operator: go test -v -count=1 ./pkg/providers/vsphere - PASSED go test -v -count=1 ./pkg/providers/vsphere/placement - PASSED
- Loading branch information