> +
> + //add a NIC to the server
> + waitDcUntilAvailable.apply(dataCenterId);
> + waitServerUntilAvailable.apply(ServerRef.create(dataCenterId,
> serverId));
> + int lanId = DEFAULT_LAN_ID;
> + if (options.getNetworks() != null) {
> + try {
> + String networkId = Iterables.get(options.getNetworks(), 0);
> + lanId = Integer.valueOf(networkId);
> + } catch (Exception ex) {
> + logger.warn("no valid network id found from options. using
> default id='%d'", DEFAULT_LAN_ID);
> + }
> + }
> +
> + waitDcUntilAvailable.apply(dataCenterId);
> + waitServerUntilAvailable.apply(ServerRef.create(dataCenterId,
> serverId));
No need to wait again here
---
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#r73311314