svenvogel commented on a change in pull request #2980: [4.11] Fix set initial 
reservation on public IP ranges
URL: https://github.com/apache/cloudstack/pull/2980#discussion_r229360520
 
 

 ##########
 File path: server/src/com/cloud/configuration/ConfigurationManagerImpl.java
 ##########
 @@ -3569,10 +3569,10 @@ public VlanVO doInTransaction(final TransactionStatus 
status) {
                     }
                     // increment resource count for dedicated public ip's
                     
_resourceLimitMgr.incrementResourceCount(vlanOwner.getId(), 
ResourceType.public_ip, new Long(ips.size()));
-                } else if (domain != null) {
+                } else if (domain != null && !forSystemVms) {
                     // This VLAN is domain-wide, so create a DomainVlanMapVO 
entry
-                    //final DomainVlanMapVO domainVlanMapVO = new 
DomainVlanMapVO(domain.getId(), vlan.getId());
-                    //_domainVlanMapDao.persist(domainVlanMapVO);
+                    final DomainVlanMapVO domainVlanMapVO = new 
DomainVlanMapVO(domain.getId(), vlan.getId());
 
 Review comment:
   Hi @nvazquez as i can say. we tested it. it works now! Great work!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to