Adds data collectors to gnt-cluster info, currently only showing the
activation state.

Signed-off-by: Aaron Karper <[email protected]>
---
 lib/client/gnt_cluster.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/client/gnt_cluster.py b/lib/client/gnt_cluster.py
index 430ba0b..fae3832 100644
--- a/lib/client/gnt_cluster.py
+++ b/lib/client/gnt_cluster.py
@@ -594,6 +594,9 @@ def ShowClusterConfig(opts, args):
 
     ("Instance policy - limits for instances",
      FormatPolicyInfo(result["ipolicy"], None, True, opts.roman_integers)),
+    ("Data collectors",
+     _FormatGroupedParams(result["enabled_data_collectors"],
+                          roman=opts.roman_integers)),
     ]
 
   PrintGenericInfo(info)
-- 
2.1.0.rc2.206.gedb03e5

Reply via email to