mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-04 07:55:18 +00:00
[65-libyang-models-update] sysrepo version bumped in examples
This commit is contained in:
@@ -92,8 +92,8 @@ located at https://github.com/sysrepo/sysrepo.
|
|||||||
|
|
||||||
After installation the result should be similar to this:
|
After installation the result should be similar to this:
|
||||||
<screen>
|
<screen>
|
||||||
Sysrepo schema directory: /home/thomson/devel/sysrepo-0.7.4/build/repository/yang/
|
Sysrepo schema directory: /home/thomson/devel/sysrepo-0.7.5/build/repository/yang/
|
||||||
Sysrepo data directory: /home/thomson/devel/sysrepo-0.7.4/build/repository/data/
|
Sysrepo data directory: /home/thomson/devel/sysrepo-0.7.5/build/repository/data/
|
||||||
(Do not alter contents of these directories manually)
|
(Do not alter contents of these directories manually)
|
||||||
|
|
||||||
Module Name | Revision | Conformance | Data Owner | Permissions | Submodules | Enabled Features
|
Module Name | Revision | Conformance | Data Owner | Permissions | Submodules | Enabled Features
|
||||||
@@ -121,8 +121,8 @@ src/lib/libyang/models. To install Kea models, do the following:
|
|||||||
|
|
||||||
<screen>
|
<screen>
|
||||||
cd src/lib/yang/models
|
cd src/lib/yang/models
|
||||||
sudo sysrepoctl -i -g kea-dhcp4-server.yang -s /home/thomson/devel/sysrepo-0.7.4/build/repository/yang/ -s ./
|
sudo sysrepoctl -i -g kea-dhcp4-server.yang -s /home/thomson/devel/sysrepo-0.7.5/build/repository/yang/ -s ./
|
||||||
sudo sysrepoctl -i -g ietf-dhcp6-server.yang -s /home/thomson/devel/sysrepo-0.7.4/build/repository/yang/ -s ./
|
sudo sysrepoctl -i -g ietf-dhcp6-server.yang -s /home/thomson/devel/sysrepo-0.7.5/build/repository/yang/ -s ./
|
||||||
</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
|
||||||
@@ -132,15 +132,15 @@ configured during sysrepo compilation.
|
|||||||
|
|
||||||
The installation should look similar to the following:
|
The installation should look similar to the following:
|
||||||
<screen>
|
<screen>
|
||||||
$ sudo sysrepoctl -i -g ietf-dhcp6-server.yang -s /home/thomson/devel/sysrepo-0.7.4/build/repository/yang/ -s ./
|
$ sudo sysrepoctl -i -g ietf-dhcp6-server.yang -s /home/thomson/devel/sysrepo-0.7.5/build/repository/yang/ -s ./
|
||||||
Installing a new module from file 'ietf-dhcp6-server.yang'...
|
Installing a new module from file 'ietf-dhcp6-server.yang'...
|
||||||
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.4/build/repository/yang/ietf-dhcp6-server@2018-07-14.yang'...
|
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.5/build/repository/yang/ietf-dhcp6-server@2018-07-14.yang'...
|
||||||
Resolving dependency: 'ietf-dhcp6-server' imports 'ietf-dhcp6-options'...
|
Resolving dependency: 'ietf-dhcp6-server' imports 'ietf-dhcp6-options'...
|
||||||
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.4/build/repository/yang/ietf-dhcp6-options@2018-07-14.yang'...
|
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.5/build/repository/yang/ietf-dhcp6-options@2018-07-14.yang'...
|
||||||
Resolving dependency: 'ietf-dhcp6-options' imports 'ietf-dhcp6-types'...
|
Resolving dependency: 'ietf-dhcp6-options' imports 'ietf-dhcp6-types'...
|
||||||
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.4/build/repository/yang/ietf-dhcp6-types@2018-07-14.yang'...
|
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.5/build/repository/yang/ietf-dhcp6-types@2018-07-14.yang'...
|
||||||
Resolving dependency: 'ietf-dhcp6-server' imports 'ietf-dhcp6-types'...
|
Resolving dependency: 'ietf-dhcp6-server' imports 'ietf-dhcp6-types'...
|
||||||
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.4/build/repository/yang/ietf-dhcp6-types@2018-07-14.yang'...
|
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.5/build/repository/yang/ietf-dhcp6-types@2018-07-14.yang'...
|
||||||
Resolving dependency: 'ietf-dhcp6-server' imports 'ietf-interfaces'...
|
Resolving dependency: 'ietf-dhcp6-server' imports 'ietf-interfaces'...
|
||||||
Schema of the module ietf-interfaces is already installed, skipping...
|
Schema of the module ietf-interfaces is already installed, skipping...
|
||||||
Installing data files for module 'ietf-dhcp6-server'...
|
Installing data files for module 'ietf-dhcp6-server'...
|
||||||
@@ -160,8 +160,8 @@ You can confirm whether the models are imported correctly by using sysrepoctl -l
|
|||||||
|
|
||||||
<screen>
|
<screen>
|
||||||
$ sysrepoctl -l
|
$ sysrepoctl -l
|
||||||
Sysrepo schema directory: /home/thomson/devel/sysrepo-0.7.4/build/repository/yang/
|
Sysrepo schema directory: /home/thomson/devel/sysrepo-0.7.5/build/repository/yang/
|
||||||
Sysrepo data directory: /home/thomson/devel/sysrepo-0.7.4/build/repository/data/
|
Sysrepo data directory: /home/thomson/devel/sysrepo-0.7.5/build/repository/data/
|
||||||
(Do not alter contents of these directories manually)
|
(Do not alter contents of these directories manually)
|
||||||
|
|
||||||
Module Name | Revision | Conformance | Data Owner | Permissions | Submodules | Enabled Features
|
Module Name | Revision | Conformance | Data Owner | Permissions | Submodules | Enabled Features
|
||||||
|
Reference in New Issue
Block a user