Re: UCS XML Api for listing FC ports with a given VSAN
Here is variant of a quick script I posted earlier. It should make it easier for you to experiment with the XML. Pay attention to the getfcvsan function I added. There are 2 options that I listed for classes you might want to try. The one I left it on will just return the FC ports with associated VSANs. The commented message will also return the parent information which is more information on just the VSANs.
The key XML for the requests being:
Simple Perl script:
$Data::Dumper::Purity = 1;
$Data::Dumper::Useqq = 1;
my $ucsm = "*.*.*.*";
my $user = "config";
my $pass = 'config';
my $proto = "http";
my $xml = XML::Simple->new();
my $xml_blade = XML::Simple->new(ForceArray => ['computeBlade']);
## Setup User Agent
my $ContentType = "application/x-www-form-urlencode";
my $userAgent = LWP::UserAgent->new(agent => 'perl post');
Topology & Design:
Two ACI fabrics
Stretching VLANs using OTV
Both fabrics are advertising BD subnets into same routing domain
Some BDs(or say VLANs) are stretched, but some are not.
Endpoints can move betwee...
VMware Trunk Port Group is supported from ACI version 2.1
VMM integration must be configured properly
ASA device package must be uploaded to APIC
ASAv version must be compatible with ACI and device package version
Topology &Design:Traffic flow within same fabric:Endpoint moves to Fabric-2Bounce Entry Times OutTraffic Black-holedSummarySolutionAppendix:
In the Previous articles of ACI Automation, we are using Postman/Newman a...