I am trying to right a script to configure a pair of leaves that will be used as a vpc pair. I would like to be able to create the switch profiles in a single API call (L105, L106, L105-L106). However, I can't seem to get it to configure all three. It will only configure the first one listed.
Is there a way to do this or do I just need to iterate over the nodes to create the profiles.
It is advisable to strip all unused object from your calls to keep them readable. Also try using name formatting for the objects you create (suffix/prefix) since this will greatly help you in the future with troubleshooting and such.