- 03 Oct, 2011 26 commits
-
-
Naoki Kambe authored
-
Naoki Kambe authored
non-existent item name is sent
-
Naoki Kambe authored
is not specified in the argument
-
Naoki Kambe authored
-
Naoki Kambe authored
specfile are changed.
-
Naoki Kambe authored
fails
-
Naoki Kambe authored
of statistics data and add mock ModuleSpec class
-
Naoki Kambe authored
registerStatisticsValidator - validator_type -- a type of statistics validation function - registerStatisticsValidator -- the function to register the validation function
-
Naoki Kambe authored
- 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
-
Naoki Kambe authored
registration of the function to validate the statistics data.
-
Naoki Kambe authored
when validation of statistics data to send to statistics module is failed.
-
Naoki Kambe authored
-
Naoki Kambe authored
- 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
-
Naoki Kambe authored
-
Naoki Kambe authored
httpd module and new mockups and utilities in test_utils.py
-
Naoki Kambe authored
- 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
-
Naoki Kambe authored
- 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
-
Naoki Kambe authored
- 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
-
Naoki Kambe authored
auth module and boss module and also update related unittests of their modules
-
Naoki Kambe authored
module update example format in bindctl when show command of stats module is invoked
-
Naoki Kambe authored
-
Naoki Kambe authored
description about new features because stats module can be requested to show statistics data schema.
-
Naoki Kambe authored
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.
-
Naoki Kambe authored
-
Naoki Kambe authored
-
JINMEI Tatuya authored
-
- 30 Sep, 2011 14 commits
-
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
Jelte Jansen authored
-
Jelte Jansen authored
-
Jelte Jansen authored
-
JINMEI Tatuya authored
that would be a bit type safer.
-
JINMEI Tatuya authored
wrapper mainly for consistency with the pydoc
-
JINMEI Tatuya authored
more careful exception handling in the wrapper, and as a result it resolves
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
it can optionally accept parse options.
-
JINMEI Tatuya authored
-