cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
137
Views
5
Helpful
1
Replies
Highlighted
Cisco Employee

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

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
Cisco Employee

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

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).

 

 

1 REPLY 1
Cisco Employee

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

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).