cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Python SDK handle.commit() Practice

BrettJohnson008
Level 1
Level 1

HI,

I'm working on an initial UCS manager configuration script for a client using UCSMSDK.

When using handle.commit(), is it a better practice to use handle.commit() for frequent small changes. Or less frequent larger changes?

For an example when creating multiple VLANS, a managed object is created for each VLAN and handle.add_mo() is used to stage the new mo. Would it be better to commit the new mo immediately or wait until managed objects have been created and staged and commit all the new VLAN mo's at once?

Who Me Too'd this topic