cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
868
Views
5
Helpful
1
Replies

Is it possible to pick up changes to cb_create() without reloading packages?

tcragg1
Cisco Employee
Cisco Employee

Is there a way to make NSO pick up changes made in the cb_create() method for a python service package without having to do a "packages reload"? A "python-vm stop name <<package-name>>" does not seem to trigger the changes being picked up.

1 Accepted Solution

Accepted Solutions

gmuloche
Cisco Employee
Cisco Employee

Hello,

 

if you have changes only to the code like you describe you can use

packages package <package-name> redeploy

And it will work. Please note that it does not work for YANG model changes (need to recompile and packages reload) nor for change in XML templates (packages reload needed as well).

 

 

View solution in original post

1 Reply 1

gmuloche
Cisco Employee
Cisco Employee

Hello,

 

if you have changes only to the code like you describe you can use

packages package <package-name> redeploy

And it will work. Please note that it does not work for YANG model changes (need to recompile and packages reload) nor for change in XML templates (packages reload needed as well).