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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide