05-19-2022 05:52 AM
How can I get all interfaces from a specific Cisco ACI Node (Leaf and Spine) from API?
I can get all interfaces from all nodes with the following URL, but not for a specific node.
/api/node/class/l1PhysIf.json?&order-by=l1PhysIf.modTs|desc
Can you please help me?
Thank you.
05-19-2022 08:52 AM
@3bruno In an API operation to access an MO on a specific node device in the fabric, the resource path consists of /mo/topology/pod-number/node-number/sys/
followed by the node component. For example, to access a board sensor in chassis slot b of node-1 in pod-1, use this URI example to get physical interface statistics
api/node/mo/topology/pod-1/node-101/sys/phys-[eth1/1].json
Hope this helps.
02-01-2024 07:04 AM
Has this been resolved?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide