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);
}
}