Callbacks, Hooks, and other APIs

How do I delete children first (sil-delete-children-first)?
If the client deletes a container of list entries, then the server will normally only invoke the SIL callback for deletion for the container. It may be eas...
Fri, 3 May, 2019 at 10:05 AM
How do I access datastore from SIL callbacks?
This article describes how to access some specific node from a SIL callback or any other transaction callbacks. For SIL-SA support refer to the following a...
Wed, 19 Aug, 2020 at 4:23 PM
How to distinguish what datastore configuration is in progress in SIL?
The information about the current datastore configuration in progress can be found by accessing Transaction Control Block. If your callback provides msg...
Thu, 31 May, 2018 at 11:09 AM
How do I use sil-priority?
It is possible for the client to send several edits within a single <edit-config> or <copy-config>request. Sometimes it is useful to make sure ...
Thu, 24 Feb, 2022 at 6:38 PM
Can I reverse SIL priority for delete operations?
It is possible for the client to send several edits within a single <edit-config> request. Sometimes it is useful to make sure certain data structures...
Thu, 24 Feb, 2022 at 6:35 PM
How do I find a module pointer?
If you are developing code in the SIL code, the module usually is getting loaded to the server during the Initialization Phase 1 before the startup configur...
Mon, 2 Apr, 2018 at 4:18 PM
GET2 callback differences for Subtree and XPath filtering requests
The server handles XPath and Subtree filtering requests differently, it follows slightly different code path due to the XPath filtering extra complexity tha...
Tue, 19 Nov, 2019 at 3:29 PM
How to navigate up and down in val value tree?
Let us go through simple examples that will illustrate how to use val value tree and how to navigate up and down in this tree. First we need a YANG modul...
Thu, 16 Apr, 2020 at 12:01 PM
How do I use Session Hook callback?
The Session Hook callback function is a user callback that is invoked when a session starts and ends. This callback is invoked before any data structures a...
Thu, 9 Jul, 2020 at 11:51 AM
How to get keys in SIL-SA edit callbacks?
This article describes how to get ancestor and local keys in the EDIT callbacks. However, this is only when you made your SIL-SA code with out --split param...
Thu, 24 Feb, 2022 at 6:30 PM