cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
971
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.


Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

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