10ebf8
From 5b6280ac1a213e176aee6d61945b3283ea060a88 Mon Sep 17 00:00:00 2001
10ebf8
From: Petr Pavlu <petr.pavlu@suse.com>
10ebf8
Date: Tue, 24 May 2022 18:02:31 +0200
10ebf8
Subject: [PATCH] Feature: tools: report CRM feature set of nodes by crm_mon
10ebf8
10ebf8
Enable crm_mon to report when CRM feature set is not consistent among
10ebf8
online nodes and output a version of each node if --show-detail is
10ebf8
specified.
10ebf8
---
10ebf8
 xml/api/crm_mon-2.21.rng           |   3 +
10ebf8
 xml/api/nodes-2.21.rng             |   3 +
10ebf8
 9 files changed, 508 insertions(+), 125 deletions(-)
10ebf8
 create mode 100644 cts/cli/crm_mon-feature_set.xml
10ebf8
 create mode 100644 cts/cli/regression.feature_set.exp
10ebf8
10ebf8
diff --git a/xml/api/crm_mon-2.21.rng b/xml/api/crm_mon-2.21.rng
10ebf8
index 37036d665..e99bcc3d7 100644
10ebf8
--- a/xml/api/crm_mon-2.21.rng
10ebf8
+++ b/xml/api/crm_mon-2.21.rng
10ebf8
@@ -54,6 +54,9 @@
10ebf8
                             <attribute name="with_quorum"> <data type="boolean" /> </attribute>
10ebf8
                         </group>
10ebf8
                     </optional>
10ebf8
+                    <optional>
10ebf8
+                        <attribute name="mixed_version"> <data type="boolean" /> </attribute>
10ebf8
+                    </optional>
10ebf8
                 </element>
10ebf8
             </optional>
10ebf8
             <optional>
10ebf8
diff --git a/xml/api/nodes-2.21.rng b/xml/api/nodes-2.21.rng
10ebf8
index df4c77f37..7e236ba63 100644
10ebf8
--- a/xml/api/nodes-2.21.rng
10ebf8
+++ b/xml/api/nodes-2.21.rng
10ebf8
@@ -25,6 +25,9 @@
10ebf8
                     </choice>
10ebf8
                 </attribute>
10ebf8
             </optional>
10ebf8
+            <optional>
10ebf8
+                <attribute name="feature_set"> <text/> </attribute>
10ebf8
+            </optional>
10ebf8
             <attribute name="shutdown"> <data type="boolean" /> </attribute>
10ebf8
             <attribute name="expected_up"> <data type="boolean" /> </attribute>
10ebf8
             <attribute name="is_dc"> <data type="boolean" /> </attribute>
10ebf8
-- 
10ebf8
2.31.1
10ebf8