Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Cisco ACI - API Calls vs JSON POST https://howdoesinternetwork.

com/2019/cisco-aci-api-vs-json

HOW DOES INTERNET WORK

ALL  ABOUT THIS PROJECT 

ALL ARTICLES DATA CENTERS WITH CISCO DATA CENTERS WITH VMWARE IPV6

CONFIGURING NETWORK DEVICES NETWORKING TIPS & TRICKS

VOICE FUNDAMENTALS AND SECURITY SECURITY OF NETWORKS – ALL SECURITY

ROUTING SWITCHING

PROTOCOLS – ALL GREAT NETWORKING PROTOCOLS ARRANGED AND EXPLAINED BOOKS

 ABOUT THIS PROJECT

ALL ARTICLES INDEX

Cisco ACI – API Calls vs


JSON POST ▪ Index
 Valter Popeskic  Data Center with Cisco , Software De�ned ▪ Fundamentals
Datacenters  1 Comment
▪ Troubleshooting
▪ Con�guration
API CALLS METHOD
▪ Software De�ned
The fancy way of con�guring Cisco ACI Fabric is by using Python
Datacenters
script for generating API calls. Those API calls are then used to
con�gure Cisco ACI by pushing those calls to APIC controller ▪ Data Centers with
using POSTMAN (or similar tool). Con�guration changes done this VMware
way are those that you are doing often and without much chance ▪ Data Centers with
of making mistakes. Cisco
▪ Routing
You write a Python script and that script will take your
con�guration variables and generate API call that will con�gure ▪ Switching

1 of 7 27-06-2022, 13:02
Cisco ACI - API Calls vs JSON POST https://howdoesinternetwork.com/2019/cisco-aci-api-vs-json

the system quickly and correctly every time. ▪ Security


▪ IPv6
The thing is that you need to take the API call example and use
Python to write a script that will recreate that API calls with your ▪ Protocols
variables of con�guration and do that correctly. You need to know ▪ Voice
to code in Python and you will need a certain amount of time to
▪ Devices
write that script.
▪ Networking Tips & Tricks

POST JSON FILE METHOD ▪ About this project


▪ About the author
If you are making some initial con�guration of ACI Fabric and you
need to create 50 Bridge domains, or you need to quickly add ▪ Books
200 host routes to some EPG it will be slow to make those con�gs
by clicking through the GUI but writing Python script which will
generate API call for that con�g will surely take a lot of time too.
This is true if you do that kind of con�g for the �rst time and you Search the site
don’t have that script ready.

The reasoning about this is that it is worth to write the script if the Search
con�g mentioned will be used all the time, so you spend more
time in the beginning to write the script and then every next time
this script will do the job for you. But if it is a con�g that will be
used once a year then maybe it isn’t worth the time you will
RELATED POSTS
spend on that script creation and POST of JSON will do.
What is Cisco ACI?
THE DIFFERENCE
Software-de�ned data
The thing to note is that by using API calls as a method you are center and what’s the way
able to add, edit and delete objects inside ACI con�guration and to do it
POST of JSON will only enable you to add missing objects and it
will not be able to delete stu�. CLOS Topology

Cisco ACI – Con�guring by


 If you want to know more about how to use JSON con�g POSTing JSON
POSTing in ACI read further here.
VMware TKGI –
RELATED POSTS: Deployment of Harbor
Container Registry fails
Cisco ACI – Con�guring by POSTing JSON with …

New ACI deployment? Watch out when connecting APICs Setting up Cisco ACI From
to Leafs Scratch

Con�guring MACsec Encryption How to Advertise a Route


from ACI Layer2 BD
Data Centers with Cisco Outside …

Software-de�ned data center and what's the way to do it New ACI deployment?

2 of 7 27-06-2022, 13:02
Cisco ACI - API Calls vs JSON POST https://howdoesinternetwork.com/2019/cisco-aci-api-vs-json

Best Analysis Finalist – Cisco IT Blog Awards for 2019 Watch out when
connecting APICs to Leafs

ACI MultiPod – Enable


Standby APIC

VMware NSX-T Install Tips


One Response & Tricks

N
Nnnanna O
Obbub a DECEMBER 30, 2019
There’s really not much of a di�erence between using an API call
and posting a json �le..For deleting objects in ACI, you would
need to change the status of the object from “created,modi�ed”
to deleted in your json �le.
R
Reeppllyy

Leave a Reply
Enter your comment here...

This site uses Akismet to reduce spam. Learn how your comment
data is processed .

3 of 7 27-06-2022, 13:02
Cisco ACI - API Calls vs JSON POST https://howdoesinternetwork.com/2019/cisco-aci-api-vs-json

Remote Jobs
At Atlassian

Open

Make an
Impact
Atlassian

Open

BLOGROLL
▪ IPSpace.net Ivan
Pepelnjak’s great
networking blog
▪ Networkingwith�sh.com

4 of 7 27-06-2022, 13:02
Cisco ACI - API Calls vs JSON POST https://howdoesinternetwork.com/2019/cisco-aci-api-vs-json

Denise “Fish” Fishburne


will give you large
amounts of networking
knowledge there
▪ Welchlabs math video
blog Super interesting
thing to get through
▪ Khanacademy.org If your
math is good as mine,
this is the right plase to
visit :)
▪ CiscoLive365 If you want
to enjoy huge amount of
info from Cisco
conferences from your
couch
▪ YVETA ANNA
KROUPOVA i l l u s t r a t i
o n s Check out Yvette’s
great artworks
▪ Blog Webernetz.net
Great blog about all
things networking and
beyond
▪ The mountain echo If
you want to hike and
leave all those networks
far behind
▪ Jooble.org It’s a
networking job search
platform where you can
look at Cisco jobs and
many other
▪ blog.zuthof.nl Great
networking and tech
resource from my fellow
networker Daniel

5 of 7 27-06-2022, 13:02

You might also like