cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
236
Views
10
Helpful
4
Replies
Highlighted

NSO services that does not save

Hi all,

 

i'm trying to create a service in python that when called kick off a bunch of cli commands (not config) eg show run

then outputs are saved in files not the cdb.

 

i don't what to create a service instance each time i call the services only to have to delete it

eg don't even want to give it a name

 

what do ppl suggest

 

Thanks

Regards

Yale

 

PS must be do with Python not java

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Cisco Employee

Re: NSO services that does not save

Hi,

 

To answer your question, I also created this blog at my previous job for NSO actions basics:
https://www.networktocode.com/blog/post/NSO-tips-and-tricks/

View solution in original post

4 REPLIES 4
Highlighted
Cisco Employee

Re: NSO services that does not save

It sounds like an action to me, so I would suggest looking into that.
Highlighted

Re: NSO services that does not save

could you pls point me in the direction of the documentation

Thanks

Regards

Yale

Highlighted
Cisco Employee

Re: NSO services that does not save

I would start with examples.ncs/getting-started/developing-with-ncs/2-actions-py but this is also covered in the development guide (under Python VM there is a sub-sub chatper called “Action Requests”).
Highlighted
Cisco Employee

Re: NSO services that does not save

Hi,

 

To answer your question, I also created this blog at my previous job for NSO actions basics:
https://www.networktocode.com/blog/post/NSO-tips-and-tricks/

View solution in original post