YANG libraries - libyang and libnetconf2. The Netopeer2 server uses sysrepo as a NETCONF datastore implementation. In
OpenIL-V1.7, version v0.7-r2 was used. It allows developers to control their devices via NETCONF and operators to connect to
their NETCONF-enabled devices.
Figure 20. High level architecture of Netopeer and sysrepo
6.2.2 Sysrepo
-based configuration and operational state data store for Unix/Linux applications.
Applications can use sysrepo to store their configuration modeled by provided YANG model instead of using e.g. flat configuration
files. In OpenIL-V1.7, version v0.7.8 was used. Sysrepo will ensure data consistency of the data stored in the datastore and
enforce data constraints defined by YANG model. Applications can currently use
access the configuration in the datastore, but the support for other programming languages is planed for later too (since
sysrepo uses
as the interface between the datastore and client library, writing of a native client library
for any programing language that supports GPB is possible).
For information about sysrepo, see:
http://www.sysrepo.org/static/doc/html/index.html
6.2.3 Netopeer2 server
Netopeer2 software is a collection of utilities and tools to support the main application, Netopeer2 server, which is a NETCONF
server implementation. It uses libnetconf2 for all NETCONF communication. Conforming to the relevant RFCs2 and still being
part of the aforementioned library, it supports the mandatory SSH as the transport protocol but also TLS. Once a client successfully
connects using either of these transport protocols and establishes a NETCONF session, it can send NETCONF RPCs and the
Netopeer2 server responds with correct replies.
The following set of tools are a part of the Netopeer server:
• Netopeer2-keystored as a tool for the storage and process of keys.
• Netopeer2-server as the main service daemon integrating the SSH/TLS server.
6.2.4 Netopeer2 client
Netopeer2-cli is a CLI interface that allows you to connect to a NETCONF-enabled device and obtain and manipulate its
configuration data.
NXP Semiconductors
NETCONF/YANG
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
74 / 199