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