Bug Reference

https://issues.apache.org/jira/browse/CLOUDSTACK-6106 

Branch

4.4, Master

Introduction

Purpose

This is functional specification for Implementing Support of VPC on Hyper-V

References

Document History

Glossary

Entity - tier/private gateway/public vlan range

Feature Specifications

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.

Test Guidelines

Functional
Negative

Support-ability Characteristics

Logs can be looked up at the following location

Supported Hypervisor

This feature is implemented for Windows Server 2012 R2 and Hyper-V 2012 R2 (Core).

Use cases

use cases listed in Inter-VLAN Routing 

Architecture and Design description

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.

There is a limitation imposed by hyper-v. Hyperv cannot support Hot-Nic plug to the vpc vr and at max only 8 virtual network adapters can be added to vr. ( http://technet.microsoft.com/en-us/library/jj680093.aspx)

So to overcome this limitation imposed by Hyper-V, VPC VR will be deployed with 8 enlightened 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 with 8 enlightened nics.

First nic will be configure with control IP. Second Nic will be configured with public ip.

There will be only 6 free nics available on the vpc vr.

These 6 nics can be used among new vpc entities created. For each new vpc entity, one nic will be used. So at max only 6 vpc entities can be created.

When a new tier/new publicvlan/new private gateway is created on VPC, 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/used and user/admin attempts to create any new vpc entity then  plugnic command will be failed with plugnic failure exception message to add vpc entity and reason will be logged "Plug Nic failed for the vm as it has reached max limit".

 

Web Services APIs

No new web apis were added

UI flow

No change in the UI Flow

IP Clearance

  NA 

Appendix

Appendix A:

Appendix B: