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-labs] add docker NetworkAPI (#221)
Date Thu, 12 Nov 2015 21:51:24 GMT
> +              ),
> +              ImmutableMap.of("39b69226f9d79f5634485fb236a23b2fe4e96a0a94128390a7fbbcc167065867",
> +                      Network.Details.create(
> +                              "ed2419a97c1d9954d05b46e462e7002ea552f216e9b136b80a7db8d98b442eda",
//endpointId
> +                              "02:42:ac:11:00:02", // MAC
> +                              "172.17.0.2/16", // ipv4address
> +                              "" // ipv6address
> +                      )
> +              ),
> +              options);
> +
> +      try {
> +         Network created = api.createNetwork(network);
> +         assertNotNull(created);
> +         assertThat(created.id()).isEqualTo("22be93d5babb089c5aab8dbc369042fad48ff791584ca2da2100db837a1c7c30");
> +         assertSent(server, "POST", "/networks/create");

Verify the body here too

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