08-16-2021 02:56 AM
Hi all,
I'm having a L3VPN service with python template. I'm trying to implement some actions to an external system based on the operation and commit status of my service.
For example:
- If service is created and the commit is successful -> action A
- If service is modified and the commit is successful -> action B
- If service is deleted and the commit is successful -> action C
I know that I can get the create/update/delete info from the "op" argument in pre_modification or post_modification functions inside the service python code. But those functions can't distinguish between a real commit and a commit dry-run.
Really appreciate if someone can recommend a solution to my problem.
Solved! Go to Solution.
08-16-2021 05:01 AM
08-16-2021 05:01 AM
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: