Package org.jclouds.vcloud.domain.network

Examples of org.jclouds.vcloud.domain.network.IpScope


      } else if (SaxUtils.equalsOrSuffix(qName, "Dns2")) {
         dns2 = currentOrNull();
      } else if (SaxUtils.equalsOrSuffix(qName, "DnsSuffix")) {
         dnsSuffix = currentOrNull();
      } else if (SaxUtils.equalsOrSuffix(qName, "IpScope")) {
         ipScope = new IpScope(inherited, gateway, netmask, dns1, dns2, dnsSuffix, ipRanges, allocatedIpAddresses);
         this.inherited = false;
         this.gateway = null;
         this.netmask = null;
         this.dns1 = null;
         this.dns2 = null;
View Full Code Here


               .create("https://vcenterprise.bluelock.com/api/v1.0/org/9566014")));
      assertEquals(result.getDescription(), null);
      assertEquals(result.getTasks(), ImmutableList.of());
      assert result.getConfiguration() != null;

      assertEquals(result.getConfiguration().getIpScope(), new IpScope(false, "192.168.15.1", "255.255.255.0",
               "23.172.173.113", null, null,
               ImmutableSet.<IpRange> of(new IpRange("192.168.15.100", "192.168.15.199")), ImmutableSet.<String> of()));
      assertEquals(result.getConfiguration().getParentNetwork(), null);
      assertEquals(result.getConfiguration().getFenceMode(), FenceMode.ISOLATED);
      assert result.getConfiguration().getFeatures() != null;
View Full Code Here

               .create("https://vcenterprise.bluelock.com/api/v1.0/org/9566014")));
      assertEquals(result.getDescription(), null);
      assertEquals(result.getTasks(), ImmutableList.of());
      assert result.getConfiguration() != null;

      assertEquals(result.getConfiguration().getIpScope(), new IpScope(true, "174.47.101.161", "255.255.255.224",
               "24.172.173.113", null, null,
               ImmutableSet.<IpRange> of(new IpRange("174.47.101.164", "174.47.101.190")), ImmutableSet.<String> of()));
      assertEquals(result.getConfiguration().getParentNetwork(), null);
      assertEquals(result.getConfiguration().getFenceMode(), FenceMode.BRIDGED);
      assert result.getConfiguration().getFeatures() == null;
View Full Code Here

      } else if (SaxUtils.equalsOrSuffix(qName, "Dns2")) {
         dns2 = currentOrNull();
      } else if (SaxUtils.equalsOrSuffix(qName, "DnsSuffix")) {
         dnsSuffix = currentOrNull();
      } else if (SaxUtils.equalsOrSuffix(qName, "IpScope")) {
         ipScope = new IpScope(inherited, gateway, netmask, dns1, dns2, dnsSuffix, ipRanges, allocatedIpAddresses);
         this.inherited = false;
         this.gateway = null;
         this.netmask = null;
         this.dns1 = null;
         this.dns2 = null;
View Full Code Here

               .create("https://vcenterprise.bluelock.com/api/v1.0/org/9566014")));
      assertEquals(result.getDescription(), null);
      assertEquals(result.getTasks(), ImmutableList.of());
      assert result.getConfiguration() != null;

      assertEquals(result.getConfiguration().getIpScope(), new IpScope(false, "192.168.15.1", "255.255.255.0",
               "23.172.173.113", null, null,
               ImmutableSet.<IpRange> of(new IpRange("192.168.15.100", "192.168.15.199")), ImmutableSet.<String> of()));
      assertEquals(result.getConfiguration().getParentNetwork(), null);
      assertEquals(result.getConfiguration().getFenceMode(), FenceMode.ISOLATED);
      assert result.getConfiguration().getFeatures() != null;
View Full Code Here

               .create("https://vcenterprise.bluelock.com/api/v1.0/org/9566014")));
      assertEquals(result.getDescription(), null);
      assertEquals(result.getTasks(), ImmutableList.of());
      assert result.getConfiguration() != null;

      assertEquals(result.getConfiguration().getIpScope(), new IpScope(true, "174.47.101.161", "255.255.255.224",
               "24.172.173.113", null, null,
               ImmutableSet.<IpRange> of(new IpRange("174.47.101.164", "174.47.101.190")), ImmutableSet.<String> of()));
      assertEquals(result.getConfiguration().getParentNetwork(), null);
      assertEquals(result.getConfiguration().getFenceMode(), FenceMode.BRIDGED);
      assert result.getConfiguration().getFeatures() == null;
View Full Code Here

      } else if (SaxUtils.equalsOrSuffix(qName, "Dns2")) {
         dns2 = currentOrNull();
      } else if (SaxUtils.equalsOrSuffix(qName, "DnsSuffix")) {
         dnsSuffix = currentOrNull();
      } else if (SaxUtils.equalsOrSuffix(qName, "IpScope")) {
         ipScope = new IpScope(inherited, gateway, netmask, dns1, dns2, dnsSuffix, ipRanges, allocatedIpAddresses);
         this.inherited = false;
         this.gateway = null;
         this.netmask = null;
         this.dns1 = null;
         this.dns2 = null;
View Full Code Here

               .create("https://vcenterprise.bluelock.com/api/v1.0/org/9566014")));
      assertEquals(result.getDescription(), null);
      assertEquals(result.getTasks(), ImmutableList.of());
      assert result.getConfiguration() != null;

      assertEquals(result.getConfiguration().getIpScope(), new IpScope(false, "192.168.15.1", "255.255.255.0",
               "23.172.173.113", null, null,
               ImmutableSet.<IpRange> of(new IpRange("192.168.15.100", "192.168.15.199")), ImmutableSet.<String> of()));
      assertEquals(result.getConfiguration().getParentNetwork(), null);
      assertEquals(result.getConfiguration().getFenceMode(), FenceMode.ISOLATED);
      assert result.getConfiguration().getFeatures() != null;
View Full Code Here

               .create("https://vcenterprise.bluelock.com/api/v1.0/org/9566014")));
      assertEquals(result.getDescription(), null);
      assertEquals(result.getTasks(), ImmutableList.of());
      assert result.getConfiguration() != null;

      assertEquals(result.getConfiguration().getIpScope(), new IpScope(true, "174.47.101.161", "255.255.255.224",
               "24.172.173.113", null, null,
               ImmutableSet.<IpRange> of(new IpRange("174.47.101.164", "174.47.101.190")), ImmutableSet.<String> of()));
      assertEquals(result.getConfiguration().getParentNetwork(), null);
      assertEquals(result.getConfiguration().getFenceMode(), FenceMode.BRIDGED);
      assert result.getConfiguration().getFeatures() == null;
View Full Code Here

      } else if (SaxUtils.equalsOrSuffix(qName, "Dns2")) {
         dns2 = currentOrNull();
      } else if (SaxUtils.equalsOrSuffix(qName, "DnsSuffix")) {
         dnsSuffix = currentOrNull();
      } else if (SaxUtils.equalsOrSuffix(qName, "IpScope")) {
         ipScope = new IpScope(inherited, gateway, netmask, dns1, dns2, dnsSuffix, ipRanges, allocatedIpAddresses);
         this.inherited = false;
         this.gateway = null;
         this.netmask = null;
         this.dns1 = null;
         this.dns2 = null;
View Full Code Here

TOP

Related Classes of org.jclouds.vcloud.domain.network.IpScope

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.