// target vm folder
node.setVmFolder(nodeGroup.getVmFolderPath());
// target network, hard coded as the only one NIC
NetworkSchema netSchema = new NetworkSchema();
ArrayList<Network> networks = new ArrayList<Network>();
netSchema.networks = networks;
// TODO: enhance this logic to support nodegroup level networks