netopeer2 icon indicating copy to clipboard operation
netopeer2 copied to clipboard

Clarification on Callback Registration Order and Mechanism

Open pnayek8470 opened this issue 10 months ago • 1 comments

I need clarification on how callbacks are registered and managed in Netopeer2 when using Sysrepo 3.3.10. Specifically, I would like to understand:

Mechanism of Callback Registration: How does Netopeer2 handle callback registration internally when interacting with Sysrepo? Execution Order: If multiple callbacks are registered for the same module or different modules, in what order are they executed? Priority Handling: Does Netopeer2/Sysrepo provide any mechanism to set priority for callback execution? If yes, how does it work?

pnayek8470 avatar Feb 12 '25 07:02 pnayek8470

This is all decided by sysrepo. Also, if you are referring to module change callbacks, netopeer2 does not register any.

michalvasko avatar Feb 14 '25 11:02 michalvasko