summaryrefslogtreecommitdiffstats
path: root/xml/test-2-enter/020-instance_atributes-rsc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'xml/test-2-enter/020-instance_atributes-rsc.xml')
-rw-r--r--xml/test-2-enter/020-instance_atributes-rsc.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/xml/test-2-enter/020-instance_atributes-rsc.xml b/xml/test-2-enter/020-instance_atributes-rsc.xml
new file mode 100644
index 0000000..0a651d0
--- /dev/null
+++ b/xml/test-2-enter/020-instance_atributes-rsc.xml
@@ -0,0 +1,39 @@
+<cib validate-with="pacemaker-2.0" admin_epoch="0" epoch="0" num_updates="0">
+ <configuration>
+ <crm_config/>
+ <nodes>
+
+ <node id="virt-063" uname="virt-063"/>
+ <node id="virt-064" uname="virt-064"/>
+ <node id="virt-069" uname="virt-069"/>
+
+ </nodes>
+ <resources>
+
+ <primitive id="myAddr1" class="ocf" provider="heartbeat" type="IPaddr2">
+ <operations>
+ <op id="myAddr1-monitor" name="monitor" interval="30s"/>
+ </operations>
+ <instance_attributes id="myAddr1-params">
+ <nvpair id="myAddr1-ip" name="ip" value="192.0.2.10"/>
+ </instance_attributes>
+ <instance_attributes id="myAddr-common-params">
+ <nvpair id="myAddr-common-cidr_netmask" name="cidr_netmask" value="23"/>
+ </instance_attributes>
+ </primitive>
+
+ <primitive id="myAddr2" class="ocf" provider="heartbeat" type="IPaddr2">
+ <operations>
+ <op id="myAddr2-monitor" name="monitor" interval="30s"/>
+ </operations>
+ <instance_attributes id="myAddr2-params">
+ <nvpair id="myAddr2-ip" name="ip" value="192.0.2.42"/>
+ </instance_attributes>
+ <instance_attributes id-ref="myAddr-common-params"/>
+ </primitive>
+
+ </resources>
+ <constraints/>
+ </configuration>
+ <status/>
+</cib>