vn.setParent(vCenterProject);
String ipamUuid = apiConnector.findByName(NetworkIpam.class, null,
"default-network-ipam");
NetworkIpam ipam = (NetworkIpam) apiConnector.findById(
NetworkIpam.class, ipamUuid);
SubnetUtils subnetUtils = new SubnetUtils(subnetAddr, subnetMask);
String cidr = subnetUtils.getInfo().getCidrSignature();
VnSubnetsType subnet = new VnSubnetsType();
String[] addr_pair = cidr.split("\\/");
subnet.addIpamSubnets(new VnSubnetsType.IpamSubnetType(
new SubnetType(addr_pair[0],
Integer.parseInt(addr_pair[1])), gatewayAddr,