summaryrefslogtreecommitdiffstats
path: root/cts/cli/crm_diff_new.xml
blob: 04676187cf7a4c01ed8b05b55ffb46981585c825 (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>
    <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>