mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7250 [vCenter 5.5] SourceNAT,StaticNAT and Portfowrding is not working with Vmware DVS in vCenter 5.5
Change in vCenter 5.5 API from prior versions forced code change in CloudStack. Update property value of property "VirtualE1000.deviceInfo.summary" is accommodated now. Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
This commit is contained in:
parent
cc725e53e3
commit
dfa607fb44
|
|
@ -2412,7 +2412,7 @@ public class VirtualMachineMO extends BaseMO {
|
|||
attachedNetworkSummary = ((VirtualEthernetCard)nic).getDeviceInfo().getSummary();
|
||||
if (attachedNetworkSummary.startsWith(networkNamePrefix)) {
|
||||
return new Pair<Integer, VirtualDevice>(new Integer(index), nic);
|
||||
} else if (attachedNetworkSummary.endsWith("DistributedVirtualPortBackingInfo.summary")) {
|
||||
} else if (attachedNetworkSummary.endsWith("DistributedVirtualPortBackingInfo.summary") || attachedNetworkSummary.startsWith("DVSwitch")) {
|
||||
dvPortGroupName = getDvPortGroupName((VirtualEthernetCard)nic);
|
||||
if (dvPortGroupName != null && dvPortGroupName.startsWith(networkNamePrefix)) {
|
||||
s_logger.debug("Found a dvPortGroup already associated with public NIC.");
|
||||
|
|
|
|||
Loading…
Reference in New Issue