Hi All,
I am trying to add interface descriptions on the uplink ports but the script is not running. The uplinks do not have interface selectors so I am taking my script on ACI Inspector when configuring it from Fabric>Inverntory>Pod>Leaf>Interface.
I have attached the CSV I am using. I have tried to run it without variables but it fails again.
Login Post:
Header: https://{{apic1}}/api/api/aaaLogin.json
Body:
{
"aaaUser" : {
"attributes" : {
"name" : "{{username}}",
"pwd" : "{{pwd}}"
}
}
}
Request Header:
https://{{apic1}}/api/node/mo/uni/infra/hpaths-{{LEAF}}_eth1_{{PORT}}.json
Body:
"{\"infraHPathS\":{\"attributes\":{\"rn\":\"hpaths-{{LEAF}}_eth1_{{PORT}}\",\"dn\":\"uni/infra/hpaths-{{LEAF}}_eth1_{{PORT}}\",\"descr\":\"{{DESC}}\",\"name\":\"{{LEAF}}_eth1_{{PORT}}\"},\"children\":[{\"infraRsHPathAtt\":{\"attributes\":{\"dn\":\"uni/infra/hpaths-{{LEAF}}_eth1_{{PORT}}/rsHPathAtt-[topology/pod-{{POD}}/paths-{{LEAF}}/pathep-[eth1/{{PORT}}]]\",\"tDn\":\"topology/pod-{{POD}}/paths-{{LEAF}}/pathep-[eth1/{{PORT}}]\"}}}]}}"