nelsonjr commented on this pull request.


> @@ -136,11 +136,17 @@
       URI network = URI.create(networks.next());
       assert !networks.hasNext() : "Error: Options should specify only one 
network";
 
+      Iterator<String> subnetworks = options.getSubnetworks().iterator();
+
+      URI subnetwork = subnetworks.hasNext() ? URI.create(subnetworks.next()) 
: null;
+      assert !subnetworks.hasNext() : "Error: Options should specify only one 
subnetwork";

I made a collection like networks because like networks it can be specified 
more than once.

I added the blocker to match networks behavior though, but I'll create a 
separate PR to remove both and bring multiple interfaces (direct or 
subnetworked) to the module.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1006

Reply via email to