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.
Hello,Is it possible to have a leaf with leafref as a type that point to multiple path based on a condition.For example :when "/ncs:devices/ncs:device[ncs:name=current()/../device]/ncs:config/ios:interface/ios:GigabitEthernet/ios:name and ../interface = '...
Hello,Is it possible to display the devices that belgons to two device-group in the same time. For exemple I have a device-group that contains [ dev-1 dev-2 dev-3 dev-4 dev-7] and another device-group that contains [ dev-1 dev-3 dev-4 dev-5 ]. When ...