Hello,
I'm using Cobra to deploy configuration in ACI and read basic objects. Basically, everything that is directly accessible by lookupByDn.
However, I'm struggling to get the list of EPGs for a specific frontpanel port.
The GET request looks like this: https://{{aci_ip}}/api/node/mo/topology/pod-1/node-1101/sys/phys-[eth1/3].json?rsp-subtree-include=full-deployment&target-node=all&target-path=l1EthIfToEPg
I can't figure out how to write this query in cobra and how to get the data from nested child objects.
I'd appreciate if somebody could walk me through the porcess or point me to some more advanced examples.
Thank you
Dirk
Hello,
I'm using Cobra to deploy configuration in ACI and read basic objects. Basically, everything that is directly accessible by lookupByDn.
However, I'm struggling to get the list of EPGs for a specific frontpanel port.
The GET request looks like this: https://{{aci_ip}}/api/node/mo/topology/pod-1/node-1101/sys/phys-[eth1/3].json?rsp-subtree-include=full-deployment&target-node=all&target-path=l1EthIfToEPg
I can't figure out how to write this query in cobra and how to get the data from nested child objects.
I'd appreciate if somebody could walk me through the porcess or point me to some more advanced examples.
Thank you
Dirk