From: Tomek Mrugalski Date: Fri, 19 Oct 2018 13:38:44 +0000 (+0200) Subject: [#65,!62] Changes after review. X-Git-Tag: 65-libyang-config-adaptor_base~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ae3b66d4eeb80697d360ea0481fdfbe4981e04a;p=thirdparty%2Fkea.git [#65,!62] Changes after review. --- diff --git a/src/lib/yang/adaptor_pool.h b/src/lib/yang/adaptor_pool.h index 6f541acbba..16dcc1663b 100644 --- a/src/lib/yang/adaptor_pool.h +++ b/src/lib/yang/adaptor_pool.h @@ -60,7 +60,7 @@ public: /// supported model is ietf-dhcpv6-server. The parameters moved are /// valid-lifetime, preferred-lifetime, renew-timer, renbind-timer. /// - /// @note: currently it is the only from YANH to JSON aka + /// @note: currently it is the only from YANG to JSON aka /// post-processing adaptor. /// /// @param model Model name. diff --git a/src/lib/yang/yang.dox b/src/lib/yang/yang.dox index 05bf4c33a7..f816765c6f 100644 --- a/src/lib/yang/yang.dox +++ b/src/lib/yang/yang.dox @@ -113,11 +113,10 @@ To verify that you have the schemas installed, do this: @verbatim sysrepoctl -l @endverbatim -Make sure that keatest-module is on the list. -*/ +Make sure that keatest-module and other necessary modules are on the list. Note as DHCP modules are still being developed it can be useful to -deinstall them before reinstalling a more recent version vy: +deinstall them before reinstalling a more recent version: @verbatim sudo sysrepoctl --uninstall --module= @endverbatim @@ -129,11 +128,24 @@ of keatest-module: - kea-dhcp-ddns - kea-dhcp4-server - kea-dhcp6-server -Dependencies are: + +Those models depend on the following models: - ietf-inet-types - ietf-yang-types -To finish the sysrepod daemon must run as root: +Finally, sysrepod daemon must run be running (as root): @verbatim sudo sysrepod @endverbatim + +You can run this tool: + +@verbatim +src/lib/yang/pretests/sysrepo_setup_tests +@endverbatim + +to verify that your environment is ready. If there is anything +wrong, it will enumerate the problems and will suggest how to solve +them. + +*/