...
- addCluster will be modified
- Interface perspective -
- No change
- If the zone is legacy, then hide Datacenter/DC text field in UI. Hence cluster url becomes http://vcenterhost/cluster

- addVmwareDc -
- Maps a cloudstack zone with specified VMware DC.
- Throws RemoteException if vCenter is not reachable or any other server side Exception caught.
- Upon failure in parameter validation throw InvalidParameterValueException
- Parameters are,
- zoneId - required
- name - required
- vcenter - required
- username - required
- password - required
- removeVmwareDc -
- Removes and unmaps the VMWare DC that is added to specified zone.
- If no association exists already, then throw CloudRuntimeException.
- If no such zone exists, throw InvalidParameterValueException
- If zone is have one or more clusters / elements, then throw ResourceInUseException - Zone should be empty (no clusters or other elements like Nexus 1000v VSM instance)
- Parameter are,
- zoneId - required
- listVmwareDcs -
- Lists VMware DCs associated with specified zone.
- If no association exists already, then returns empty list
- Parameter is,
- zoneId - required
- isLegacyZone -
- Returns response with boolean value, whether specified zone is legacy or not.
- Parameter is,
- zoneId - required
UI Flow
- Changes required in UI
- Add VMware DC to zone
- Remove VMware DC from zone
- Add Cluster form in zone wizard
- Add Cluster wizard
- Changes to support legacy zones.
...
{"serverDuration": 156, "requestCorrelationId": "9fe536e366e970d2"}