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.
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?
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...
Hi all,I read that you can automatically build a NETCONF NED starting from device Yang models.Is this possible also for the case of a device that only supports a RESTCONF mgmt interface?RegardsOscar
We have the following problem:We have a service "service1", with a Yang model with a list that has multiple keys. Other services have to leafref to "service1" instances. On those services we can build leafrefs to each key in "service1", and we have t...
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!