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

ACI REST Programming two Physical domain in one rest POST command

odahlqvist
Level 4
Level 4

HI

How do I do  put in two Physical domains or several in one POST command , i manage to copy and paste from the ACI api toll  tool

I tried this but its something here regarding the object model maybe is it even possible to put in more actions, one is ok and works but when I want to to one more it´s just do one and stops

Ex:

He will do the fist but not the second ?

{

  "fvRsDomAtt": [ {

  "attributes": {

  "tDn": "uni/phys-PhysDomain01-Static-Ports-Binding",

  "instrImedcy": "immediate",

  "resImedcy": "immediate",

  "status": "created"

  }

  }

  { "attributes": {

  "tDn": "uni/phys-PhysDomain06-Transit-Border-HA1-VPC-03",

  "instrImedcy": "immediate",

  "resImedcy": "immediate",

  "status": "created"

  }

  }

}

2 Replies 2

davbark2
Level 1
Level 1

As far as I know, it's not possible to specify more than one physical domain in a single POST.  After searching through many previous requests, I found nobody else that was trying to do this.

Sorry, but hope that helps,

Dave

Hi

Thanks

I have the same thought  even if my experience  is quiet new on this :-)

maybe the Python-way and ACI toolkit is for the way forward. Or tools where you can make a work like this

/Ola