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

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

1 Accepted Solution

Accepted Solutions

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

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

could you pls point me in the direction of the documentation

Thanks

Regards

Yale

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

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/