mirror of https://github.com/apache/cloudstack.git
VPC: fixed list public ips by vpcId
This commit is contained in:
parent
fcdf6f2bec
commit
09bd4e1725
|
|
@ -1742,7 +1742,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