Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
When commiting a transaction, NSO 6 could find a conflict, and apparently in the CLI it returns the following:
Aborted: Transaction 28916744 conflicts with transaction 28915267 started by user admin: 'devices de vice TC2471-LAB-01 config interface Bu...
Currently is there a way to access/read service metadata from Java/Python APIs?
We have to find service instances that are not fully reconciliated, from a large list of service instances.
Any suggestions?
Hi all,We have the following NSO “performance related” conceptual doubt: We need to do re-deploy no-networking of a large set of service instances. We have two scenarios: 1) Single transaction involving a large set of service instances, for example:(...
As far as I know, all CLI operations are logged to audit.log. That includes service modification, and executing NSO actions.However, if this operations are done using the webui, I don't find a way to audit log these operations.There is an ncs.conf se...
HelloWe have to do "commit reconcile" on a set of NSO services from python. We are using:1) We open a write transaction "t"2) We do touch in one or several service instances:root.services.xxx.touch()3) We do commit reconcile:cp = ncs.maapi.CommitPara...
Thanks! that works, here is an example:
import ncs.maapi as maapiimport ncs.maagic as maagicm = maapi.Maapi()m.start_user_session('admin','system')t = m.start_write_trans()root = maagic.get_root(t)
val = _ncs.maapi.get_attrs(m.msock, t.th, [0x8000000...
This is audit.log after doing a "re-deploy dry-run" from GUI:<INFO> 18-Nov-2021::10:41:41.565 nsod-ap01 ncs[10752]: audit user: admin/0 logged in via webui from 172.28.44.143:58380 with http using local authentication<INFO> 18-Nov-2021::10:41:41.566 ...
no errors apparently. devel.log and python service log show cb_create() runs...so the touch+commit works, but is not doing the reconcile stuff. Will open a TAC case. In case you have any other suggestion, it will be welcome!