We just upgraded to v.5.1 and it has broken a deployment routine we do via our custom web interface.
The solution requires us to add a network to a vm after instantiating the template if the network interface == none.
We find that we have to add the network to the vapp under the vapp properties tab before it can be assigned.
Does anyone know of any examples of what can be used to add network to a vm in v5.1 including the addition of the network to the vapp.
Or am I misunderstanding what happened in v5.1?
When I try this:
System.getModule("com.vmware.pso.library.vcd").setVmNetwork(vm,vAppNetworkName) ;
I get the error:
The VCD entity network "10. Network" does not exist.
dion