weizhouapache commented on issue #12772:
URL: https://github.com/apache/cloudstack/issues/12772#issuecomment-4023547408

   @rybakovanton-metta 
   it seem to be a bug
   
   however, I think it should be set to false, or ignored if it is set to true 
for isolated networks.
   
   ```
                String guestIp = null;
   -            if (network.getSpecifyIpRanges()) {
   +            if (GuestType.Shared.equals(network.getGuestType()) && 
network.getSpecifyIpRanges()) {
                    _ipAddrMgr.allocateDirectIp(nic, dc, vm, network, 
nic.getRequestedIPv4(), null);
                } else {
                    if (isGateway) {
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to