Recently I installed NSO in few customers environments and I thought it would be helpful to automate the installation procedures instead of repeating it each time or PoC.
So I wrote Ansible module that take three inputs from user and take care of the rest
This is the name of NSO downloaded package (example: nso-4.4.linux.x86_64)
Where you uploaded this package in linux server(example: /root/)
The location of instantiated project from NSO installation (example: ncs-run or access_project)
Once you run the module (locally or via remote host), it will prepare the linux machine first with some settings (like disable selinux and firewalld services, install correct java version, update the cache..etc) then customize the bash profile with ncsrc file and finally install and run the NSO at the end
to run it, simply execute the below command on host that has ansible package installed
if you need to run it in verbose mode to see the exact running commands, then add few "vvv" to the command
#ansible-playbook nso_demo.yml -vvv
Please share any other ideas to automate the installation or NSO configuration.
Hi all, I'm experiencing a strange NSO Device Templates behavior. Hope you can give me guidance.
The scenario is straightforward, customer wants to deploy a qos policy, using NSO templates. Configuration works fine in both netsim and physical device and l...
I have an NSO production installation ad a sibling one devoted to test and integration. I use to compile the new packages in the production environment as part of the deployment procedure. I see it is possible to load a new package already compiled, ...
I need to execute a block within my xml template if and only if, the interface is shutdown(in the config not live-status).This test shows the existence of the conditionadmin@ncs# show running-config devices device iosxr-r3 config interface Bundle-Ether 18...
I am new to NSO development, I am having trouble with compiling MIBs for creating SNMP NED package for certain devices. I am trying to get the ARP table from the device.As per my understanding from NSO documentation, i have to get the MIBs corresponding t...
I know how to do fetch of ssh host keys for a device from NSO CLI or using RESTCONF API.
Is it possible to do fetch of ssh host keys from within the python part of a service, i.e. in the myService/python/myService/main.py?
Looking at this one: https:...