echoidcf commented on issue #4246:
URL: https://github.com/apache/cloudstack/issues/4246#issuecomment-675218552


   > From the code it seems as if plugPublicNic() is called when there are no 
public networks on vsphere.
   
   When associate a new IP and this IP belongs to a new public network, 
   ~~~
   vmMo.getNicDeviceIndex(publicNeworkName);
   ~~~
   will return -1 and addVif is true, then plugPublicNic() is called.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to