jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds] adding attache detach interface to nova api (#697)
Date Tue, 10 Mar 2015 08:40:42 GMT
> +         assertNotNull(inListenableFuture);
> +         assertNotNull(inListenableFuture.getMacAddr());
> +         assertEquals(inListenableFuture.getFixedIp(), fixedIp);
> +         assertNotNull(inListenableFuture.getPortId());
> +         assertNotNull(inListenableFuture.getPortState());
> +         assertEquals(inListenableFuture.getNetId(), netId);
> +      }
> +   }
> +
> +   @Test(description = "DELETE /v${apiVersion}/{tenantId}/servers/{server_id}/os-interface/{port_id}\"",
dependsOnMethods = {"testAttachedInterfaces"})
> +   public void testDetachIInterfaces() throws Exception {
> +      for (String regionId : regions) {
> +         InterfaceApi interfaceApi = api.getInterfaceApiForZone(regionId).get();
> +         interfaceApi.detachInterface("532eff71-c523-4380-aa24-e39695c983a2", "2839d4cd-0f99-4742-98ce-0585605d0222");
> +      }
> +   }

Where do all these uuids come from? Will the live test execution succeed in **any** OpenStack
environment?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/697/files#r26105184
Mime
View raw message