2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[65-libyang-generic] test-module -> keatest-module

This commit is contained in:
Francis Dupont
2018-09-12 13:58:58 +02:00
parent 03c11ab723
commit ae6ee6c48c
2 changed files with 13 additions and 10 deletions

View File

@@ -38,12 +38,12 @@ $ sudo apt-get install git cmake build-essential bison flex libpcre3-dev libev-d
</para>
<para>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.
<screen>
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/.</para>
<para>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.
<para>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.
<screen>
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\

View File

@@ -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.
*/