From bd65abebb28b65e765700bbb82f42d8f07c4b77b Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Wed, 21 Nov 2018 17:13:09 +0100 Subject: [PATCH] [204-move-models-] Updated doc --- doc/guide/netconf.xml | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/doc/guide/netconf.xml b/doc/guide/netconf.xml index 4007a7f601..f6036fc7e8 100644 --- a/doc/guide/netconf.xml +++ b/doc/guide/netconf.xml @@ -121,13 +121,13 @@ similar initiative for DHCPv4 died long time ago. As such, Kea uses its own dedicated models for DHCPv4 and DHCPv6 but partially supports the IETF model for DHCPv6. Those three models have extra models as dependencies. The dependency models are also provided in -src/lib/libyang/models. To install models, do the following: +src/lib/libyang/models. To install models from sources, do the following: -cd src/lib/yang/models -sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.6/build/repository/yang -s . -g ietf-dhcpv6-server.yang -sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.6/build/repository/yang -s . -g kea-dhcp4-server.yang -sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.6/build/repository/yang -s . -g kea-dhcp6-server.yang +cd src/share/yang/modules +sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.6/build/repository/yang -s . -g ietf-dhcpv6-server*.yang +sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.6/build/repository/yang -s . -g kea-dhcp4-server*.yang +sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.6/build/repository/yang -s . -g kea-dhcp6-server*.yang Note the first -s parameter specifies the location of your YANG schema @@ -137,8 +137,8 @@ under the SYSREPO_REPO name. The installation should look similar to the following: -$ sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.6/build/repository/yang -s . -g ietf-dhcpv6-server.yang -Installing a new module from file 'ietf-dhcpv6-server.yang'... +$ sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.6/build/repository/yang -s . -g ietf-dhcpv6-server*.yang +Installing a new module from file 'ietf-dhcpv6-server@2018-11-20.yang'... Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.6/build/repository/yang/ietf-dhcpv6-server@2018-07-14.yang'... Resolving dependency: 'ietf-dhcpv6-server' imports 'ietf-dhcpv6-options'... Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.6/build/repository/yang/ietf-dhcpv6-options@2018-07-14.yang'... @@ -180,10 +180,10 @@ turing-machine | 2013-12-27 | Installed | root:root | 66 iana-if-type | 2014-05-08 | Installed | | | | ietf-interfaces | 2014-05-08 | Installed | root:root | 666 | | ietf-ip | 2014-06-16 | Installed | | | | -kea-dhcp4-server | 2018-07-14 | Installed | root:root | 666 | | -kea-dhcp6-server | 2018-07-14 | Installed | root:root | 666 | | -ietf-dhcpv6-server | 2018-03-04 | Installed | root:root | 666 | | -ietf-dhcpv6-options | 2018-03-04 | Imported | | | | +kea-dhcp4-server | 2018-11-20 | Installed | root:root | 666 | | +kea-dhcp6-server | 2018-11-20 | Installed | root:root | 666 | | +ietf-dhcpv6-server | 2018-09-04 | Installed | root:root | 666 | | +ietf-dhcpv6-options | 2018-09-04 | Imported | | | | ietf-dhcpv6-types | 2018-01-30 | Imported | | | | @@ -225,15 +225,23 @@ done in dependency order and reverse dependency order accordingly. - Open a connection with the sysrepo enviroment and establish + For each managed server get the initial configuration from + the server through the control scoket. + + + + + + Open a connection with the sysrepo environment and establish two sessions with the startup and running datastores. - For each managed server get the initial configuration from - the server through the control scoket. + Check that used (not essential) and required (essential) + modules are installed in the sysrepo repository at the + right revision. -- 2.47.2