Callbacks, Hooks, and other APIs

Is there a Callback starter document?
These links should help you get started learning about programming with YumaPro APIs. Server APIs The API Quickstart has an overview of most th...
Wed, 25 Aug, 2021 at 10:02 AM
How do I use EDIT1 callbacks?
The following article illustrates how to utilize the EDIT1 callbacks in examples. The server supports 2 modes of database editing callbacks. The origina...
Thu, 5 Mar, 2020 at 3:49 PM
EDIT1 callback for Containers with default values
Problem: How can I differentiate a MERGE operation that creates a leaf from a MERGE that edits an existing leaf? When creating a container that has defa...
Tue, 4 Aug, 2020 at 1:22 PM
How do I use EDIT2 callbacks?
The server supports 2 modes of database editing callbacks.The original mode (EDIT1) is designed to invoke data node callbacks at the leaf level. This means...
Wed, 15 Sep, 2021 at 9:30 AM
How do I handle different YANG object types with EDIT2 callbacks and what values should I expect?
In this article we are going to use 3 EDIT2 callbacks registered for NP-Container, Presence Container, and a list.   container a-NPcontainer {      ...
Mon, 2 Apr, 2018 at 3:55 PM
How Hooks callbacks interact with EDIT2 callbacks?
Hooks callback interaction with EDIT2 callbacks (target=candidate) In case there are multiple Set-Hook  callbacks  registered and the callbacks add...
Fri, 22 Feb, 2019 at 10:34 AM
How do I return operational data?
Operational data is representing in YANG as a data node that has a "config" property of "false". The netconfd-pro server has 3 ways of ...
Mon, 1 Jul, 2019 at 10:31 AM
How do I use GET2 callbacks for a YANG container?
The following article illustrates how to utilize the GET2 callback in examples. Let us go through simple examples that will illustrate how to utilize the GE...
Mon, 2 Apr, 2018 at 4:00 PM
How do I use GET2 callbacks for a YANG list?
Consider this simplified example, that represents GET2 callback for the “interface” list.   ...   container interfaces-state {      config false;     ...
Mon, 1 Jul, 2019 at 11:28 AM
How do I use GET2 callbacks for a YANG choice?
Consider this simplified example, that represents GET2 callback for the node type of “choice”. ... choice type { case interface { // ...
Mon, 2 Apr, 2018 at 4:01 PM