> +                    return match;
> +                }
> +            }).orNull();
> +        }
> +        if (lan == null) {
> +            logger.warn("Could not find an existing lan Creating one....");
> +            lan = api.lanApi().create(Lan.Request.creatingBuilder()
> +                    .dataCenterId(dataCenterId)
> +                    .isPublic(Boolean.TRUE)
> +                    .name("lan " + name)
> +                    .build());
> +        }
> +
> +        //add a NIC to the server
> +        waitDcUntilAvailable.apply(dataCenterId);
> +        waitServerUntilAvailable.apply(ServerRef.create(dataCenterId, 
> serverId));

Is this needed? The server was not touched since the last wait operation.

---
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#r73311232

Reply via email to