cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
1039
Views
0
Helpful
1
Replies

Postman XML two commands in one script

maamann
Level 1
Level 1

Hi

maybe someone could give me a hint how to solve this problem.

I would like to start an upgrade for two maintenance groups  at the same time with a postman script .

I have the following script so start one of my Maintenance Groups

<maintMaintP
adminSt="triggered"
descr=""
dn="uni/fabric/maintpol-MG_SPINES_EQ"
graceful="no"
name="MG_DEK_SPINES_GERADE"
runMode="pauseOnlyOnFailures">
</maintMaintP>

 

so i just thought that i can add the same command set one more time in the same script modify the Maintenance Groups to my second and it works , but thatĀ“s not the case. :-(

i would appreciate some help to solve the problem.

Regards Markus

1 Accepted Solution

Accepted Solutions

stcorry
Cisco Employee
Cisco Employee
Hello Markus!

You can send two objects at the same level if you include them in their parent objectā€¦

You should be able to find the parent object from Visore. Wrap your ā€˜double configā€™ example with the parent XML/JSON and you should be able to trigger both at the same time.


View solution in original post

1 Reply 1

stcorry
Cisco Employee
Cisco Employee
Hello Markus!

You can send two objects at the same level if you include them in their parent objectā€¦

You should be able to find the parent object from Visore. Wrap your ā€˜double configā€™ example with the parent XML/JSON and you should be able to trigger both at the same time.


Review Cisco Networking for a $25 gift card

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