final Nic_Type[] nics = new Nic_Type[nicNames.length];
for (int i = 0; i < nicNames.length; i++) {
final String nicName = nicNames[i];
final Nic_Type nic = new Nic_Type();
nic.setAssociation(associations[i]);
final IPConfig_Type ipconfig = new IPConfig_Type();
ipconfig.setAcquisitionMethod(
IPConfig_TypeAcquisitionMethod.AllocateAndConfigure);
nic.setIpConfig(ipconfig);
nic.setName(nicName);
nics[i] = nic;
}
final VirtualNetwork_Type vn = new VirtualNetwork_Type(nics);
return new Logistics(null, vn);