Welcome to DEVWKS-2551 Empowering Network Automation, Practice NSO with Python
On this file you can find the instructions to work during the workshop. However, you can try the exercise presented here at any time using the Cisco Cloud IDE Run it! button on the top left corner.
For reference, you can find the info shared on the workshop under the NSO Python API markdown file.
Setup the environment
Setup the environment required for the lab.
cd~/src/DEVWKS-2551/
make
Note
If you receive an error during the setup, enter make again. If there are too many issues, reset the environment.
This exercise was developed using the official NSO container. The compose file used for development is kept for reference and is not part of the workshop.
Useful commands
Access netsim cli device.
ncs-netsim cli-c core-rtr0 --dir ~/src/workshop/netsim
show running-config hostname
Use show commands using live-status on NSO.
devices device core-rtr0 live-status exec show running-config hostname
Redeploy the router packages for changes on python code or templates files.
Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer: Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.