Commit 52f787c5 authored by Francis Dupont's avatar Francis Dupont

[master] Updated netconf.xml

parent f8a10fb0
...@@ -66,7 +66,7 @@ tar zxvf sysrepo-0.7.5.tar.gz ...@@ -66,7 +66,7 @@ tar zxvf sysrepo-0.7.5.tar.gz
cd sysrepo-0.7.5 cd sysrepo-0.7.5
mkdir build mkdir build
cd build cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DGEN_LANGUAGE_BINDINGS=ON -DGEN_CPP_BINDINGS=ON\ cmake -DCMAKE_BUILD_TYPE=Debug -DGEN_LANGUAGE_BINDINGS=ON -DGEN_CPP_BINDINGS=ON \
-DGEN_PYTHON_BINDINGS=OFF -DGEN_LUA_BINDINGS=OFF -DENABLE_TESTS=OFF .. -DGEN_PYTHON_BINDINGS=OFF -DGEN_LUA_BINDINGS=OFF -DENABLE_TESTS=OFF ..
make make
sudo make install sudo make install
...@@ -119,43 +119,45 @@ ietf-ip | 2014-06-16 | Installed | | ...@@ -119,43 +119,45 @@ ietf-ip | 2014-06-16 | Installed | |
Installing Kea YANG modules. There are two major modules that Kea is able to Installing Kea YANG modules. There are two major modules that Kea is able to
support: kea-dhcp4-server and ietf-dhcp6-server. Note that while there is an support: kea-dhcp4-server and ietf-dhcp6-server. Note that while there is an
active effort at DHC working group at IETF to develop an DHCPv6 YANG model, active effort at DHC working group at IETF to develop an DHCPv6 YANG model,
similar initiative for DHCPv4 died long time ago. As such, Kea uses IETF model similar initiative for DHCPv4 died long time ago. As such, Kea uses its own
for DHCPv6 and its own dedicated model for DHCPv4. Those two models have extra 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 models as dependencies. The dependency models are also provided in
src/lib/libyang/models. To install Kea models, do the following: src/lib/libyang/models. To install 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.5/build/repository/yang/ -s ./ sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.5/build/repository/yang -s . -g ietf-dhcpv6-server.yang
sudo sysrepoctl -i -g ietf-dhcp6-server.yang -s /home/thomson/devel/sysrepo-0.7.5/build/repository/yang/ -s ./ sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.5/build/repository/yang -s . -g kea-dhcp4-server.yang
sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.5/build/repository/yang -s . -g ietf-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
directory. You can check it with sysrepoctl -l. This is a parameter that is repository. You can check it with sysrepoctl -l. This is a parameter that is
configured during sysrepo compilation. configured during sysrepo compilation.
<!-- will be fixed soon -->
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.5/build/repository/yang/ -s ./ $ sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.5/build/repository/yang -s . -g ietf-dhcpv6-server.yang
Installing a new module from file 'ietf-dhcp6-server.yang'... Installing a new module from file 'ietf-dhcpv6-server.yang'...
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.5/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-dhcpv6-server@2018-07-14.yang'...
Resolving dependency: 'ietf-dhcp6-server' imports 'ietf-dhcp6-options'... Resolving dependency: 'ietf-dhcpv6-server' imports 'ietf-dhcpv6-options'...
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.5/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-dhcpv6-options@2018-07-14.yang'...
Resolving dependency: 'ietf-dhcp6-options' imports 'ietf-dhcp6-types'... Resolving dependency: 'ietf-dhcpv6-options' imports 'ietf-dhcpv6-types'...
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.5/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-dhcpv6-types@2018-07-14.yang'...
Resolving dependency: 'ietf-dhcp6-server' imports 'ietf-dhcp6-types'... Resolving dependency: 'ietf-dhcpv6-server' imports 'ietf-dhcpv6-types'...
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.5/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-dhcpv6-types@2018-07-14.yang'...
Resolving dependency: 'ietf-dhcp6-server' imports 'ietf-interfaces'... Resolving dependency: 'ietf-dhcpv6-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-dhcpv6-server'...
Resolving dependency: 'ietf-dhcp6-server' imports 'ietf-dhcp6-options'... Resolving dependency: 'ietf-dhcpv6-server' imports 'ietf-dhcpv6-options'...
Skipping installation of data files for module 'ietf-dhcp6-options'... Skipping installation of data files for module 'ietf-dhcpv6-options'...
Resolving dependency: 'ietf-dhcp6-options' imports 'ietf-dhcp6-types'... Resolving dependency: 'ietf-dhcpv6-options' imports 'ietf-dhcpv6-types'...
Skipping installation of data files for module 'ietf-dhcp6-types'... Skipping installation of data files for module 'ietf-dhcpv6-types'...
Resolving dependency: 'ietf-dhcp6-server' imports 'ietf-dhcp6-types'... Resolving dependency: 'ietf-dhcpv6-server' imports 'ietf-dhcpv6-types'...
Skipping installation of data files for module 'ietf-dhcp6-types'... Skipping installation of data files for module 'ietf-dhcpv6-types'...
Resolving dependency: 'ietf-dhcp6-server' imports 'ietf-interfaces'... Resolving dependency: 'ietf-dhcpv6-server' imports 'ietf-interfaces'...
Installing data files for module 'ietf-interfaces'... Installing data files for module 'ietf-interfaces'...
Notifying sysrepo about the change... Notifying sysrepo about the change...
Install operation completed successfully. Install operation completed successfully.
...@@ -181,6 +183,7 @@ iana-if-type | 2014-05-08 | Installed | | ...@@ -181,6 +183,7 @@ 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-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-server | 2018-03-04 | Installed | root:root | 666 | |
ietf-dhcpv6-options | 2018-03-04 | Imported | | | | ietf-dhcpv6-options | 2018-03-04 | Imported | | | |
ietf-dhcpv6-types | 2018-01-30 | Imported | | | | ietf-dhcpv6-types | 2018-01-30 | Imported | | | |
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment