cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
561
Views
0
Helpful
2
Replies

Is there an ACI API call to get the serial number of the target APIC?

miriamc
Level 1
Level 1

 ACI have a JSON list of APIC FQDNs: [ "apic1.fabric1.test.net", "apic2.fabric1.test.net", "apic3.fabric1.test.net", "apic1.fabric2.test.net", ... ]  I can step through that list and login to each APIC and get the list of APICs in that fabric's controller cluster.  By comparing cluster members, I can then figure out which APICs belong to which fabric.  What I can't seem to find is an API call to tell me what the serial number is of the APIC I am currently connected to.   Anyone got any ideas?

2 Replies 2

Ruben Cocheno
Spotlight
Spotlight

@miriamc 

I can capture that via ansible

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/

mfr-6
Spotlight
Spotlight

hi @miriamc 

I believe you can get that information by issuing "acidiag verifyapic" command on a APIC that you are connected to.

I don't think there are classes in MIT that are hardware specific so result will be different on a different nodes you are quering.

Mateusz Frak NetDevOps | DevNet | Automation
Please mark this post as helpful if it solves your issue, to make this visible for other users, thank you!