]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
13 years ago[2371] supported open(filename) method
JINMEI Tatuya [Tue, 30 Oct 2012 00:26:11 +0000 (17:26 -0700)] 
[2371] supported open(filename) method

13 years ago[2371] implemented initial framework of MasterLexer and some methods
JINMEI Tatuya [Tue, 30 Oct 2012 00:10:26 +0000 (17:10 -0700)] 
[2371] implemented initial framework of MasterLexer and some methods

13 years ago[master] Merge branch 'trac2370'
JINMEI Tatuya [Mon, 29 Oct 2012 21:26:50 +0000 (14:26 -0700)] 
[master] Merge branch 'trac2370'

13 years ago[2370] added some comments about numeber types
JINMEI Tatuya [Mon, 29 Oct 2012 21:26:28 +0000 (14:26 -0700)] 
[2370] added some comments about numeber types

13 years ago[master] changelog for #2297
JINMEI Tatuya [Mon, 29 Oct 2012 21:17:39 +0000 (14:17 -0700)] 
[master] changelog for #2297

13 years ago[master] Merge branch 'trac2297'
JINMEI Tatuya [Mon, 29 Oct 2012 21:08:11 +0000 (14:08 -0700)] 
[master] Merge branch 'trac2297'

13 years ago[master] add std:: for memcpy. need this for sunstudio/solaris to build.
JINMEI Tatuya [Mon, 29 Oct 2012 20:45:06 +0000 (20:45 +0000)] 
[master] add std:: for memcpy. need this for sunstudio/solaris to build.

13 years agoMerge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
JINMEI Tatuya [Mon, 29 Oct 2012 19:54:02 +0000 (19:54 +0000)] 
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10

13 years ago[master] avoid 'using namespace boost' due to definition conflicts
JINMEI Tatuya [Mon, 29 Oct 2012 19:53:19 +0000 (19:53 +0000)] 
[master] avoid 'using namespace boost' due to definition conflicts

13 years ago[2342] Added updateLease6 capability
Stephen Morris [Mon, 29 Oct 2012 19:19:36 +0000 (19:19 +0000)] 
[2342] Added updateLease6 capability

... where the elase is selected by address only.

13 years ago[master] CfgMgr.subnet6 test disabled
Tomek Mrugalski [Mon, 29 Oct 2012 18:52:12 +0000 (19:52 +0100)] 
[master] CfgMgr.subnet6 test disabled

This test is affected by recently added AllocEngine tests. They
will be fixed shortly, but until that happens, CfgMgr.subnet6
test will remain disabled.

13 years ago[2383] Cover the new Name constructor with tests
Michal 'vorner' Vaner [Mon, 29 Oct 2012 18:45:06 +0000 (19:45 +0100)] 
[2383] Cover the new Name constructor with tests

Hopefully this is all of the functionality to be tested. It does
compile, but not link, since the new constructor has only header, the
body is not written yet (not even empty one).

13 years ago[2213] cleanup: removed now-unused functions
JINMEI Tatuya [Mon, 29 Oct 2012 18:09:06 +0000 (11:09 -0700)] 
[2213] cleanup: removed now-unused functions

this also fixes build failure for some compilers.

13 years ago[2213] style cleanup: removed a redundant blank line at EOF
JINMEI Tatuya [Mon, 29 Oct 2012 18:07:06 +0000 (11:07 -0700)] 
[2213] style cleanup: removed a redundant blank line at EOF

13 years ago[master] sync with the latest datasrc on result code of getCachedZoneWriter().
JINMEI Tatuya [Mon, 29 Oct 2012 18:00:33 +0000 (11:00 -0700)] 
[master] sync with the latest datasrc on result code of getCachedZoneWriter().

13 years ago[master] Merge branch 'trac2212-2'
JINMEI Tatuya [Mon, 29 Oct 2012 17:50:54 +0000 (10:50 -0700)] 
[master] Merge branch 'trac2212-2'

13 years ago[2383] Header of the Name constructor for parser
Michal 'vorner' Vaner [Mon, 29 Oct 2012 17:18:06 +0000 (18:18 +0100)] 
[2383] Header of the Name constructor for parser

The master file parser will need a special Name constructor for
reasonable performance and for convenience/clarity of its code.
Introduce the header for the constructor, a new exception for it and
documentation.

13 years ago[master] unittest fix CfgMgr.getSubnet6()
Tomek Mrugalski [Mon, 29 Oct 2012 17:13:54 +0000 (18:13 +0100)] 
[master] unittest fix CfgMgr.getSubnet6()

13 years ago[2213] add test for AuthSrv::loadZone()
Jelte Jansen [Mon, 29 Oct 2012 15:11:16 +0000 (16:11 +0100)] 
[2213] add test for AuthSrv::loadZone()

13 years ago[2213] command does not need own catch
Jelte Jansen [Mon, 29 Oct 2012 15:02:53 +0000 (16:02 +0100)] 
[2213] command does not need own catch

13 years ago[2213] fix test
Jelte Jansen [Mon, 29 Oct 2012 14:27:39 +0000 (15:27 +0100)] 
[2213] fix test

13 years ago[2342] Address comments in second review.
Stephen Morris [Mon, 29 Oct 2012 13:43:31 +0000 (13:43 +0000)] 
[2342] Address comments in second review.

13 years ago[2213] Initial version of loadZone() support with new threaded structure
Jelte Jansen [Fri, 26 Oct 2012 12:23:49 +0000 (14:23 +0200)] 
[2213] Initial version of loadZone() support with new threaded structure

13 years agoMerge #2209
Michal 'vorner' Vaner [Mon, 29 Oct 2012 12:38:51 +0000 (13:38 +0100)] 
Merge #2209

Introduction of the ConfigurableClientList::getCachedZoneWriter() method.

13 years ago[2209] Comment about assert
Michal 'vorner' Vaner [Mon, 29 Oct 2012 12:28:15 +0000 (13:28 +0100)] 
[2209] Comment about assert

13 years ago[2209] Remove unused memory segment
Michal 'vorner' Vaner [Mon, 29 Oct 2012 12:23:51 +0000 (13:23 +0100)] 
[2209] Remove unused memory segment

13 years ago[2209] Rename DataSourceInfo::segment_
Michal 'vorner' Vaner [Mon, 29 Oct 2012 12:21:53 +0000 (13:21 +0100)] 
[2209] Rename DataSourceInfo::segment_

To ztable_segment_. The previous could be misunderstood, we have other
segments too.

13 years ago[2298] use '%d' in formatting an integer instead of '%s'
Naoki Kambe [Mon, 29 Oct 2012 11:55:44 +0000 (20:55 +0900)] 
[2298] use '%d' in formatting an integer instead of '%s'

13 years ago[master] Merge branch 'trac2324' (DHCPv6 allocation engine)
Tomek Mrugalski [Mon, 29 Oct 2012 12:18:27 +0000 (13:18 +0100)] 
[master] Merge branch 'trac2324' (DHCPv6 allocation engine)

Conflicts:
ChangeLog
src/lib/dhcp/subnet.cc
src/lib/dhcp/subnet.h
src/lib/dhcp/tests/subnet_unittest.cc

13 years ago[2298] It was ok to assume the argument identifier to be a string
Naoki Kambe [Mon, 29 Oct 2012 11:43:23 +0000 (20:43 +0900)] 
[2298] It was ok to assume the argument identifier to be a string

13 years ago[2318] Implemented global options configuration.
Marcin Siodelski [Mon, 29 Oct 2012 11:53:17 +0000 (12:53 +0100)] 
[2318] Implemented global options configuration.

13 years ago[2324] Changes after review (including compilation fixes for Sol, Fedora and Mac OS)
Tomek Mrugalski [Mon, 29 Oct 2012 11:02:24 +0000 (12:02 +0100)] 
[2324] Changes after review (including compilation fixes for Sol, Fedora and Mac OS)

13 years ago[2318] Added global option values in dhcp6 spec.
Marcin Siodelski [Mon, 29 Oct 2012 10:06:32 +0000 (11:06 +0100)] 
[2318] Added global option values in dhcp6 spec.

13 years ago[2369] Check saveLine() + ungetAll()
Mukund Sivaraman [Mon, 29 Oct 2012 04:15:52 +0000 (09:45 +0530)] 
[2369] Check saveLine() + ungetAll()

13 years ago[2369] Throw a custom exception in ungetChar()
Mukund Sivaraman [Mon, 29 Oct 2012 03:05:20 +0000 (08:35 +0530)] 
[2369] Throw a custom exception in ungetChar()

13 years ago[2369] Update comment, whitespace
Mukund Sivaraman [Mon, 29 Oct 2012 02:58:53 +0000 (08:28 +0530)] 
[2369] Update comment, whitespace

13 years ago[2369] Check as much as possible that line numbers are decremented correctly
Mukund Sivaraman [Mon, 29 Oct 2012 02:47:40 +0000 (08:17 +0530)] 
[2369] Check as much as possible that line numbers are decremented correctly

13 years ago[2369] Fix test, skipping backwards before doing newline check
Mukund Sivaraman [Mon, 29 Oct 2012 02:41:06 +0000 (08:11 +0530)] 
[2369] Fix test, skipping backwards before doing newline check

13 years ago[2324] Compilation fix on Mac OS 10.6
Tomek Mrugalski [Mon, 29 Oct 2012 00:07:06 +0000 (01:07 +0100)] 
[2324] Compilation fix on Mac OS 10.6

13 years ago[master] editorial cleanup: removed a redundant white space
JINMEI Tatuya [Sun, 28 Oct 2012 19:13:36 +0000 (12:13 -0700)] 
[master] editorial cleanup: removed a redundant white space

trivial, directly committing.

13 years ago[2297] Make minor comment update
Mukund Sivaraman [Sun, 28 Oct 2012 17:11:41 +0000 (22:41 +0530)] 
[2297] Make minor comment update

13 years agoMerge branch 'master' into trac2360
Mukund Sivaraman [Sun, 28 Oct 2012 15:17:11 +0000 (20:47 +0530)] 
Merge branch 'master' into trac2360

13 years ago[2370] make MasterLexerTokenTest members protected (not public) by convention
JINMEI Tatuya [Sat, 27 Oct 2012 05:28:51 +0000 (22:28 -0700)] 
[2370] make MasterLexerTokenTest members protected (not public) by convention

13 years ago[2370] comment wording fix
JINMEI Tatuya [Sat, 27 Oct 2012 00:22:01 +0000 (17:22 -0700)] 
[2370] comment wording fix

13 years ago[2370] overall documentation updates
JINMEI Tatuya [Sat, 27 Oct 2012 00:11:26 +0000 (17:11 -0700)] 
[2370] overall documentation updates

13 years ago[2370] separate error type token to support error code
JINMEI Tatuya [Fri, 26 Oct 2012 23:01:34 +0000 (16:01 -0700)] 
[2370] separate error type token to support error code

13 years ago[2370] introduced error codes for ERROR-type token
JINMEI Tatuya [Fri, 26 Oct 2012 21:39:53 +0000 (14:39 -0700)] 
[2370] introduced error codes for ERROR-type token

13 years ago[2370] cleanup: move the def of Token class out of Lexer for readability.
JINMEI Tatuya [Fri, 26 Oct 2012 21:23:16 +0000 (14:23 -0700)] 
[2370] cleanup: move the def of Token class out of Lexer for readability.

13 years ago[2209] Fix test after code update
Michal 'vorner' Vaner [Fri, 26 Oct 2012 19:10:06 +0000 (21:10 +0200)] 
[2209] Fix test after code update

The test faked some internal state in an insufficient way.

13 years ago[2209] Store the segment in client list
Michal 'vorner' Vaner [Fri, 26 Oct 2012 18:47:18 +0000 (20:47 +0200)] 
[2209] Store the segment in client list

So the memory client doesn't have to provide an interface to return it.
It was hairy to some extent.

13 years ago[2370] added some more tests, comment fixes
JINMEI Tatuya [Fri, 26 Oct 2012 18:37:58 +0000 (11:37 -0700)] 
[2370] added some more tests, comment fixes

13 years ago[2209] Don't release the zone table twice
Michal 'vorner' Vaner [Fri, 26 Oct 2012 18:15:53 +0000 (20:15 +0200)] 
[2209] Don't release the zone table twice

Removing the release from the test, since the segment now destroys it
itself. We can't check all memory is deallocated at that moment in the
test (since we can't do it before the destroy -- it is not deallocated
fully yet, and can't do it after also, since the memory segment doesn't
exist). But that doesn't matter, since the segment checks by assert.

13 years ago[2209] Writer for the test segment
Michal 'vorner' Vaner [Fri, 26 Oct 2012 18:11:40 +0000 (20:11 +0200)] 
[2209] Writer for the test segment

13 years ago[2209] Test ZoneTableSegmentLocal
Michal 'vorner' Vaner [Fri, 26 Oct 2012 18:09:21 +0000 (20:09 +0200)] 
[2209] Test ZoneTableSegmentLocal

And not ZoneTableSegmentTest like before. Testing a mock class (and not
testing the real class) makes no sense.

13 years ago[2209] Merge trac2208
Michal 'vorner' Vaner [Fri, 26 Oct 2012 17:33:53 +0000 (19:33 +0200)] 
[2209] Merge trac2208

Compiles, but tests don't pass. There's something rotten in there.

Conflicts:
src/lib/datasrc/memory/memory_client.cc
src/lib/datasrc/memory/memory_client.h
src/lib/datasrc/memory/zone_table_segment_local.h
src/lib/datasrc/tests/memory/memory_client_unittest.cc
src/lib/datasrc/tests/memory/zone_table_segment_unittest.cc

13 years ago[2212] guard death tests with !runningOnValgrind().
JINMEI Tatuya [Fri, 26 Oct 2012 16:19:41 +0000 (09:19 -0700)] 
[2212] guard death tests with !runningOnValgrind().

13 years ago[2212] wording updates to BUILDER_COMMAND_ERROR description
JINMEI Tatuya [Fri, 26 Oct 2012 16:14:10 +0000 (09:14 -0700)] 
[2212] wording updates to BUILDER_COMMAND_ERROR description

13 years ago[2212-2] added an unnecessary return to silence some compilers
JINMEI Tatuya [Fri, 26 Oct 2012 16:12:29 +0000 (09:12 -0700)] 
[2212-2] added an unnecessary return to silence some compilers

13 years ago[2209] Typo
Michal 'vorner' Vaner [Fri, 26 Oct 2012 14:21:28 +0000 (16:21 +0200)] 
[2209] Typo

13 years ago[2209] Rewrite the reload() wrapper
Michal 'vorner' Vaner [Fri, 26 Oct 2012 14:08:18 +0000 (16:08 +0200)] 
[2209] Rewrite the reload() wrapper

Some people found the previous hard to follow.

13 years ago[2209] Hide private type shortcut
Michal 'vorner' Vaner [Fri, 26 Oct 2012 14:01:10 +0000 (16:01 +0200)] 
[2209] Hide private type shortcut

13 years ago[2209] Rename ZONE_RELOADED
Michal 'vorner' Vaner [Fri, 26 Oct 2012 13:55:33 +0000 (15:55 +0200)] 
[2209] Rename ZONE_RELOADED

Since it is not used for reloading a zone only. It is now ZONE_SUCCESS.

13 years ago[2324] Changes after review.
Tomek Mrugalski [Fri, 26 Oct 2012 13:37:45 +0000 (15:37 +0200)] 
[2324] Changes after review.

13 years ago[2324] Corrected some minor typos.
Marcin Siodelski [Fri, 26 Oct 2012 11:57:42 +0000 (13:57 +0200)] 
[2324] Corrected some minor typos.

13 years ago[2298] skip test_do_GET() if XMLParser() is unavailable
Naoki Kambe [Tue, 16 Oct 2012 09:43:52 +0000 (18:43 +0900)] 
[2298] skip test_do_GET() if XMLParser() is unavailable

skip test_do_GET() if XMLParser() is unavailable on the system. This
is for Ticket #2048 (configure check for pyexpat).

13 years ago[2298] add a unittest using XML validation with XSD
Naoki Kambe [Tue, 16 Oct 2012 09:47:20 +0000 (18:47 +0900)] 
[2298] add a unittest using XML validation with XSD

XML validation with XSD by using the lxml module. the lxml module is a
third-party module. so if it is not installed on the system, the unittest using
the validation would be skipped.

13 years ago[2298] use assertGreater() rather than assertTrue()
Naoki Kambe [Fri, 26 Oct 2012 07:14:22 +0000 (16:14 +0900)] 
[2298] use assertGreater() rather than assertTrue()

13 years ago[2298] assert IOError raising instead of StatsHttpdDataError
Naoki Kambe [Fri, 26 Oct 2012 07:16:52 +0000 (16:16 +0900)] 
[2298] assert IOError raising instead of StatsHttpdDataError

13 years ago[2298] modify the open_template() method
Naoki Kambe [Mon, 15 Oct 2012 12:14:46 +0000 (21:14 +0900)] 
[2298] modify the open_template() method

open_template() throws StatsHttpdDataError instead of IOError when the
specified file is not found. The parent class catches it and returns a
404 status code.

13 years ago[2298] append a Last-Modified header
Naoki Kambe [Mon, 15 Oct 2012 12:08:51 +0000 (21:08 +0900)] 
[2298] append a Last-Modified header

This is because the server tells browsers that the contents are always
being modified.

13 years ago[2298] return a 500 status code when catching any exception
Naoki Kambe [Mon, 15 Oct 2012 12:08:09 +0000 (21:08 +0900)] 
[2298] return a 500 status code when catching any exception

13 years ago[2298] revert checks of http status codes when requesting XSL URI with some path
Naoki Kambe [Fri, 26 Oct 2012 10:02:07 +0000 (19:02 +0900)] 
[2298] revert checks of http status codes when requesting XSL URI with some path

This is because in the case the daemon responds a 404 code.

13 years ago[2298] revert checks of http status codes when requesting XSD URI with some path
Naoki Kambe [Fri, 26 Oct 2012 10:01:50 +0000 (19:01 +0900)] 
[2298] revert checks of http status codes when requesting XSD URI with some path

This is because in the case the daemon responds a 404 code.

13 years ago[2298] modify check_XML_URL_PATH() in test_do_GET()
Naoki Kambe [Fri, 26 Oct 2012 10:00:22 +0000 (19:00 +0900)] 
[2298] modify check_XML_URL_PATH() in test_do_GET()

pass a single itentifier of each item to the check_XML_URL_PATH()
method as a URI.

13 years ago[2298] modify the xsl_handler() method
Naoki Kambe [Fri, 26 Oct 2012 09:58:41 +0000 (18:58 +0900)] 
[2298] modify the xsl_handler() method

do not accept any arguments due to unnecessity

13 years ago[2298] modify the xsd_handler() method
Naoki Kambe [Fri, 26 Oct 2012 09:58:09 +0000 (18:58 +0900)] 
[2298] modify the xsd_handler() method

do not accept any arguments due to unnecessity

13 years ago[2298] modify the xml_handler() method
Naoki Kambe [Fri, 26 Oct 2012 09:55:59 +0000 (18:55 +0900)] 
[2298] modify the xml_handler() method

The requested URI is divided at the delimiter '/' and the module name
and the top-level item name are extracted if there are. It requests
statistics data and statistics schema of them the the stats daemon. It
builds an xml document by the values returned from the stats daemon.

13 years ago[2298] modify DUMMY_DATA
Naoki Kambe [Tue, 16 Oct 2012 01:41:49 +0000 (10:41 +0900)] 
[2298] modify DUMMY_DATA

For consistency with consts in test_utils.py. Modifying for consisting
of time values based on CONST_BASETIME in test_utils.py. Modifying to
counters returned from MockAuth in test_utils.py.

13 years ago[2298] add CONST_BASETIME and use it in MockBoss and MyStats classes
Naoki Kambe [Tue, 16 Oct 2012 02:15:01 +0000 (11:15 +0900)] 
[2298] add CONST_BASETIME and use it in MockBoss and MyStats classes

Add fixed BASETIME not depending on the time module. And modify
MockBoss and MockStats classes in order that they return time values
of that. This is for testing b10-stats and b10-stats-httpd.

13 years ago[2298] add a copyright
Naoki Kambe [Tue, 16 Oct 2012 02:15:38 +0000 (11:15 +0900)] 
[2298] add a copyright

13 years ago[2298] append a slash at the end of the URI
Naoki Kambe [Mon, 15 Oct 2012 12:18:50 +0000 (21:18 +0900)] 
[2298] append a slash at the end of the URI

13 years ago[2298] modify handling the accepted URI
Naoki Kambe [Mon, 15 Oct 2012 12:07:10 +0000 (21:07 +0900)] 
[2298] modify handling the accepted URI

- Do not return a dynamic page when being requested XSD or XSL. So
  pass nothing to xsd_handler() or xsl_handler(). Pass path in URI to
  xml_handler().

- XML_URL_PATH is handled as a directory.  When XML_URL_PATH which
  doesn't ends with '/' is requested, the request is redirected to
  XML_URL_PATH + '/'.

13 years ago[2298] modify consts related to XML, XSD, and XSL
Naoki Kambe [Mon, 15 Oct 2012 13:07:30 +0000 (22:07 +0900)] 
[2298] modify consts related to XML, XSD, and XSL

change URIs of XSD and XSL to fixed ones

13 years ago[2298] rename the parameter name for template
Naoki Kambe [Fri, 26 Oct 2012 07:21:53 +0000 (16:21 +0900)] 
[2298] rename the parameter name for template

13 years ago[2298] update HTTP status codes due to the change of xsl_handler()
Naoki Kambe [Fri, 26 Oct 2012 09:42:12 +0000 (18:42 +0900)] 
[2298] update HTTP status codes due to the change of xsl_handler()

13 years ago[2298] modify test_xsl_handler()
Naoki Kambe [Mon, 15 Oct 2012 12:30:48 +0000 (21:30 +0900)] 
[2298] modify test_xsl_handler()

Remove the obsoleted content and add checks for items in the xsl
document which can be also in the xml document.

13 years ago[2298] modify test_do_GET() and check_XSL_URL_PATH()
Naoki Kambe [Mon, 15 Oct 2012 13:01:36 +0000 (22:01 +0900)] 
[2298] modify test_do_GET() and check_XSL_URL_PATH()

This change is due to the change of the xsl format displayed by
b10-stats-httpd.

13 years ago[2298] modify test_xsl_handler()
Naoki Kambe [Tue, 16 Oct 2012 04:16:54 +0000 (13:16 +0900)] 
[2298] modify test_xsl_handler()

Remove the obsoleted content and add checks for items in the xsl document which
can be also in the xml document.

13 years ago[2298] modify the xsl template file
Naoki Kambe [Mon, 15 Oct 2012 12:04:49 +0000 (21:04 +0900)] 
[2298] modify the xsl template file

The XSL contents are fixed.

13 years ago[2298] update HTTP status codes due to the change of xsl_handler()
Naoki Kambe [Fri, 26 Oct 2012 09:29:19 +0000 (18:29 +0900)] 
[2298] update HTTP status codes due to the change of xsl_handler()

13 years ago[2298] rename the parameter name for template
Naoki Kambe [Fri, 26 Oct 2012 07:21:32 +0000 (16:21 +0900)] 
[2298] rename the parameter name for template

13 years ago[2298] modify test_xsd_handler()
Naoki Kambe [Tue, 16 Oct 2012 06:37:28 +0000 (15:37 +0900)] 
[2298] modify test_xsd_handler()

Remove the obsoleted content and add checks for elements in the xsd document.

13 years ago[2298] modify test_do_GET() and check_XSD_URL_PATH()
Naoki Kambe [Mon, 15 Oct 2012 12:59:53 +0000 (21:59 +0900)] 
[2298] modify test_do_GET() and check_XSD_URL_PATH()

This change is due to the change of the xsd format displayed by
b10-stats-httpd.

13 years ago[2298] modify the xsd_handler() method
Naoki Kambe [Tue, 16 Oct 2012 04:15:49 +0000 (13:15 +0900)] 
[2298] modify the xsd_handler() method

xsd_handler() doesn't accept any arguments such as a module name and a item
name. It replaces variable strings in the template and displays it.

13 years ago[2298] modify the xsd template file
Naoki Kambe [Mon, 15 Oct 2012 12:04:44 +0000 (21:04 +0900)] 
[2298] modify the xsd template file

The XSD contents are fixed.

13 years ago[2298] add constants of XML namespaces for using in tests
Naoki Kambe [Tue, 16 Oct 2012 01:24:57 +0000 (10:24 +0900)] 
[2298] add constants of XML namespaces for using in tests

13 years ago[2298] add some consts (xml root element and attributes)
Naoki Kambe [Fri, 26 Oct 2012 08:58:37 +0000 (17:58 +0900)] 
[2298] add some consts (xml root element and attributes)

13 years ago[2298] update test_xml_handler()
Naoki Kambe [Mon, 15 Oct 2012 12:22:32 +0000 (21:22 +0900)] 
[2298] update test_xml_handler()

Remove the obsoleted content and add checks for items in the xml document.

13 years ago[2298] modify test_do_GET() and check_XML_URL_PATH()
Naoki Kambe [Fri, 26 Oct 2012 09:09:59 +0000 (18:09 +0900)] 
[2298] modify test_do_GET() and check_XML_URL_PATH()

This change is due to the change of the xml format displayed by
b10-stats-httpd.

13 years ago[2298] modify the xml_handler() method
Naoki Kambe [Fri, 26 Oct 2012 10:25:02 +0000 (19:25 +0900)] 
[2298] modify the xml_handler() method

Build an XML document with a new format by module_name and item_name.  Each
item is a item tag of the XML document. Each item attribute in statistics spec
is an attribute in the 'item' element. dict-type and list-type values in python
are not displayed in the XML document as it is. They are changed to empty
strings. Then actual values are displayed in the lower level under them.