In the Previous articles of ACI Automation, we are using Postman/Newman as the Rest API tool to automate the ACI Configuration.
In this article I’m going to discuss on using Python programming language to automate. The benefit of using Python programming as the Rest API tool is when there is logic or condition that you need to apply while perform the ACI configuration. Python can do the same provisioning capability as Postman/Newman.
First, we’re going to discuss on how to setup Python and Arya. After that, we going to configure simple Tenant in ACI.
1. Verify Python Installed
I would assume that you already have Python installed.
To verify that you have python installed:
# python -V
2. Download the acicobra and acimodel
Acicobra – This is the SDK
Acimodel – This includes the Python packages that model the ACI Management Information Tree (MIT)
To download this, open your APIC and add the following path
Example the APIC IP Address is 10.10.10.10 (change this to your APIC IP address):
Hi ACI professionals,I configured an inband IP address to my APIC.However, the inband IP is only reachable if the leaf node where the APIC is connected has an inband management IP address as well.I configured the pervasive gateway IPv4 address to the "inb...
Hi All,I faced a very strange issue and I am trying to dig down the exact cause for this. I had deployed new servers and connected them to a stack of 3850s. I tried creating a port-channel and the limitations of server prohibited me from doing so. I then ...