From: Francis Dupont Date: Wed, 12 Sep 2018 11:58:58 +0000 (+0200) Subject: [65-libyang-generic] test-module -> keatest-module X-Git-Tag: 65-libyang-control-socket_base~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae6ee6c48c603b5fa43914a657ef215f248734a3;p=thirdparty%2Fkea.git [65-libyang-generic] test-module -> keatest-module --- diff --git a/doc/guide/netconf.xml b/doc/guide/netconf.xml index 110de77a64..8b5710142c 100644 --- a/doc/guide/netconf.xml +++ b/doc/guide/netconf.xml @@ -38,12 +38,12 @@ $ sudo apt-get install git cmake build-essential bison flex libpcre3-dev libev-d STEP 2. Install libyang. Download libyang from - https://github.com/CESNET/libyang/releases. As of writing this document, the latest - version was 0.15-r1. + https://github.com/CESNET/libyang.git. Checkout the devel branch. - tar zxvf libyang-0.15-r1.tar.gz - cd libyang-0.15-r1/ + git clone https://github.com/CESNET/libyang.git + cd libyang + git checkout devel mkdir build cd build cmake .. @@ -53,12 +53,15 @@ $ sudo apt-get install git cmake build-essential bison flex libpcre3-dev libev-d For detailed build instructions, see https://github.com/CESNET/libyang/. - STEP 3. Install syrepo. Download sysrepo from https://github.com/sysrepo/sysrepo/releases. - As of writing this document, the 0.7.4 as the latest version. + STEP 3. Install syrepo. Download sysrepo from + https://github.com/sysrepo/sysrepo.git. Checkout the devel branch. + If you want to develop code you should fix the C++ error handling + cf issue #1286 and pull request #1302. -tar zxvf sysrepo-0.7.4.tar.gz -cd sysrepo-0.7.4 +git clone https://github.com/sysrepo/sysrepo.git +cd sysrepo +git checkout devel mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Debug -DGEN_LANGUAGE_BINDINGS=ON -DGEN_CPP_BINDINGS=ON\ diff --git a/src/lib/yang/yang.dox b/src/lib/yang/yang.dox index 0a87c8a85c..da9de2b373 100644 --- a/src/lib/yang/yang.dox +++ b/src/lib/yang/yang.dox @@ -81,12 +81,12 @@ specific model (src/lib/yang/tests/keatest-module.yang). To install the test module, issue the following command: @verbatim -sudo sysrepoctl --install --yang=src/lib/yang/tests/test-module.yang +sudo sysrepoctl --install --yang=src/lib/yang/tests/keatest-module.yang @endverbatim To verify that you have the schemas installed, do this: @verbatim sysrepoctl -l @endverbatim -Make sure that test-module is on the list. +Make sure that keatest-module is on the list. */