> +         String netId = "727ce2ef-6983-49c2-a404-e11a92e8fd28";
> +         FixedIp fixedIp = 
> FixedIp.builder().subnetId("cf18362d-f117-4598-b32d-edb316f26c3f").ipAddress("11.40.7.22").build();
> +         List<FixedIp> fixIpsLis = new LinkedList<FixedIp>();
> +         fixIpsLis.add(fixedIp);
> +         AttachInterfaceOptions attachInterfaceOptions = 
> AttachInterfaceOptions.Builder.netId(netId).fixedIps(fixIpsLis);
> +         InterfaceAttachment inListenableFuture = 
> interfaceApi.attachInterface("532eff71-c523-4380-aa24-e39695c983a2", 
> attachInterfaceOptions);
> +         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}\"")

The test dependency is still needed here?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/697/files#r25880757

Reply via email to