Package org.jclouds.cloudsigma.domain

Examples of org.jclouds.cloudsigma.domain.VLANInfo


      drive = drive2;
   }

   @Test
   public void testCreateAndDestroyVLAN() throws Exception {
      VLANInfo vlan = client.createVLAN(prefix);
      String id = vlan.getUuid();
      try {
         vlan = client.getVLANInfo(vlan.getUuid());
         assertEquals(vlan.getName(), prefix);

         String prefix2 = prefix + "2";
         vlan = client.renameVLAN(vlan.getUuid(), prefix2);
         assertEquals(vlan.getName(), prefix2);
      } finally {
         client.destroyVLAN(id);
      }
   }
View Full Code Here


      drive = drive2;
   }

   @Test
   public void testCreateAndDestroyVLAN() throws Exception {
      VLANInfo vlan = client.createVLAN(prefix);
      String id = vlan.getUuid();
      try {
         vlan = client.getVLANInfo(vlan.getUuid());
         assertEquals(vlan.getName(), prefix);

         String prefix2 = prefix + "2";
         vlan = client.renameVLAN(vlan.getUuid(), prefix2);
         assertEquals(vlan.getName(), prefix2);
      } finally {
         client.destroyVLAN(id);
      }
   }
View Full Code Here

      drive = drive2;
   }

   @Test
   public void testCreateAndDestroyVLAN() throws Exception {
      VLANInfo vlan = client.createVLAN(prefix);
      String id = vlan.getUuid();
      try {
         vlan = client.getVLANInfo(vlan.getUuid());
         assertEquals(vlan.getName(), prefix);

         String prefix2 = prefix + "2";
         vlan = client.renameVLAN(vlan.getUuid(), prefix2);
         assertEquals(vlan.getName(), prefix2);
      } finally {
         client.destroyVLAN(id);
      }
   }
View Full Code Here

      drive = drive2;
   }

   @Test
   public void testCreateAndDestroyVLAN() throws Exception {
      VLANInfo vlan = client.createVLAN(prefix);
      String id = vlan.getUuid();
      try {
         vlan = client.getVLANInfo(vlan.getUuid());
         assertEquals(vlan.getName(), prefix);

         String prefix2 = prefix + "2";
         vlan = client.renameVLAN(vlan.getUuid(), prefix2);
         assertEquals(vlan.getName(), prefix2);
      } finally {
         client.destroyVLAN(id);
      }
   }
View Full Code Here

TOP

Related Classes of org.jclouds.cloudsigma.domain.VLANInfo

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.