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>
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)
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
///
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
- 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