Commit 834dc290 authored by Michele Tartara's avatar Michele Tartara
Browse files

Export the dcVersionInformation for the Drbd collector



Also, update the JSON output (and the design document) so that it is not
in camelcase anymore. This is part of a bigger effort to remove camelcase
from the exposed JSON.
Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
Reviewed-by: default avatarBernardo Dal Seno <bdalseno@google.com>
parent a895fa19
......@@ -66,7 +66,7 @@ the data collectors:
report. Built-in data collectors (as opposed to those implemented as
plugins) should have "B" as the version number.
``formatVersion``
``format_version``
The format of what is represented in the "data" field for each data
collector might change over time. Every time this happens, the
format_version should be changed, so that who reads the report knows
......@@ -103,7 +103,7 @@ Here follows a minimal example of a report::
{
"name" : "TheCollectorIdentifier",
"version" : "1.2",
"formatVersion" : 1,
"format_version" : 1,
"timestamp" : 1351607182000000000,
"category" : null,
"kind" : 0,
......@@ -112,7 +112,7 @@ Here follows a minimal example of a report::
{
"name" : "AnotherDataCollector",
"version" : "B",
"formatVersion" : 7,
"format_version" : 7,
"timestamp" : 1351609526123854000,
"category" : "storage",
"kind" : 1,
......
......@@ -29,6 +29,7 @@ module Ganeti.DataCollectors.Drbd
, arguments
, dcName
, dcVersion
, dcFormatVersion
) where
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment