BIND 10 trac930, updated. 4b9e480b8b852b1de510ca55f2d4aaf85edf2997 [trac930] fix conflicts with trac1021

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jul 26 09:22:32 UTC 2011


The branch, trac930 has been updated
  discards  960bcc5fa56166c0c788fc87345a4a6e2d51b65b (commit)
  discards  e01c2800814439363d1365772546f736efbc2aea (commit)
  discards  9217e9d17b16af6cc144ee4d2d103b4bed6a540d (commit)
  discards  49116bad36a78486cfabb54d602d8c48c2d6d543 (commit)
  discards  bcd74e495d4d70511465a57246501d4296c79125 (commit)
  discards  8b62da388896dccb9d161892d443df2d9b8212d1 (commit)
  discards  d69727b137cd48179ca81bb40657f0e35964994e (commit)
  discards  61b0322d55cddde5f8072cc833b2c9d5a3359e11 (commit)
  discards  41e83b22570c0ad62e3b984e496da0a68afc5b67 (commit)
  discards  82334dfd1b5f03c1bed71ddebfcd226540709ee8 (commit)
  discards  07402007c8e2fac6275f9f4c5a3c1bdc57abac62 (commit)
  discards  8d0dcd6f73f50e0cdd0968bc3ddd2a6ea6d59a56 (commit)
  discards  a0f8d795ed74f6e746e654fc07d6ed93a4f0b61f (commit)
  discards  f3ce2f3e636f134442421797f77d61c91a7c7fce (commit)
  discards  c8cbc30c753d7167d64811e5cf81e96ae096df56 (commit)
  discards  5039c98b4162e3e965ce0c2672dfd51c18f18946 (commit)
  discards  55b9d57fd4ab99550af14fb99da6dce2f81cfa83 (commit)
  discards  0870827b9a141666efb5ce3c5310eb9b4add806b (commit)
  discards  d047206f479200e47d5be145b0515d29f252d3b8 (commit)
  discards  89e2d3615c3bdb570274c635403f3aed51bee373 (commit)
  discards  02b0e3efa0e43d5136c478ce63e35a3e85f1e01a (commit)
  discards  683c95e845c56bb8efee4286392d51bbf347141c (commit)
  discards  46e395d35f286f54fe447481a3960b8996da7316 (commit)
       via  4b9e480b8b852b1de510ca55f2d4aaf85edf2997 (commit)
       via  342c6d3196615eead730b28dc29d60c1ed2fa289 (commit)
       via  2a590471ababf85a3224c15fbfefc3df367334f4 (commit)
       via  8031011c902527ed5f73cfbd066e19dfe2c0a1db (commit)
       via  f7a630fe15c7c9e193e65a79c13d7d4f24e87484 (commit)
       via  317427198b32c90ff057de1a162067d7e8984d3e (commit)
       via  988a88cda859715891a203709f1e6425a8136fed (commit)
       via  7130c6a57b2ccf53751429719fed8fd3e3b2870e (commit)
       via  97214530635410145c5ab0f88c6b166a43495396 (commit)
       via  666510e6bb271b75678bfd9984d3464c824ee30e (commit)
       via  c45edfb008c469c4234001572d18a149fcce69c1 (commit)
       via  a250d2983c22c95d35c6d590604fd90bc2cb6cae (commit)
       via  dcfe44bed29cbdd89ad0270e6943e9f3750e5e58 (commit)
       via  76ea743e56c22b9d908c94b00475a6d125d16081 (commit)
       via  cf1c190604787f09d05cd8029e2d8adf39037f28 (commit)
       via  9e88485e93f9cd658c38260be19e4d75a9cbb5c8 (commit)
       via  47a780b4d8b0a336e9577bb5c3c7f72e857c0c07 (commit)
       via  577b41637587181548cfcb15bc37b08e65104ed4 (commit)
       via  95befd170766523482994d63ab4cbcce5278a846 (commit)
       via  5d7af1d7207f3380715b3154d3e14710cb2f0a9c (commit)
       via  99e543b87b6b537877498f8dd880becad3a89a0c (commit)
       via  adbcfd5da5e1e8de74acfc6eb434382768b31fbd (commit)
       via  a6f6fcded4d9ac701865334e7087a61303fed156 (commit)
       via  211f6c58e8cd6311eaca0a2ba181c4bfb379476c (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (960bcc5fa56166c0c788fc87345a4a6e2d51b65b)
            \
             N -- N -- N (4b9e480b8b852b1de510ca55f2d4aaf85edf2997)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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 4b9e480b8b852b1de510ca55f2d4aaf85edf2997
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 22 21:40:07 2011 +0900

    [trac930] fix conflicts with trac1021

commit 342c6d3196615eead730b28dc29d60c1ed2fa289
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 22 18:50:41 2011 +0900

    [trac930] add changes because query counter names described in the specfile are changed.

commit 2a590471ababf85a3224c15fbfefc3df367334f4
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 22 18:45:19 2011 +0900

    [trac930] add the logging when the validation of statistics data fails

commit 8031011c902527ed5f73cfbd066e19dfe2c0a1db
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 22 18:43:26 2011 +0900

    [trac930] Add unittests to test sumitStatistics with the validation of statistics data and add mock ModuleSpec class

commit f7a630fe15c7c9e193e65a79c13d7d4f24e87484
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 22 18:41:34 2011 +0900

    [trac930] Add prototypes of validator_typea and registerStatisticsValidator
     - validator_type -- a type of statistics validation function
     - registerStatisticsValidator -- the function to register the validation function

commit 317427198b32c90ff057de1a162067d7e8984d3e
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 22 18:37:22 2011 +0900

    [trac930]
    - Add implementation to validate statistics data
      -- When validation is success, it sends data to statistics module. But when it fails, it doesn't send and logs the message.
    
    - Add the function to register the validation function into the class

commit 988a88cda859715891a203709f1e6425a8136fed
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 22 18:32:22 2011 +0900

    [trac930] add the helper functions which are used around the registration of the function to validate the statistics data.

commit 7130c6a57b2ccf53751429719fed8fd3e3b2870e
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 22 18:28:40 2011 +0900

    [trac930] add new messages into the message file of Auth and Boss
    when validation of statistics data to send to statistics module is failed.

commit 97214530635410145c5ab0f88c6b166a43495396
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Wed Jul 20 10:00:29 2011 +0900

    [trac930] add statistics validation for bob

commit 666510e6bb271b75678bfd9984d3464c824ee30e
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Wed Jul 13 20:25:54 2011 +0900

    [trac930]
     - increase seconds in sleep time which is before HTTP client connects to the server
     - delete 'test_log_message' because of the deletion of original function

commit c45edfb008c469c4234001572d18a149fcce69c1
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 8 21:22:34 2011 +0900

    [trac930] remove unneeded empty TODO comments

commit a250d2983c22c95d35c6d590604fd90bc2cb6cae
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 8 21:09:41 2011 +0900

    [trac930] add new entry for #928-#930

commit dcfe44bed29cbdd89ad0270e6943e9f3750e5e58
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 8 20:08:22 2011 +0900

    [trac930] refurbish the unittests for new stats module, new stats httpd module
    and new mockups and utilities in test_utils.py

commit 76ea743e56c22b9d908c94b00475a6d125d16081
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 8 19:56:24 2011 +0900

    [trac930] modify Stats
     - remove unneeded subject and listener classes
    
     - add StatsError for handling errors in Stats
    
     - add some new methods (update_modules, update_statistics_data and
       get_statistics_data)
    
     - modify implementations of existent commands(show and set) according changes
       stats.spec
    
     - remove reset and remove command because stats module couldn't manage other
       modules' statistics data schema
    
     - add implementation of strict validation of each statistics data
       (If the validation is failed, it puts out the error.)
    
     - stats module shows its PID when status command invoked
    
     - add new command showschema invokable via bindctl
    
     - set command requires arguments of owner module name and statistics item name
    
     - show and showschema commands accepts arguments of owner module name and
       statistics item name
    
     - exits at exit code 1 if got runtime errors
    
     - has boot time in _BASETIME

commit cf1c190604787f09d05cd8029e2d8adf39037f28
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 8 19:40:15 2011 +0900

    [trac930]
     - remove "stats-schema.spec" setting and getting statistics data schema via
       this spec file
    
     - add "version" item in DEFAULT_CONFIG
    
     - get the address family by socket.getaddrinfo function with specified
       server_address in advance, and create HttpServer object once, in stead of
       creating double HttpServer objects for IPv6 and IPv4 in the prior code
       (It is aimed for avoiding to fail to close the once opened sockets.)
    
     - open HTTP port in start method
    
     - avoid calling config_handler recursively in the except statement
    
     - create XML, XSD, XSL documents after getting statistics data and schema from
       remote stats module via CC session
    
     - definitely close once opened template file object

commit 9e88485e93f9cd658c38260be19e4d75a9cbb5c8
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 8 16:33:59 2011 +0900

    [trac930] update spec file of stats module
    - update description of status command, shutdown command and show command
    - change argument of show command (Owner module name of statistics data can be
    specified)
    - change argument of set command (Owner module name of statistics data is
    always required)
    - add showschema command which shows statistics data schema of each module
    specified)
    - disabled reset command and remove command

commit 47a780b4d8b0a336e9577bb5c3c7f72e857c0c07
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 8 16:21:49 2011 +0900

    [trac930] update argument name and argument format of set command in auth module and boss module
    and also update related unittests of their modules

commit 577b41637587181548cfcb15bc37b08e65104ed4
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 8 16:18:38 2011 +0900

    [trac930] remove description about removing statistics data by stats module
    update example format in bindctl when show command of stats module is invoked

commit 95befd170766523482994d63ab4cbcce5278a846
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 8 16:13:17 2011 +0900

    [trac930] add a column "Owner" in the table tag

commit 5d7af1d7207f3380715b3154d3e14710cb2f0a9c
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 8 16:12:09 2011 +0900

    [trac930] remove descriptions about "stats-schema.spec" and add description about new
    features because stats module can be requested to show statistics data schema.

commit 99e543b87b6b537877498f8dd880becad3a89a0c
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 8 16:00:30 2011 +0900

    [trac930] add utilities and mock-up modules for unittests of
    statistics modules and change some environ variables (PYTHONPATH,
    CONFIG_TESTDATA_PATH) in Makefile
    
    test_utilies.py internally calls msgq, cfgmgr and some mock modules
    with threads for as real situation as possible.

commit adbcfd5da5e1e8de74acfc6eb434382768b31fbd
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 8 15:57:41 2011 +0900

    [trac930] remove unneeded mockups, fake modules and dummy data

commit a6f6fcded4d9ac701865334e7087a61303fed156
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Fri Jul 8 15:55:55 2011 +0900

    [trac930] remove unneeded specfile "stats-schema.spec"

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

Summary of changes:
 src/lib/python/isc/config/module_spec.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/config/module_spec.py b/src/lib/python/isc/config/module_spec.py
index aa8484b..1d51f98 100644
--- a/src/lib/python/isc/config/module_spec.py
+++ b/src/lib/python/isc/config/module_spec.py
@@ -130,7 +130,7 @@ class ModuleSpec:
            non-default values). Also it checks 'item_format' in case
            of time"""
         stat_spec = self.get_statistics_spec()
-        if stat_spec:
+        if stat_spec != None:
             return _validate_spec_list(stat_spec, full, stat, errors)
         else:
             # no spec, always bad




More information about the bind10-changes mailing list