Skip to content

Commit 03f1bae

Browse files
CLOUDSTACK-5365 added route for mgmt cidr in the VR running on HyperV
1 parent 6d6c3c3 commit 03f1bae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1936,7 +1936,7 @@ public boolean finalizeVirtualMachineProfile(VirtualMachineProfile profile, Depl
19361936
} else if (nic.getTrafficType() == TrafficType.Control) {
19371937
controlNic = nic;
19381938
// DOMR control command is sent over management server in VMware
1939-
if (dest.getHost().getHypervisorType() == HypervisorType.VMware) {
1939+
if (dest.getHost().getHypervisorType() == HypervisorType.VMware || dest.getHost().getHypervisorType() == HypervisorType.Hyperv) {
19401940
s_logger.info("Check if we need to add management server explicit route to DomR. pod cidr: " + dest.getPod().getCidrAddress() + "/" +
19411941
dest.getPod().getCidrSize() + ", pod gateway: " + dest.getPod().getGateway() + ", management host: " + ClusterManager.ManagementHostIPAdr.value());
19421942

0 commit comments

Comments
 (0)