[svn] commit: r2602 - /branches/trac191/src/bin/stats/stats.spec.pre.in

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Jul 23 11:33:12 UTC 2010


Author: naokikambe
Date: Fri Jul 23 11:33:11 2010
New Revision: 2602

Log:
conversion specfile to json format

Modified:
    branches/trac191/src/bin/stats/stats.spec.pre.in

Modified: branches/trac191/src/bin/stats/stats.spec.pre.in
==============================================================================
--- branches/trac191/src/bin/stats/stats.spec.pre.in (original)
+++ branches/trac191/src/bin/stats/stats.spec.pre.in Fri Jul 23 11:33:11 2010
@@ -6,7 +6,7 @@
       {
         "item_name": "report_time",
         "item_type": "string",
-        "item_optional": False,
+        "item_optional": false,
         "item_default": "1970-01-01T00:00:00Z",
         "item_title": "Report time",
         "item_description": "A date time when stats module reports",
@@ -15,7 +15,7 @@
       {
         "item_name": "bind10.boot_time",
         "item_type": "string",
-        "item_optional": False,
+        "item_optional": false,
         "item_default": "1970-01-01T00:00:00Z",
         "item_title": "stats.BootTime",
         "item_description": "A date time when b10-stats process starts",
@@ -24,7 +24,7 @@
       {
         "item_name": "stats.boot_time",
         "item_type": "string",
-        "item_optional": False,
+        "item_optional": false,
         "item_default": "1970-01-01T00:00:00Z",
         "item_title": "stats.BootTime",
         "item_description": "A date time when the stats module starts initially or a time when the stats module restarts",
@@ -33,7 +33,7 @@
       {
         "item_name": "stats.start_time",
         "item_type": "string",
-        "item_optional": False,
+        "item_optional": false,
         "item_default": "1970-01-01T00:00:00Z",
         "item_title": "stats.StartTime",
         "item_description": "A date time when the stats module starts collecting data and aggregating values, or resetting data at last time",
@@ -42,7 +42,7 @@
       {
         "item_name": "stats.last_update_time",
         "item_type": "string",
-        "item_optional": False,
+        "item_optional": false,
         "item_default": "1970-01-01T00:00:00Z",
         "item_title": "stats.LastUpdateTime",
         "item_description": "The latest date time when the stats module accepts from another modules like auth server or boss process and so on",
@@ -51,7 +51,7 @@
       {
         "item_name": "stats.timestamp",
         "item_type": "real",
-        "item_optional": False,
+        "item_optional": false,
         "item_default": 0.0,
         "item_title": "stats.Timestamp",
         "item_description": "Current timestamp since epoch time (1970-01-01T00:00:00Z)",
@@ -60,7 +60,7 @@
       {
         "item_name": "stats.lname",
         "item_type": "string",
-        "item_optional": False,
+        "item_optional": false,
         "item_default": "123abc at xxxx",
         "item_title": "stats.LocalName",
         "item_description": "A localname of stats module given via CC protocol"
@@ -68,7 +68,7 @@
       {
         "item_name": "auth.queries.tcp",
         "item_type": "integer",
-        "item_optional": False,
+        "item_optional": false,
         "item_default": 0,
         "item_title": "auth.queries.tcp",
         "item_description": "A number of total query counts which all auth servers receives in TCP since they starts initially"
@@ -76,7 +76,7 @@
       {
         "item_name": "auth.queries.udp",
         "item_type": "integer",
-        "item_optional": False,
+        "item_optional": false,
         "item_default": 0,
         "item_title": "auth.queries.udp",
         "item_description": "A number of total query counts which all auth servers receives in UDP since they starts initially"
@@ -84,7 +84,6 @@
     ],
     "commands": [
       {
-
         "command_name": "status",
         "command_description": "status command",
         "command_args": []
@@ -94,21 +93,21 @@
         "command_description": "show specified/all statistics data",
         "command_args": [
           {
-            "item_name" : "stats_item_name",
-            "item_type" : "string",
-            "item_optional": True,
+            "item_name": "stats_item_name",
+            "item_type": "string",
+            "item_optional": true,
             "item_default": ""
           }
         ]
       },
       {
+        "command_description": "set the value of specified name in statistics data",
         "command_name": "set",
-        "command_description": "set the value of specified name in statistics data",
         "command_args": [
           {
-            "item_name" : "stats_data",
-            "item_type" : "map",
-            "item_optional": False,
+            "item_name": "stats_data",
+            "item_type": "map",
+            "item_optional": false,
             "item_default": {},
             "map_item_spec": []
           }
@@ -119,9 +118,9 @@
         "command_description": "increase the existent value of specified name in statistics data",
         "command_args": [
           {
-            "item_name" : "stats_data",
-            "item_type" : "map",
-            "item_optional": False,
+            "item_name": "stats_data",
+            "item_type": "map",
+            "item_optional": false,
             "item_default": {},
             "map_item_spec": []
           }
@@ -132,9 +131,9 @@
         "command_description": "remove the specified name in statistics data",
         "command_args": [
           {
-            "item_name" : "stats_item_name",
-            "item_type" : "string",
-            "item_optional": False,
+            "item_name": "stats_item_name",
+            "item_type": "string",
+            "item_optional": false,
             "item_default": ""
           }
         ]




More information about the bind10-changes mailing list