Applying different configurations for different IOS-based platforms
in some cases, the same "logical" configuration is applied differently across several IOS or IOS-XE platforms. For example, on some platform you can create subinterface, on some others you will have to create service instances and BDI or vlan interfaces etc.
The question is - what is the best way for a service (say Python-based) to find out what is the exact platform of the device configured with IOS NED and apply the right template accordingly?
Re: Applying different configurations for different IOS-based platforms
The best way in my opinion is using python mapping with templates. As you said, the configuration will be logically the same for all platforms - you define the variables which represent your service and push those variables to the template. So you can use the same template (same xml file) for all platforms and it would look something like this:
Template engine will know based on the device you push to the template ($DEVICE variable) what kind of platform it is, and then based on the namespace (e.g. http://tail-f.com/ned/cisco-ios-xr), apply the correct configuration for the right device type.
Want to run both python2 and python3 packages at the same time? Maybe you don't want to upgrade all your python2 services at the same time? With some small changes to the "ncs-python-start-vm" script you can. While you are at it maybe you would like...
The official report from the ETSI Remote NFV API Plugtest as well as the 4th Plugtest events have now been posted:
Here is a list of all the NSO Developer Days 2019 presentations. Each video has a link to the respective NSO Developer Hub post with slides and details.
Keynote: Dr. Marcus Hacke, Founder & CEO of ngena
NSO and the Orange Internationa...
Here is a list of links related to Rakuten's new all-virtual mobile network
Reimagining the End-to-End Mobile Network in the 5G Era (Cisco whitepaper 2019-06)
How the world changed: Cisco CEO on Rakuten's new mobile network (Rakuten.today 2019-06-26)
Abstract: Telindus, SURFnet and T-Mobile share their outcomes of different automation strategies. How to go above and beyond the traditional way of networking to experience the thrill of foiling. The thrill to master core and B2B connectivity servic...