summaryrefslogtreecommitdiffstats
path: root/cts/cli/crm_diff_old.xml
blob: bdca737c9702e5199c4f1fada9e9480f21374ef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<cib crm_feature_set="3.2.0" validate-with="pacemaker-3.2" epoch="1" num_updates="0" admin_epoch="0">
  <configuration>
    <!-- test: move this comment to end of configuration -->
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <!-- test: move attribute "value" before "name" -->
        <nvpair id="cib-bootstrap-options-cluster-name" name="cluster-name" value="mycluster" />
        <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="1" />
      </cluster_property_set>
    </crm_config>
    <!-- test: delete this comment -->
    <nodes>
      <node id="1" uname="node1"/>
      <node id="2" uname="node2"/>
      <node id="3" uname="node3"/>
      <!-- test: add element for node4 -->
    </nodes>
    <!-- test: add a new comment below this one -->
    <resources>
      <!-- test: modify this comment -->
      <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"/>
        </instance_attributes>
        <operations>
          <!-- test: add attribute timeout="120s" -->
          <op id="Fencing-monitor-120s" interval="120s" name="monitor" />
          <op id="Fencing-stop-0" interval="0" name="stop" timeout="60s"/>
          <!-- test: delete element Fencing-start-0 -->
          <op id="Fencing-start-0" interval="0" name="start" timeout="60s"/>
        </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-fake" name="fake" value="0"/>
          <nvpair id="dummy-op_sleep" name="op_sleep" value="3"/>
        </instance_attributes>
        <operations>
          <!-- test: delete attribute timeout -->
          <op id="dummy-monitor-5s" interval="5s" timeout="10s" name="monitor"/>
        </operations>
      </primitive>
    </resources>
    <constraints/>
  </configuration>
  <status/>
</cib>