BIND 10 trac2955, updated. 419690bf77f83061c4df46291b27a2a5769e1758 [2955] Makefile additions for new D2 files.

BIND 10 source code commits bind10-changes at lists.isc.org
Thu May 23 12:33:12 UTC 2013


The branch, trac2955 has been updated
       via  419690bf77f83061c4df46291b27a2a5769e1758 (commit)
      from  cddad16de73088a9e11330746e33a1faed947f64 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 419690bf77f83061c4df46291b27a2a5769e1758
Author: Thomas Markwalder <tmark at isc.org>
Date:   Thu May 23 08:31:58 2013 -0400

    [2955] Makefile additions for new D2 files.

-----------------------------------------------------------------------

Summary of changes:
 src/bin/d2/Makefile.am       |    4 ++++
 src/bin/d2/d2_messages.mes   |   34 +++++++++++++++++++++++++++++-----
 src/bin/d2/tests/Makefile.am |    5 +++++
 3 files changed, 38 insertions(+), 5 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/d2/Makefile.am b/src/bin/d2/Makefile.am
index 54300c6..9ab8891 100644
--- a/src/bin/d2/Makefile.am
+++ b/src/bin/d2/Makefile.am
@@ -48,12 +48,16 @@ pkglibexec_PROGRAMS = b10-d2
 
 b10_d2_SOURCES  = main.cc
 b10_d2_SOURCES += d2_log.cc d2_log.h
+b10_d2_SOURCES += d2_process.cc d2_process.h d_process.h
 
 nodist_b10_d2_SOURCES = d2_messages.h d2_messages.cc
 EXTRA_DIST += d2_messages.mes
 
 b10_d2_LDADD = $(top_builddir)/src/lib/log/libb10-log.la
 b10_d2_LDADD += $(top_builddir)/src/lib/exceptions/libb10-exceptions.la
+b10_d2_LDADD += $(top_builddir)/src/lib/asiolink/libb10-asiolink.la
+b10_d2_LDADD += $(top_builddir)/src/lib/cc/libb10-cc.la
+b10_d2_LDADD += $(top_builddir)/src/lib/config/libb10-cfgclient.la
 
 b10_d2dir = $(pkgdatadir)
 b10_d2_DATA = d2.spec
diff --git a/src/bin/d2/d2_messages.mes b/src/bin/d2/d2_messages.mes
index 08afb9c..2f88659 100644
--- a/src/bin/d2/d2_messages.mes
+++ b/src/bin/d2/d2_messages.mes
@@ -14,15 +14,39 @@
 
 $NAMESPACE isc::d2
 
-% D2_STARTING : process starting
-This is a debug message issued during a D2 process startup.
+% D2_STARTING : service starting
+This is a debug message issued during a D2 service startup.
 
 % D2_START_INFO pid: %1, verbose: %2, standalone: %3
-This is a debug message issued during the D2 process startup.
+This is a debug message issued during the D2 service startup.
 It lists some information about the parameters with which the
 process is running.
 
-% D2_SHUTDOWN : process is performing a normal shutting down
-This is a debug message issued when a D2 process shuts down
+% D2_SHUTDOWN : service is performing a normal shutting down
+This is a debug message issued when the D2 service shuts down
 normally in response to command to stop.
 
+% D2PRC_SHUTDOWN : process is performing a normal shutting down
+This is a debug message issued when the D2 process shuts down
+normally in response to service directive to stop.
+
+% D2PRC_RUN_ENTER : process has entered the event loop. 
+This is a debug message issued when the D2 process enters it's
+run method. 
+
+% D2PRC_RUN_EXIT : process is exiting the event loop.
+This is a debug message issued when the D2 process exits the
+in event loop. 
+
+% D2PRC_FAILED : process experienced a fatal error.
+This is a debug message issued when the D2 process encounters an
+unrecoverable error from within the event loop.
+
+% D2PRC_CONFIGURE : new configuration received: %1
+This is a debug message issued when the D2 process configure method
+has been invoked.
+
+% D2PRC_COMMAND : command directive received, command: %1 - args: %2
+This is a debug message issued when the D2 process command method
+has been invoked.
+
diff --git a/src/bin/d2/tests/Makefile.am b/src/bin/d2/tests/Makefile.am
index 72e6254..aea12c0 100644
--- a/src/bin/d2/tests/Makefile.am
+++ b/src/bin/d2/tests/Makefile.am
@@ -52,7 +52,9 @@ if HAVE_GTEST
 TESTS += d2_unittests
 
 d2_unittests_SOURCES = ../d2_log.h ../d2_log.cc
+d2_unittests_SOURCES += ../d2_process.cc ../d2_process.h ../d_process.h
 d2_unittests_SOURCES += d2_unittests.cc
+d2_unittests_SOURCES += d2_process_unittests.cc
 nodist_d2_unittests_SOURCES = ../d2_messages.h ../d2_messages.cc
 
 d2_unittests_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES)
@@ -60,6 +62,9 @@ d2_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
 d2_unittests_LDADD = $(GTEST_LDADD)
 d2_unittests_LDADD += $(top_builddir)/src/lib/exceptions/libb10-exceptions.la
 d2_unittests_LDADD += $(top_builddir)/src/lib/log/libb10-log.la
+d2_unittests_LDADD += $(top_builddir)/src/lib/asiolink/libb10-asiolink.la
+d2_unittests_LDADD += $(top_builddir)/src/lib/cc/libb10-cc.la
+d2_unittests_LDADD += $(top_builddir)/src/lib/config/libb10-cfgclient.la
 endif
 
 noinst_PROGRAMS = $(TESTS)



More information about the bind10-changes mailing list