It appears that in 5.1 they changes they way vApps handle networks.
I have 2 problems I need solutions for and am looking everywhere for help.
The Instantiate Template.php example just shows a default method. which doesnt allow for selection of networks during instantiation. vCD itself does allow for this as part of the "add vapp from template" wizard.
1/ Can someone provide an example of how I can select the network so it is already available and connected when the vm is created (and my create vm workflow has to run)
2/ As it appears that the Org network must be now added to the vapp before selecting, can someone provide an example of how to add an Org Network to a vApp?
thanks