How to automate the cisco ACI APIC initial config running on UCS C-series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2019 12:54 AM
Hi Experts,
I am looking for thoughts on how to automate the Cisco APIC initial configuration which is running on Cisco UCS C-series servers.
As you might know when the controller boots up this is what it get displayed (snapshot below) & I need to automate the process...Any thoughts on what are ways can this be achieved ?
Thanks
Zulfi
- Labels:
-
Python SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2020 05:28 AM
Hello @zulfikhar_a
There is no easy way to do it. I mean, you can do it, but it would be quite challenging from the following perspectives:
+ different train releases might have different (additional) questions
+ depending of the choices you have, you will have different prompts (APIC-X. standby APIC, IPv6 oob etc
+ this is one time configuration for 99.9% of the fabrics.
If you still want to go for it, what comes to my mind is: use pexpect to ssh to UCS-C shell, then connect to APIC CLI using Serial over LAN connection, and from there you just respond to questions.
Hope it helps,
Sergiu
