Setup Netconf Testing Environment
Install sysrepo
Prerequites
- gcc (>= 4.8.4)
- cmake (>= 2.8.12)
- libyang
- libpcre2-dev
- libpcre2
Installation
Install Netopeer2
Prerequisite
- sysrepo
- libyang (installed in previous section)
- libnetconf2
Installation
Test
Start netconf server
Create Custom YANG Module
- Install module by
sysrepoctl
Here, we create a .xml file named create-object.xml
- Apply config to
startup datastore
by sysrepocfg
- Start up netopeer2-server
- Start up netopeer2-cli and connect to server
You should see the output will be: