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 team,
I have a python service template in NSO that builds BGP VRFs on IOS-XE routers. The code creates the BGP address family object, using "root.devices.device[service.hostname].config.router.bgp[local_as].address_family.with_vrf.ipv4['unicast']....
I am trying to run a python script through the root crontab on a VM that hosts a system-install of NSO. The script relies on the ncs python module, and works correctly when executed directly through the CLI, both from my own user account and after do...
Unfortunately this isn't an ideal solution for this situation. This service creates BGP VRFs and all the associated configuration. If someone adds manually configured prefix limits or network statements to the VRF and I do a "service re-deploy reconc...
You can execute generic operational commands on an NSO managed IOS device using the "live-status exec any" command. The README file for the cisco-ios-cli NED has a section detailing the syntax for this command.
No, I specified the full path to the python binary in the crontab entry.
0 4 * * * /bin/python3 /home/tcragg/remove_keeper_duplicates.py
If I run "/bin/python3 /home/tcragg/remove_keeper_duplicates.py" directly on the CLI, it works.
Based on that error message, it looks like you may be trying to create the address-family configuration under a different BGP AS number than the one that is already configured on those routers. Can you confirm whether the existing BGP ASN on those ro...