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.
Hi,
I'm interested in how would you connect to quagga router using ssh from NSO? So quagga runs multiple daemons for each functionality it provides (bgpd, ospfd, zebra..), and these daemons are accessible on their associated telnet ports, so I can ...
Hi,I have a small issue with the current NED for paloalto PAN-OS. It seems it has been written for older versions, I am using PAN-OS 8.0 and there are couple of inconsistencies between the NED and the device, but so far I was able to add and fix ever...
Hi all,When traversing the model tree, Maagic API (or Maapi underneath) stores all data in a cache, if there's alot of devices with bunch of configurations on them in NSO, and we're doing some complex operation where we have to go through most of the...
Hi!I'm using python to get all attributes of a node which are configured on a device.For example, I have a routing instance on Juniper device which is a List, and I want to get all the attributes which are configured on that node (interface, policy, ...
Hi,from _ncs.maapi docs tokey argument is a list of confdValues.So try creating the Value object first and use that when calling move method. E.g ...
_new_device = _ncs.Value('new_device', _ncs.C_BUF)
m.move(t.th, [_new_device], old_device._path)
t....
You can find it documented in the $INSTALL_DIR/doc/api/python/_ncs.maapi.html.There are no examples for python though. This is the definition:copy_tree(sock, thandle, frompath, topath) -> Nonesock will be handled when calling the function on existing...
2 things come to my mind, maybe the keypath string is not correct, try printing it out and examine if it's correct, or the transaction wasn't applied E.g. t.apply() ?
Hi, the error you got is telling you that the ListElement with key value 2/2/2 that you're referencing, doesn't exist in the CDB.You could go and create it beforehand with create() methodroot.devices.device[_input.device1].config.alu__port[2/2/2].cre...
Simple as that I've added /usr/bin/vtysh as the shell for my user inside /etc/passwd. Works as expected.
Thanks for pointing me in the right direction.