VMware Cloud Community
monderick
Enthusiast
Enthusiast

exporting firewall/NAT rules from Edge Gateway

Anyone using a powerCLI script to output firewall/nat rules for Edge Gateways (ver 5.1.2) configured on Org VDC networks for documenation purposes?

I've been able to pull plenty of information using the vCloud Director Snapin but these specific objects elude me, thanks.

0 Kudos
3 Replies
ysandfort
Expert
Expert

What I found is this blog: http://geekafterfive.com/tag/vcloud-director/

But that didn't work for me, I get an error saying: "The remote server returned an error: (406) Not Acceptable.", maybe it's because the script is for 1.5

comdivision consulting GmbH (www.comdivision.com) is a germany based Solution Provider. We provide specialised knowledge and solutions around licensing, troubleshooting and performance tuning. Our team of award winning trainer's and consultant's which are happy to help you educate your users and customers. comdivision consulting is proud VMware partner of the Management & Zimbra Lighthouse program
0 Kudos
monderick
Enthusiast
Enthusiast

anyone find a method for doing this?

we're planning an upgrade to 5.5 soon and would love to have an automated accurate export of our NAT/firewall rules.

thanks

0 Kudos
avarcher
Commander
Commander

I changed the $netconf.type to "application/*+xml;version=1.5" and it worked.

0 Kudos