// if the vm already contains a network connection section and if the vapp contains a
// configured network -> vm could be mapped to that network.
else {
Set<VAppNetworkConfiguration> vAppNetworkConfigurations = listVappNetworkConfigurations(vApp);
for (VAppNetworkConfiguration vAppNetworkConfiguration : vAppNetworkConfigurations) {
NetworkAssignment networkAssignment = NetworkAssignment.builder()
.innerNetwork(vAppNetworkConfiguration.getNetworkName())
.containerNetwork(vAppNetworkConfiguration.getNetworkName()).build();
networkAssignments.add(networkAssignment);
}
}