Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.1.0
-
None
-
Security Level: Public (Anyone can view this level - this is the default.)
-
None
Description
The new cloud-engine OrchestrationService :: createVirtualMachine() and createVirtualMachineFromScratch() API's take in parameters needed to allocate a VM, volume and network.
Instead it should just take care of allocating a VM. To allocate volume and network, we should have separate APIs in OrchestrationService like createVolume() - attachVolume() and createNetwork()/ allocateNic() etc.
This way we need not carry volume/network parameters inside VM object during create VM.