mirror of https://github.com/apache/cloudstack.git
listPublicIpAddresses: when do join with nics table, count only non-removed nics
Conflicts: server/src/com/cloud/server/ManagementServerImpl.java
This commit is contained in:
parent
a924eb196f
commit
7d0338bd82
|
|
@ -1765,11 +1765,6 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
vlanType = VlanType.VirtualNetwork;
|
||||
}
|
||||
|
||||
// don't show SSVM/CPVM ips
|
||||
if (vlanType == VlanType.VirtualNetwork && (allocatedOnly)) {
|
||||
sb.and("associatedNetworkId", sb.entity().getAssociatedWithNetworkId(), SearchCriteria.Op.NNULL);
|
||||
}
|
||||
|
||||
SearchCriteria<IPAddressVO> sc = sb.create();
|
||||
if (isAllocated) {
|
||||
_accountMgr.buildACLSearchCriteria(sc, domainId, isRecursive, permittedAccounts, listProjectResourcesCriteria);
|
||||
|
|
|
|||
Loading…
Reference in New Issue