Help appreciated ...
I need the NAT rules in the deployed vApp to be the same as the original vApp. I cannot find anything to help me on it hence the post.
vCD 5.5, VCNS 5.5, vSphere 5.5. Attached screenshots show the original vApp and the deployed vApp.
Any specific or general advice would be appreciated.
Thanks, Andy.
Message was edited by: Andy Archer
i hope that i understand your situation correctly, you can retrieve and change settings from the network section of an vapp via the rest api
http://pubs.vmware.com/vcd-51/topic/com.vmware.ICbase/PDF/vcd_51_api_guide.pdf <- Page 114
example: update a networkconfigsection
retrieve network/nat details from the original vapp and compare this with the deployed vapp
if it is neccesary, change the nat rules in the deployed vapp
A little more detail might be needed in your example, the rules are suppose to stay, if they are not open a case with support.
That said a few things can cause them to go away, and is expected behavior: deploying to a new org, changing the uplink(parent) network. Under some conditions these events can drop firewall and NAT rules. (Also make sure when adding to catalog to select, Make Identical Copy" - or the system needs to re-internal ip/ and re-mac the vm's; something you should not need to do if using a vAppNetwork)
You might want to layout the whole flow so we can understand if working as expected, or if this is a bug (v5.1 had some bugs in this area, most appear to have been fixed with v5.5)
Hi and thanks.
Its not disappearing rules that is the problem.
In the new vApp ALL the VMs geta NAT rule.
I want only one VM to have a NAT rule.
I would rather not have to resort to the REST API, and I know it could fix this but I'd like the vApp object to be repeatable.
Thanks, Andy.
when a vapp network which has nat enabled is deployed, I think we automatically check if there is a NAT on the primary NIC interface. if not, then we auto-map one. In this sense I think this is normal operation during the deployment phase.
you might be able to create 2 vapp networks, one for internal and one for external, do the manual mapping for the one VM and then don't even connect the other externally.