ACI Query

Posting this to save it, using ACI’s APIC API (say that 3 times fast!) I figured out how to query for all endpoints in a Tenant, returning all information:

 

https://{{URL}}/api/class/fvCEp.json?query-target-filter=wcard(fvCEp.dn,”PROD”)&rsp-subtree=full

 

Replace PROD with the tenant, that’s a wildcard/regex match, so if tenant names are similar make it as unique as you can.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s