You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by na...@apache.org on 2014/10/12 22:30:33 UTC

git commit: Implemented the supports exclusion CIDR new method

Repository: jclouds-labs-google
Updated Branches:
  refs/heads/master 1cb3164db -> f48f0ba9e


Implemented the supports exclusion CIDR new method


Project: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/commit/f48f0ba9
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/tree/f48f0ba9
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/diff/f48f0ba9

Branch: refs/heads/master
Commit: f48f0ba9e1f1d6da16f10fe0e0f36812d01d56b4
Parents: 1cb3164
Author: Ignasi Barrera <na...@apache.org>
Authored: Sat Oct 11 13:19:00 2014 +0200
Committer: Ignasi Barrera <na...@apache.org>
Committed: Sat Oct 11 13:19:00 2014 +0200

----------------------------------------------------------------------
 .../extensions/GoogleComputeEngineSecurityGroupExtension.java   | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/blob/f48f0ba9/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/compute/extensions/GoogleComputeEngineSecurityGroupExtension.java
----------------------------------------------------------------------
diff --git a/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/compute/extensions/GoogleComputeEngineSecurityGroupExtension.java b/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/compute/extensions/GoogleComputeEngineSecurityGroupExtension.java
index 9a5b39f..0abdfb9 100644
--- a/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/compute/extensions/GoogleComputeEngineSecurityGroupExtension.java
+++ b/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/compute/extensions/GoogleComputeEngineSecurityGroupExtension.java
@@ -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()