![ASIX AXM57104 Скачать руководство пользователя страница 37](http://html1.mh-extra.com/html/asix/axm57104/axm57104_user-manual_2982937037.webp)
37
Copyright (C) 2020 Reserved by ASIX Electronics Corporation, All Rights Reserved.
AXM57104
TSN Ethernet Switch PCIe Card User Guide
Reference Design User Guide
NETCONF Client: An application using Netconf protocol communication with NETOPEER2 NETCONF Server,
the data transport can be protected by SSH/TLS mechanism
NETOPEER2 NETCONF Server: The
NETOPEER2 NETCONF Server
is the part of main component of
Netopeer2 toolset. The NETOPEER2 NETCONF Server using GPB (Google protocol buffer) under Unix
domain socket communication with Sysrepo Engine
Sysrepo Engine: The main component of Sysrepo, management the
Data File
and
YANGs
, it contains
sysrepod, sysrepo-plugin, sysrepoctl and sysrepocfg
Application: Contain call-back function use for data transfer with Sysrepo using GPB (Google protocol buffer)
under Unix domain socket
Data file: the network management configuration file
YANGs: The data modeling language for the definition of data sent over network management protocol such
as the NETCONF and RESTCONF
8-3 Environment Setup
This chapter describes how to install whole environment for Netconf Framework.
The Netconf install folder is under “
(your BSP location)/Application/Netconf
”, below tree list show the folder
contains
.
├── Certificates
├── Configuration
├── Datastore_handler
├── Example_configurations
├── README.txt
├── RelyPackets
├── Service
└── Yang
Certificates: the certificate which using for Netconf data transfer between Netconf server and Netconf client
Configuration: the configuration data which will include into sysrepo
Datastore_handler: the data transfer bridge between AXM57104_service and sysrepo
Example_configurations: the example config file using to import/export with Netconf client
README.txt: descript the version of rely packets, and list the operation command
RelyPackets: contains the requirement of packets for set up the Netconf framework
Service: the bash commands to register daemons as system service
Yang: The IEEE 802 yang language model
The following step will descript how to install the Netconf Framework for datastore_handler, and show it how
to work with AXM27104_service and datastore_handler
8-3-1 Sysrepo
The sysrepo is the core of Netconf Framework, it can look as the local data store to save the config file for
CNC, the remote Netconf client get or set config file to sysrepo via Netconf server, the datastore_handler
monitor the target config is change or not, to decide pass the config parameter to AXM57104_service for the
next step. We use sysrepo version
0.7.7
for demo.
To build sysrepo, there are many rely packages needs install first and check the packets version, such like:
gcc-compiler, clang, cmake, cmocka, libyang, etc.
Please following the below step to install the mention
software packages.