Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian Schrader
Kea
Commits
52f787c5
Commit
52f787c5
authored
Sep 25, 2018
by
Francis Dupont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[master] Updated netconf.xml
parent
f8a10fb0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
26 deletions
+29
-26
doc/guide/netconf.xml
doc/guide/netconf.xml
+29
-26
No files found.
doc/guide/netconf.xml
View file @
52f787c5
...
...
@@ -66,7 +66,7 @@ tar zxvf sysrepo-0.7.5.tar.gz
cd sysrepo-0.7.5
mkdir 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 ..
make
sudo make install
...
...
@@ -119,43 +119,45 @@ ietf-ip | 2014-06-16 | Installed | |
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
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
for DHCPv6 and its own dedicated model for DHCPv4. Those two models have extra
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
Kea
models, do the following:
src/lib/libyang/models. To install models, do the following:
<screen>
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 -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
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>
Note the first -s parameter specifies the location of your YANG schema
direc
tory. You can check it with sysrepoctl -l. This is a parameter that is
reposi
tory. You can check it with sysrepoctl -l. This is a parameter that is
configured during sysrepo compilation.
<!-- will be fixed soon -->
The installation should look similar to the following:
<screen>
$ 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 the YANG file to '/home/thomson/devel/sysrepo-0.7.5/build/repository/yang/ietf-dhcp6-server@2018-07-14.yang'...
Resolving dependency: 'ietf-dhcp
6-server' imports 'ietf-dhcp
6-options'...
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-dhcp
6-options' imports 'ietf-dhcp
6-types'...
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-dhcp
6-server' imports 'ietf-dhcp
6-types'...
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'...
$ 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-dhcp
v
6-server.yang'...
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.5/build/repository/yang/ietf-dhcp
v
6-server@2018-07-14.yang'...
Resolving dependency: 'ietf-dhcp
v6-server' imports 'ietf-dhcpv
6-options'...
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.5/build/repository/yang/ietf-dhcp
v
6-options@2018-07-14.yang'...
Resolving dependency: 'ietf-dhcp
v6-options' imports 'ietf-dhcpv
6-types'...
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.5/build/repository/yang/ietf-dhcp
v
6-types@2018-07-14.yang'...
Resolving dependency: 'ietf-dhcp
v6-server' imports 'ietf-dhcpv
6-types'...
Installing the YANG file to '/home/thomson/devel/sysrepo-0.7.5/build/repository/yang/ietf-dhcp
v
6-types@2018-07-14.yang'...
Resolving dependency: 'ietf-dhcp
v
6-server' imports 'ietf-interfaces'...
Schema of the module ietf-interfaces is already installed, skipping...
Installing data files for module 'ietf-dhcp6-server'...
Resolving dependency: 'ietf-dhcp
6-server' imports 'ietf-dhcp
6-options'...
Skipping installation of data files for module 'ietf-dhcp6-options'...
Resolving dependency: 'ietf-dhcp
6-options' imports 'ietf-dhcp
6-types'...
Skipping installation of data files for module 'ietf-dhcp6-types'...
Resolving dependency: 'ietf-dhcp
6-server' imports 'ietf-dhcp
6-types'...
Skipping installation of data files for module 'ietf-dhcp6-types'...
Resolving dependency: 'ietf-dhcp6-server' imports 'ietf-interfaces'...
Installing data files for module 'ietf-dhcp
v
6-server'...
Resolving dependency: 'ietf-dhcp
v6-server' imports 'ietf-dhcpv
6-options'...
Skipping installation of data files for module 'ietf-dhcp
v
6-options'...
Resolving dependency: 'ietf-dhcp
v6-options' imports 'ietf-dhcpv
6-types'...
Skipping installation of data files for module 'ietf-dhcp
v
6-types'...
Resolving dependency: 'ietf-dhcp
v6-server' imports 'ietf-dhcpv
6-types'...
Skipping installation of data files for module 'ietf-dhcp
v
6-types'...
Resolving dependency: 'ietf-dhcp
v
6-server' imports 'ietf-interfaces'...
Installing data files for module 'ietf-interfaces'...
Notifying sysrepo about the change...
Install operation completed successfully.
...
...
@@ -181,6 +183,7 @@ 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 | | | |
ietf-dhcpv6-types | 2018-01-30 | Imported | | | |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment