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...
Mon, 21 Nov, 2022 at 2:36 PM
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, 24 Feb, 2022 at 7:02 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...
Thu, 24 Feb, 2022 at 6:56 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, 21 Nov, 2022 at 4:17 PM
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...
Fri, 14 Jan, 2022 at 9:48 AM
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