2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-04 07:55:18 +00:00

[204-move-models-] Updated doc

This commit is contained in:
Francis Dupont
2018-11-21 17:13:09 +01:00
parent 66da4b915a
commit bd65abebb2

View File

@@ -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 dedicated models for DHCPv4 and DHCPv6 but partially supports the IETF model
for DHCPv6. Those three models have extra for DHCPv6. Those three models have extra
models as dependencies. The dependency models are also provided in 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:
<screen> <screen>
cd src/lib/yang/models 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 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-dhcp4-server*.yang
sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.6/build/repository/yang -s . -g kea-dhcp6-server.yang sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.6/build/repository/yang -s . -g kea-dhcp6-server*.yang
</screen> </screen>
Note the first -s parameter specifies the location of your YANG schema 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: The installation should look similar to the following:
<screen> <screen>
$ 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 ietf-dhcpv6-server*.yang
Installing a new module from file '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'... 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'... 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'... 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 | | | | iana-if-type | 2014-05-08 | Installed | | | |
ietf-interfaces | 2014-05-08 | Installed | root:root | 666 | | ietf-interfaces | 2014-05-08 | Installed | root:root | 666 | |
ietf-ip | 2014-06-16 | Installed | | | | ietf-ip | 2014-06-16 | Installed | | | |
kea-dhcp4-server | 2018-07-14 | Installed | root:root | 666 | | kea-dhcp4-server | 2018-11-20 | Installed | root:root | 666 | |
kea-dhcp6-server | 2018-07-14 | Installed | root:root | 666 | | kea-dhcp6-server | 2018-11-20 | Installed | root:root | 666 | |
ietf-dhcpv6-server | 2018-03-04 | Installed | root:root | 666 | | ietf-dhcpv6-server | 2018-09-04 | Installed | root:root | 666 | |
ietf-dhcpv6-options | 2018-03-04 | Imported | | | | ietf-dhcpv6-options | 2018-09-04 | Imported | | | |
ietf-dhcpv6-types | 2018-01-30 | Imported | | | | ietf-dhcpv6-types | 2018-01-30 | Imported | | | |
</screen> </screen>
</para> </para>
@@ -225,15 +225,23 @@ done in dependency order and reverse dependency order accordingly.
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<simpara> <simpara>
Open a connection with the sysrepo enviroment and establish For each managed server get the initial configuration from
the server through the control scoket.
</simpara>
</listitem>
<listitem>
<simpara>
Open a connection with the sysrepo environment and establish
two sessions with the startup and running datastores. two sessions with the startup and running datastores.
</simpara> </simpara>
</listitem> </listitem>
<listitem> <listitem>
<simpara> <simpara>
For each managed server get the initial configuration from Check that used (not essential) and required (essential)
the server through the control scoket. modules are installed in the sysrepo repository at the
right revision.
</simpara> </simpara>
</listitem> </listitem>