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

NSO Action with Python

Siliano
Level 1
Level 1

Hi all,

is it possible to terminate the execution of an Action and execute a task immediately afterwards?
I'm working on an Action, the task is to retrieve some information by executing a REQUEST on a remote server and perform an update to the CDB with the data obtained.

I'd like to terminate the Action once I retrieve the data, use them (like printing on terminal) and then perform the CDB update using maapi API (as if it were a separate action).
Actually the Action terminates after the CDB update (that requires too much time), any solutions?

 

1 Reply 1

cohult
Cisco Employee
Cisco Employee

Anything can be done in code, but you likely want to use a NED instead of an action to do what you describe.

Polls
AI-powered tools for network troubleshooting are likely to be part of everyone’s workflow sooner or later. What is the single biggest challenge or concern you see with adopting these tools in your organization?