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

Adding description with Postman on leaf node uplinks ports failing

Spam-Mail
Level 1
Level 1

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}}]\"}}}]}}"
 
 
 
 
0 Replies 0

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License