cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
282
Views
20
Helpful
2
Replies

How to call or ref. service xpath in device template? is it possible?

kiran kotari
Cisco Employee
Cisco Employee

Hi Team, 

When we create a new service template we need to do package reload which in production network we need to go for down time and run it, but that not the same for device templates. 

Do we have any mechanism to pass the service to the device templates to apply them? 

We tried using setting the below but not much help NSO is ignoring them. 

<?set-context-node {/services/my-service[id='test']}?>
1 Accepted Solution

Accepted Solutions

snovello
Cisco Employee
Cisco Employee

In newer versions of NSO when changing a service template or any python code, you only need to execute the 'packages package myservicepackage redeploy' action. This is much faster than packages redeploy, which is now only necessary when you change the yang part of the service.

 

The device templates don't recognize the processing instructions available in service templates.

View solution in original post

2 Replies 2

snovello
Cisco Employee
Cisco Employee

In newer versions of NSO when changing a service template or any python code, you only need to execute the 'packages package myservicepackage redeploy' action. This is much faster than packages redeploy, which is now only necessary when you change the yang part of the service.

 

The device templates don't recognize the processing instructions available in service templates.

It's available from NSO 5.7, is there any plans for minor releases too? 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community:

Recognize Your Peers