https://issues.apache.org/browse/CLOUDSTACK-6493
Master, 4.4
When user/admin wants his VM to present on multiple networks, AddVMToNetwork feature will allow him to add multiple networks to the VM.
This feature is currently supported for VMs deployed on xenserver,kvm,vmware and support for Hyper-V will be added now
Purpose
This is to support multiple nic's for the guest Vm's deployed on Hyper-V
VM - Virtual Machine running on the Host
This feature is to support multiple network interfaces to guest vm's by following operations
Hyper-V have a limitation of dynamically adding NIC to a VM which it is in running state. To add a new NIC to a VM on hyper-v it should be in stopped state.
Multiple nic for the VM will be supported only when VM is in stopped state or during VM Deployment.
Logs can be looked up at the following location
This feature is implemented for Windows Server 2012 R2 and Hyper-V 2012 R2 (Core).
User can add VM to networks he can access.
Admin can add the VM to multiple networks
When user/admin wants to his VM to present on multiple networks, AddVMToNetwork feature will allow him to add multiple networks to the VM.
This feature is currently supported on xenserver, kvm, vmware and this FS will add support for Hyper-V
When user/admin tries to add VM to accessible Networks, then a Nic will be plugged to the VM and nic will be configured. The guest vm will get dhcp ip from the associated VR.
For this feature to work, hypervisor should support hot-nic plug functionality for the vm running on the host.
Hyper-v have the limitation that it cannot support hot-nic plug functionality for the VM in running state.
In Hyper-V a new virtual network adapter can be added to VM only when it is stopped state.
Hyper-V supports maximum of 8 virtual network adapters (http://technet.microsoft.com/en-us/library/jj680093.aspx).
This feature multiple ips for a vm can be supported only for a VM
For each new network to be added for a VM, a new nic is required. so, user or admin can add VM can have maximum of 8 networks due to Hyper-v constraint.
No new web services were added.
NO change in the UI flow
Appendix A:
Appendix B: