CLOUDSTACK-5365 added route for mgmt cidr in the VR running on HyperV

This commit is contained in:
Rajesh Battala 2013-12-17 16:39:26 +05:30
parent 6d6c3c35cd
commit 03f1bae21c
1 changed files with 1 additions and 1 deletions

View File

@ -1936,7 +1936,7 @@ public class VirtualNetworkApplianceManagerImpl extends ManagerBase implements V
} else if (nic.getTrafficType() == TrafficType.Control) {
controlNic = nic;
// DOMR control command is sent over management server in VMware
if (dest.getHost().getHypervisorType() == HypervisorType.VMware) {
if (dest.getHost().getHypervisorType() == HypervisorType.VMware || dest.getHost().getHypervisorType() == HypervisorType.Hyperv) {
s_logger.info("Check if we need to add management server explicit route to DomR. pod cidr: " + dest.getPod().getCidrAddress() + "/" +
dest.getPod().getCidrSize() + ", pod gateway: " + dest.getPod().getGateway() + ", management host: " + ClusterManager.ManagementHostIPAdr.value());