if (!options.getNetworks().isEmpty()) {
ImmutableList.Builder<Ip<?, ?>> ips = ImmutableList.<Ip<?, ?>> builder();
Enterprise enterprise = adminService.getCurrentEnterprise();
Iterable<ExternalNetwork> externalNetworks = enterprise.listExternalNetworks(datacenter);
for (String networkId : options.getNetworks()) {
Network<? extends Ip<?, ?>> network = template.getVirtualDatacenter().getPrivateNetwork(
Ints.tryParse(networkId));