mirror of https://github.com/apache/cloudstack.git
VPC: fixed list public ips by vpcId
This commit is contained in:
parent
303d8a250d
commit
0b620bc852
|
|
@ -1744,7 +1744,7 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
}
|
||||
|
||||
// don't show SSVM/CPVM ips
|
||||
if (vlanType == VlanType.VirtualNetwork && (allocatedOnly)) {
|
||||
if (vlanType == VlanType.VirtualNetwork && (allocatedOnly) && vpcId == null) {
|
||||
sb.and("associatedNetworkId", sb.entity().getAssociatedWithNetworkId(), SearchCriteria.Op.NNULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue