... | ... | @@ -131,4 +131,45 @@ FreeRADIUS client: |
|
|
FREERADIUS_DICTIONARY: /usr/local/etc/radiusclient/dictionary
|
|
|
```
|
|
|
|
|
|
then compile as usual. |
|
|
\ No newline at end of file |
|
|
then compile as usual.
|
|
|
|
|
|
### Installing with NETCONF/Sysrepo (optional)
|
|
|
Kea 1.5 introduced support for NETCONF. To enable support for YANG/NETCONF, a software called Sysrepo is needed.
|
|
|
|
|
|
The following installation instruction was tested on Ubuntu 18.04.
|
|
|
|
|
|
STEP 1. Install dependencies. Note that some of those dependencies are likely to be present in your system already.
|
|
|
|
|
|
```shell
|
|
|
$ sudo apt-get install git cmake build-essential bison flex libpcre3-dev libev-dev \
|
|
|
libavl-dev libprotobuf-c-dev protobuf-c-compiler swig
|
|
|
```
|
|
|
|
|
|
STEP 2. Install libyang. Download libyang from https://github.com/CESNET/libyang/releases. The version used during Kea development was 0.16-r1.
|
|
|
|
|
|
```shell
|
|
|
libyang-0.16-r1.tar.gz
|
|
|
cd libyang-0.16-r1
|
|
|
mkdir build
|
|
|
cd build
|
|
|
cmake ..
|
|
|
make
|
|
|
sudo make install
|
|
|
```
|
|
|
|
|
|
For detailed build instructions, see https://github.com/CESNET/libyang.
|
|
|
|
|
|
STEP 3. Install syrepo. Download sysrepo from https://github.com/sysrepo/sysrepo/releases. The version used during Kea development was 0.7.5.
|
|
|
|
|
|
```shell
|
|
|
tar zxvf sysrepo-0.7.5.tar.gz
|
|
|
cd sysrepo-0.7.5
|
|
|
mkdir build
|
|
|
cd build
|
|
|
cmake -DCMAKE_BUILD_TYPE=Debug -DGEN_LANGUAGE_BINDINGS=ON -DGEN_CPP_BINDINGS=ON \
|
|
|
-DGEN_PYTHON_BINDINGS=OFF -DGEN_LUA_BINDINGS=OFF -DENABLE_TESTS=OFF ..
|
|
|
make
|
|
|
sudo make install
|
|
|
```
|
|
|
|
|
|
For detailed instructions, see Build and Installation Steps Section on the project page https://github.com/sysrepo/sysrepo. |