06-10-2019 07:21 AM
Hello - I need help to get a script for Deploying Static EPG in VPC interface. The equivalent CLI configuration is below
vpc context leaf 2471 2481
interface vpc VPC-TO-APPSERVER
switchport trunk allowed vlan 200 tenant PROD application AP_SERVER epg EPG_DMZ_VLAN200_SERVER
switchport trunk allowed vlan 201 tenant PROD application AP_SERVER epg EPG_DMZ_VLAN201_SERVER
exit
This is my learning, but I am not able to get the right script for deploying the EPG in VPC. I have around 200 lines of CLI commands to achieve this.
1) I tried to download the xml file (configuration only) in the path Tenant--> PROD--> Application Profiles-->AP_SERVER->EPG_DMZ_VLAN200_SERVER. The output has only a line of XML header.
2) arya.py -f <filename>.xml -i 10.100.206.1 -u <credentials> to get the cobra scripts
regards,Sairam