06-12-2018 03:38 AM - edited 03-01-2019 04:11 AM
It will be awesome if all the flags of apply can be listed out
x=root.services.nso_acl_python
x.delete()
trans.apply()
I am not able to figure out the flag to be used in apply to perform commit with no-networking and no-out-of-sync check.
Thanks
Solved! Go to Solution.
06-12-2018 05:12 AM
Hi,
the way we use it is using low level api,
for no-networking it's
trans.apply(True, _ncs.maapi.COMMIT_NCS_NO_NETWORKING)
for no-out-of-sync
trans.apply(True, _ncs.maapi.COMMIT_NCS_NO_OUT_OF_SYNC_CHECK)
more commands are listed in pyapi folder in the file gen_add_maapi_const.c
Simon
06-12-2018 05:12 AM
Hi,
the way we use it is using low level api,
for no-networking it's
trans.apply(True, _ncs.maapi.COMMIT_NCS_NO_NETWORKING)
for no-out-of-sync
trans.apply(True, _ncs.maapi.COMMIT_NCS_NO_OUT_OF_SYNC_CHECK)
more commands are listed in pyapi folder in the file gen_add_maapi_const.c
Simon
06-12-2018 05:15 AM
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide