dhcp4_unittests_SOURCES += dhcp4_client.cc dhcp4_client.h
dhcp4_unittests_SOURCES += inform_unittest.cc
dhcp4_unittests_SOURCES += dora_unittest.cc
+dhcp4_unittests_SOURCES += release_unittest.cc
- if CONFIG_BACKEND_BUNDY
- # For Bundy backend, we only need to run the usual tests. There are no
- # Bundy-specific tests yet.
- dhcp4_unittests_SOURCES += bundy_controller_unittest.cc
- endif
-
- if CONFIG_BACKEND_JSON
dhcp4_unittests_SOURCES += kea_controller_unittest.cc
- endif
nodist_dhcp4_unittests_SOURCES = marker_file.h test_libraries.h
/// @brief Controlled version of the DHCPv6 server
///
++<<<<<<< HEAD
+/// This is a class that is responsible for DHCPv6 server being controllable.
+/// It does various things, depending on the configuration backend.
+/// For Bundy backend it establishes a connection with msgq and later receives
+/// commands over it. For Kea backend, it reads configuration file from disk.
+///
+/// For detailed explanation or relations between main(), ControlledDhcpv6Srv,
+/// Dhcpv6Srv and other classes, see \ref dhcpv6Session.
++=======
+ /// This is a class that is responsible for DHCPv6 server being controllable,
+ /// by reading configuration file from disk.
++>>>>>>> trac3732
class ControlledDhcpv6Srv : public isc::dhcp::Dhcpv6Srv {
public:
endif
lib_LTLIBRARIES = libkea-cc.la
-libkea_cc_la_SOURCES = data.cc data.h session.cc session.h
+libkea_cc_la_SOURCES = data.cc data.h
+libkea_cc_la_SOURCES += command_interpreter.cc command_interpreter.h
libkea_cc_la_SOURCES += logger.cc logger.h
nodist_libkea_cc_la_SOURCES = cc_messages.cc cc_messages.h
-libkea_cc_la_SOURCES += proto_defs.cc proto_defs.h
libkea_cc_la_LIBADD = $(top_builddir)/src/lib/log/libkea-log.la
--CLEANFILES = *.gcno *.gcda session_config.h cc_messages.cc cc_messages.h \
-- s-messages
--
--session_config.h: session_config.h.pre
-- $(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" session_config.h.pre >$@
++CLEANFILES = *.gcno *.gcda cc_messages.cc cc_messages.h s-messages
cc_messages.cc cc_messages.h: s-messages
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/cc/cc_messages.mes
touch $@
- BUILT_SOURCES = session_config.h cc_messages.cc cc_messages.h
-BUILT_SOURCES = session_config.h cc_messages.cc cc_messages.h proto_defs.h
-
-# This rule is here, but we added proto_defs.h to the git repo,
-# so the script is no longer needed.
-#proto_defs.h: $(top_srcdir)/src/lib/util/python/const2hdr.py proto_defs.cc
-# $(PYTHON) $(top_srcdir)/src/lib/util/python/const2hdr.py $(srcdir)/proto_defs.cc $@
++BUILT_SOURCES = cc_messages.cc cc_messages.h
EXTRA_DIST = cc_messages.mes