]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[65-libyang-config-build] Added uses of SYSREPO_REPO
authorFrancis Dupont <fdupont@isc.org>
Tue, 25 Sep 2018 10:38:22 +0000 (12:38 +0200)
committerFrancis Dupont <fdupont@isc.org>
Thu, 27 Sep 2018 12:57:42 +0000 (08:57 -0400)
doc/guide/netconf.xml
src/lib/yang/pretests/Makefile.am
src/lib/yang/pretests/sysrepo_setup_tests.cc
src/lib/yang/yang.dox

index 572b24f708100a92f81b1620c88863f9d343c3a5..afd01c7c676a827915c6f1fdb7fd9a64f4dcc2e1 100644 (file)
@@ -134,8 +134,8 @@ sudo sysrepoctl -i -s /home/thomson/devel/sysrepo-0.7.5/build/repository/yang -s
 
 Note the first -s parameter specifies the location of your YANG schema
 repository. You can check it with sysrepoctl -l. This is a parameter that is
-configured during sysrepo compilation.
-<!-- will be fixed soon -->
+configured during sysrepo compilation and is detected by Kea configure
+under the SYSREPO_REPO name.
 
 The installation should look similar to the following:
 <screen>
index a3d841dabc624caa01f0d9cbbecd6e71413ccfd7..ef4f4863670a1e8f577d91d611c1c3199c2e40d0 100644 (file)
@@ -2,7 +2,7 @@ CLEANFILES = *.gcno *.gcda
 
 TESTS = sysrepo_setup_tests
 sysrepo_setup_tests_SOURCES = sysrepo_setup_tests.cc
-sysrepo_setup_tests_CPPFLAGS = $(SYSREPO_CPPFLAGS)
+sysrepo_setup_tests_CPPFLAGS = $(SYSREPO_CPPFLAGS) -DSYSREPO_REPO=\"@SYSREPO_REPO@\"
 sysrepo_setup_tests_LDFLAGS = $(AM_LDFLAGS)
 sysrepo_setup_tests_LDADD = $(SYSREPO_LIBS)
 
index defb9d289cb7346fce05c92e097bd67ba6bc3465..7a4e592c48dc333cc05df5e133f4f09891928f40 100644 (file)
@@ -19,8 +19,7 @@ const string KEA_DHCP4_MODULE = "kea-dhcp4-server";
 const string KEA_DHCP6_MODULE = "kea-dhcp6-server";
 const string KEA_CTRL_AGENT_MODULE = "kea-ctrl-agent";
 const string KEA_D2_MODULE = "kea-dhcp-ddns";
-// const string REPOSITORY = SYSREPO_REPO;
-const string REPOSITORY = "<sysrepo repository>";
+const string REPOSITORY = SYSREPO_REPO;
 
 /// @brief Returns nicely formed error message if module is missing
 ///
index ecd207768698ea904b1a07359be30076a50941ec..60c03709a8b7c968f2974fa562d28141cee8e33b 100644 (file)
@@ -101,9 +101,6 @@ sysrepoctl -l
 Make sure that keatest-module is on the list.
 */
 
-To install standard module dependency, look for ietf-inet-types and
-ietf-yang-types YANG files in the libyang distribution.
-
 Note as DHCP modules are still being developed it can be useful to
 deinstall them before reinstalling a more recent version vy:
 @verbatim
@@ -117,6 +114,9 @@ of keatest-module:
  - kea-dhcp-ddns
  - kea-dhcp4-server
  - kea-dhcp6-server
+Dependencies are:
+ - ietf-inet-types
+ - ietf-yang-types
 
 To finish the sysrepod daemon must run as root:
 @verbatim