2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-02 15:05:16 +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>
<para>STEP 2. Install libyang. Download libyang from <para>STEP 2. Install libyang. Download libyang from
https://github.com/CESNET/libyang/releases. As of writing this document, the latest https://github.com/CESNET/libyang.git. Checkout the devel branch.
version was 0.15-r1.
<screen> <screen>
tar zxvf libyang-0.15-r1.tar.gz git clone https://github.com/CESNET/libyang.git
cd libyang-0.15-r1/ cd libyang
git checkout devel
mkdir build mkdir build
cd build cd build
cmake .. 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> 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. <para>STEP 3. Install syrepo. Download sysrepo from
As of writing this document, the 0.7.4 as the latest version. 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> <screen>
tar zxvf sysrepo-0.7.4.tar.gz git clone https://github.com/sysrepo/sysrepo.git
cd sysrepo-0.7.4 cd sysrepo
git checkout devel
mkdir build mkdir build
cd build cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DGEN_LANGUAGE_BINDINGS=ON -DGEN_CPP_BINDINGS=ON\ 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: To install the test module, issue the following command:
@verbatim @verbatim
sudo sysrepoctl --install --yang=src/lib/yang/tests/test-module.yang sudo sysrepoctl --install --yang=src/lib/yang/tests/keatest-module.yang
@endverbatim @endverbatim
To verify that you have the schemas installed, do this: To verify that you have the schemas installed, do this:
@verbatim @verbatim
sysrepoctl -l sysrepoctl -l
@endverbatim @endverbatim
Make sure that test-module is on the list. Make sure that keatest-module is on the list.
*/ */