ArrayList<Network> networks = new ArrayList<Network>();
netSchema.networks = networks;
// TODO: enhance this logic to support nodegroup level networks
for (NetworkAdd networkAdd : cluster.getNetworkings()) {
Network network = new Network();
network.vcNetwork = networkAdd.getPortGroup();
networks.add(network);
}
node.getVmSchema().networkSchema = netSchema;