Implemented the supports exclusion CIDR new method

This commit is contained in:
Ignasi Barrera 2014-10-11 13:19:00 +02:00
parent f4f86edd4d
commit 65f29d1802

View File

@ -321,6 +321,11 @@ public class GoogleComputeEngineSecurityGroupExtension implements SecurityGroupE
return true;
}
@Override
public boolean supportsExclusionCidrBlocks() {
return false;
}
private SecurityGroup groupForTagsInNetwork(Network nw, final Set <String> tags) {
ListOptions opts = new Builder().filter("network eq .*/" + nw.getName());
Set<Firewall> fws = api.getFirewallApiForProject(userProject.get()).list(opts).concat()