Network Automation and Orchestration using Cisco NSO
Cisco NSO Introduction
1. What is Cisco NSO and NSO Architecture
What is cisco NSO? It is a multi-vendor network automation and service orchestration software.
This section discusses the benefits and architecture of Cisco NSO.
Install cisco NSO version 6.0 and connect to network devices
2. Install Cisco NSO version 6.0 on Ubuntu 22.04
To install cisco NSO, I have already installed an ubuntu client system with version 22.04.
Let’s check the version of my Ubuntu.
3. cisco nso netsim to add devices in nso lab
After installing and starting Cisco NSO, we now need to prepare some network devices to be connected and managed through Cisco NSO.
Network devices for connecting to Cisco NSO can be physical, virtual, or NetSim simulator devices which is included in Cisco NSO software.
4. connect and sync nso to network devices
connect and sync cisco nso to network devices is what we will discuss in this section.
display and change network configuration via cisco NSO
5. show configuration vs. show full-configuration vs. show running-config in cisco nsoPreview
Now that are devices are connected and synced with cisco NSO, then the next step is to change the configuration of network devices through cisco NSO.
Changing the configuration of network devices and checking different version of configuration including “show configuration”, “show full-configuration” and “show running-config” in NSO is the topic of this section.
6. Cisco NSO rollback command
Cisco NSO rollback command enables version control in the network domain.
In other words, with Cisco NSO rollback command you can not only roll back the configuration of a single device, but also roll back the configuration of the entire network to some earlier versions.
7. Cisco NSO web GUI Introduction
Cisco NSO web GUI is another method for accessing and managing NSO.
In this section, we introduce Cisco NSO GUI components, especially those that we have discussed beforehand. we manage network devices through NSO GUI, we show and change the configuration, and finally we learn how to commit and roll back the configuration changes through NSO Web GUI.
NSO device Template and Network Automation
8. NSO device template to automate configuration
NSO device template is a feature for automating network configuration.
With this capability we apply a configuration template to a group of devices.
9. NSO configuration template with Variables
NSO configuration template with variables provide the ability to apply a single configuration template to many devices with different configuration data.
cisco NSO compliance check and report
10. NSO compliance report
NSO Compliance Report provides the capability to verify the compliance of a configuration across a group of devices and receive a report of non-compliant devices and any discrepancies.
cisco NSO live-status
11. Cisco NSO live-status feature
Cisco NSO live-status feature give the capability to monitor operational status of network devices execute any operational commands.
cisco NSO Service Template
12. Cisco NSO Service Template
Cisco NSO service template gives the capability to enable a service across devices and device types without giving any commands and just specifying the parameters of the service.
13. NSO Service Manager Example2
Cisco NSO Service Manager second example prepares configuration template from different device types and also uses more than one variable in the YANG data model.
14. Cisco NSO YANG Data Model
NSO YANG data model also gives us also the capability to model more complex data and data types.
In this section we see different data types supported by Cisco NSO in a slightly more advanced scenario.
15. NSO WEB GUI Part2
NSO Web GUI is another user interface for configuring and monitoring network devices.
This section shows you how to apply device templates and service templates to network devices using the Cisco NSO web GUI.
Cisco NSO python API
16. cisco nso python api
Cisco NSO Python API is one of the northbound interface methods for accessing and configuring network devices.
In this and the following sections, we discuss how to monitor and configure network devices using the Cisco NSO Python API.
17. nso python examples
NSO python examples are the topic of this section.
In the previous section, we started learning the python maagic library to navigate the configuration of network devices through cisco NSO.
In this section we will see some other practical python maagic code examples to show, change and delete configuration through Cisco NSO.
manage NSO via RESTCONF
18. cisco nso restconf examples with postman
Cisco NSO RESTconf examples with Postman are the topic of this section.
We will see the capabilities of the postman and how to connect to NSO via restconf to configure network devices.
19. cisco nso restconf with python
In this section, we will write python scripts that use the restconf protocol to connect to Cisco NSO and manage network devices.