From: Tomek Mrugalski Date: Fri, 10 Aug 2018 17:16:54 +0000 (+0200) Subject: [gitlab9] Docs updated X-Git-Tag: gitlab29-base~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d34e38db89bf48a4e52a890cd593900f419178ff;p=thirdparty%2Fkea.git [gitlab9] Docs updated --- diff --git a/doc/guide/Makefile.am b/doc/guide/Makefile.am index 4fdd7c0ca6..f13cca197b 100644 --- a/doc/guide/Makefile.am +++ b/doc/guide/Makefile.am @@ -9,7 +9,7 @@ DOCBOOK = kea-guide.xml intro.xml quickstart.xml install.xml admin.xml config.xm DOCBOOK += keactrl.xml dhcp4-srv.xml dhcp6-srv.xml lease-expiration.xml logging.xml DOCBOOK += ddns.xml hooks.xml hooks-ha.xml hooks-host-cache.xml hooks-lease-cmds.xml DOCBOOK += hooks-radius.xml hooks-stat-cmds.xml libdhcp.xml lfc.xml stats.xml -DOCBOOK += ctrl-channel.xml faq.xml classify.xml shell.xml agent.xml +DOCBOOK += ctrl-channel.xml faq.xml classify.xml shell.xml agent.xml netconf.xml EXTRA_DIST = $(DOCBOOK) diff --git a/doc/guide/kea-guide.xml b/doc/guide/kea-guide.xml index b6d77e8ad8..f0e42a47ed 100644 --- a/doc/guide/kea-guide.xml +++ b/doc/guide/kea-guide.xml @@ -90,6 +90,8 @@ + + diff --git a/doc/guide/netconf.xml b/doc/guide/netconf.xml index c29fc94a4b..110de77a64 100644 --- a/doc/guide/netconf.xml +++ b/doc/guide/netconf.xml @@ -6,7 +6,7 @@ - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - + YANG/NETCONF Support
@@ -14,34 +14,32 @@ Kea 1.5.0 introduced an optional support for YANG/NETCONF interface. - As the primary purpose of the Kea Shell is as a tool in scripting environment, - it is not interactive. However, with simple tricks it can be run manually. - + This bare bones documentation is a work in progress. Its + current purpose is to let engineers joining the project or perhaps + advanced early adopters to get up to speed quickly.
Installing NETCONF Dependencies -This bare bones documentation is a work in progress. Its current purpose -is to let engineers joining the project or perhaps advanced early adopters to -get up to speed quickly. Note that to get NETCONF capabilities Kea uses Sysrepo -software, which has many dependencies. Unfortunately, many of them are not -available as packages, so some need to be compiled manually. + Note that to get NETCONF capabilities Kea uses Sysrepo software, which has many + dependencies. Unfortunately, many of them are not available as packages, so some need + to be compiled manually. + + The following installation instruction was tested on Ubuntu 18.04. -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. + STEP 1. Install dependencies. Note that some of those dependencies are likely to + be present in your system already. $ sudo apt-get install git cmake build-essential bison flex libpcre3-dev libev-dev libavl-dev libprotobuf-c-dev protobuf-c-compiler - - + + + - -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. + 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. tar zxvf libyang-0.15-r1.tar.gz @@ -51,13 +49,12 @@ As of writing this document, the latest version was 0.15-r1. cmake .. make sudo make install - + -For detailed build instructions, see https://github.com/CESNET/libyang/. - + 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/releases. + As of writing this document, the 0.7.4 as the latest version. tar zxvf sysrepo-0.7.4.tar.gz @@ -69,6 +66,9 @@ cmake -DCMAKE_BUILD_TYPE=Debug -DGEN_LANGUAGE_BINDINGS=ON -DGEN_CPP_BINDINGS=ON\ make sudo make install + +For detailed instructions, see Build & Installation Steps Section on the project page +located at https://github.com/sysrepo/sysrepo.
@@ -153,7 +153,7 @@ Resolving dependency: 'ietf-dhcpv4-server' imports 'ietf-interfaces'... Installing data files for module 'ietf-interfaces'... Notifying sysrepo about the change... Install operation completed successfully. - + You can confirm whether the models are imported correctly by using sysrepoctl -l