summaryrefslogtreecommitdiffstats
path: root/cts/cli/crm_diff_new.xml
diff options
context:
space:
mode:
Diffstat (limited to 'cts/cli/crm_diff_new.xml')
-rw-r--r--cts/cli/crm_diff_new.xml54
1 files changed, 54 insertions, 0 deletions
diff --git a/cts/cli/crm_diff_new.xml b/cts/cli/crm_diff_new.xml
new file mode 100644
index 0000000..0467618
--- /dev/null
+++ b/cts/cli/crm_diff_new.xml
@@ -0,0 +1,54 @@
+<cib crm_feature_set="3.2.0" validate-with="pacemaker-3.2" epoch="1" num_updates="0" admin_epoch="0">
+ <configuration>
+ <crm_config>
+ <cluster_property_set id="cib-bootstrap-options">
+ <!-- test: move attribute "value" before "name" -->
+ <nvpair id="cib-bootstrap-options-cluster-name" value="mycluster" name="cluster-name" />
+ <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="1" />
+ </cluster_property_set>
+ </crm_config>
+ <nodes>
+ <node id="1" uname="node1"/>
+ <node id="2" uname="node2"/>
+ <node id="3" uname="node3"/>
+ <!-- test: add element for node4 -->
+ <node id="4" uname="node4"/>
+ </nodes>
+ <!-- test: add a new comment below this one -->
+ <!-- hello world -->
+ <resources>
+ <!-- test: modify this comment to say something different -->
+ <primitive id="Fencing" class="stonith" type="fence_xvm">
+ <meta_attributes id="Fencing-meta">
+ <nvpair id="Fencing-migration-threshold" name="migration-threshold" value="5"/>
+ </meta_attributes>
+ <instance_attributes id="Fencing-params">
+ <nvpair id="Fencing-key_file" name="key_file" value="/etc/pacemaker/fence_xvm.key"/>
+ <nvpair id="Fencing-multicast_address" name="multicast_address" value="239.255.100.100"/>
+ <!-- test: modify attribute value to add node4 -->
+ <nvpair id="Fencing-pcmk_host_list" name="pcmk_host_list" value="node1 node2 node3 node4"/>
+ </instance_attributes>
+ <operations>
+ <!-- test: add attribute timeout="120s" -->
+ <op id="Fencing-monitor-120s" interval="120s" timeout="120s" name="monitor" />
+ <op id="Fencing-stop-0" interval="0" name="stop" timeout="60s"/>
+ <!-- test: delete element Fencing-start-0 -->
+ </operations>
+ </primitive>
+ <primitive id="dummy" class="ocf" type="pacemaker" provider="Dummy">
+ <instance_attributes id="dummy-params">
+ <!-- test: move element dummy-fake below dummy-op_sleep -->
+ <nvpair id="dummy-op_sleep" name="op_sleep" value="3"/>
+ <nvpair id="dummy-fake" name="fake" value="0"/>
+ </instance_attributes>
+ <operations>
+ <!-- test: delete attribute timeout -->
+ <op id="dummy-monitor-5s" interval="5s" name="monitor"/>
+ </operations>
+ </primitive>
+ </resources>
+ <constraints/>
+ <!-- test: move this comment to end of configuration -->
+ </configuration>
+ <status/>
+</cib>