sysrepo  2.12.0
YANG-based system repository for all-around configuration management.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Getting Data

Retrieving data from Sysrepo is simple and flexible. The selection is specified using XPath 1.0 language. Accepted expressions are limited only by libyang implementation, which means almost everything is supported.

When reading data, it is important to select the right datastore in the session used. Be aware that every call of these functions can simply return a copy of cached data at best (caching mentioned in connections) or it can request some subtrees from one or more applications that will need to provide them for the operational datastore.

Lastly, be aware that all data are modified by the prepared changes in the session, if any.

Getting Data API