Hi everyone,I have a problem with the copy_tree() function.It works when trying to copy configuration from one port to another port or from one lag to another lag, but it doesn't work with services. in the example below I try to copy configuration fr...
Hi everyone, I have to retieve configuration from a device and push it to another device in a python action :So I used the mappi library in writing mode :with ncs.maapi.Maapi() as m: with ncs.maapi.Session(m, 'admin', 'python'): with m.start_wr...
Hi everyone, I have 3 questions : 1 - SYSLOG : how can i use syslog to detect that a port of a router was switched from up to down (unplugged) and send this syslog to NSO ,this one launch a python script (python action)? can i use syslog-ng ? 2 - Mon...
Hello I'm facing a problem when I try to do a "package reload"Error: Operation failed because: Cannot do data model upgrade when commit queue has items. Any idea how can I resolve this problem ? Thanks in advance
Hello, I'm facing a problem while trying to sync-from a netsim device.when I tried to list sessions that exist I didn't find this session (195579)admin@ncs-rfs# whoIs there any solution to force a sync-from ? Thanks in advance.
In the documentation, I foundd that the source path of copy_tree() method should be formatted, Do you have any example to do this ? Documentation bellow :int maapi_copy_tree(int sock, int thandle, const char *from, const char *tofmt, ...); This funct...
Thanks yfherzoa for your reply,My code respect this two things that you mentioned, sorry for the error in the post.Yes exactly i want to copy data from one path (device1) to another path (device2)