datacenter / acitoolkit

A basic toolkit for accessing the Cisco APIC
Other
350 stars 266 forks source link

Add option to speficy tenant #308

Closed sig9org closed 7 years ago

sig9org commented 7 years ago

Changes

Examples

Without tenant option

$ ./aci-show-contexts.py
Tenant         Context
-------------- ---------
common         copy
common         default
infra          overlay-1
mgmt           inb
mgmt           oob

With tenant option

$ ./aci-show-contexts.py --tenant mgmt
Tenant         Context
-------------- -------
mgmt           inb
mgmt           oob