> + .volumeId(bootVolume.id())
> + .build());
> +
> + waitServerUntilAvailable.apply(ServerRef.create(dataCenterId,
> serverId));
> + waitDcUntilAvailable.apply(dataCenterId);
> +
> + //fetch an existing lan and creat if non was found
> + Lan lan = null;
> +
> + List<Lan> lans = api.lanApi().list(dataCenterId);
> + if (lans != null && !lans.isEmpty()) {
> + lan = FluentIterable.from(lans).firstMatch(new Predicate<Lan>() {
> + @Override
> + public boolean apply(Lan input) {
> + input = api.lanApi().get(dataCenterId, input.id(), new
> DepthOptions().depth(3));
> + boolean match = input.properties().isPublic();
Just `return input.properties().isPublic();`
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/292/files/9251ab7434bcafb1dcbec5a718acc3c24517c94d#r73311182