https://issues.apache.org/jira/browse/CLOUDSTACK-6106
4.4, Master
This is functional specification for Implementing Support of VPC on Hyper-V
Currently VPC support is already available for Xen, VMware, KVM. In 4.3 Hyper-V Hypervisor support is added to cloudstack. This feature is to support VPC on Hyper-V hypervisor.
In the current implementation of VPC the following features are supported.
All the above functionality will be supported for VPC VR running on Hyper-V.
quality risks (test guidelines)
Functional:
Logs can be looked up at the following location
This feature is implemented for Windows Server 2012 R2 and Hyper-V 2012 R2 (Core).
use cases listed in Inter-VLAN Routing
When new Tier/new public vlan range/new Private gateway is added to VPC, a new nic will be Hot-Plugged to the VPC VR and it will be configured accordingly.
w.r.t Hyper-V, it cannot support Hot-Nic plug to the VPC VR.Hyper-V can support Max of (8) Virtual Network Adapters.
So to overcome this limitation imposed by Hyper-V, VPC VR will be deployed with extra nics.
How the deployment for VPC will work when running in Hyper-V:
when the VPC is created, VPC VR will be created on Hyper-V by default with 8 Nics.
first nic will be configure with control IP
Second Nic will be configured with public ip
type | supported | no of nic used |
---|---|---|
default control ip | 1 | 1 |
default public ip | 1 | 1 |
default max tiers | 3 | 3 |
maximum private gateway | 0-3 | 0-3 |
maximum new public vlan range | 0-3 | 0-3 |
When a new tier/new publicvlan/new private gateway is created on VPC, we will find the free extra nic created and use this nic to configure the associated configuration.
When any tier/public vlan range(last ip)/private gateway is deleted in VPC, then the nic configurations will be removed inside the VR and on the VM level.
when all the extra nics are configured and user attempts to create a new tier etc then exception/error message will be thrown/shown to the user and config will be roll backed.
Web Services APIs
No new web apis were added
No change in the UI Flow
NA
Appendix A:
Appendix B: