cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
415
Views
0
Helpful
0
Replies

Cisco NSO status

GabrielNad72596
Level 1
Level 1

CISCO NSO 5.5.6.1 version

GabrielNad72596_0-1676841583201.png

How can I catch different statuses in NSO? Create, modify, or delete status in python code?

with ncs.dp, _ncs.dp, or other?

I am using this action and I trying to catch statuses that create, modify and delete ... 

@Service.pre_modification
def cb_pre_modification(self, tctx, op, kp, root, proplist):
    pass

operation - - Type of operation (CREATE, UPDATE, DELETE)

I would like to create a service history of when was service created, modified, or deleted.

Please send me some recommendations, hint, and note on how can solve this problem.

Thank you. Gabriel

 

 

0 Replies 0