UsingShopdl: two_nodes.xml

File two_nodes.xml, 1.3 KB (added by mikeryan, 12 years ago)

example TopDL file with two nodes

Line 
1<experiment>
2 <version>1.0</version>
3 <substrates>
4  <name>big-lan</name>
5  <capacity>
6   <rate>100000.000000</rate>
7   <kind>max</kind>
8  </capacity>
9 </substrates>
10 <elements>
11  <computer>
12   <name>node-1</name>
13   <os>
14    <attribute>
15     <attribute>osid</attribute>
16     <value>Ubuntu1004-STD</value>
17    </attribute>
18   </os>
19   <interface>
20    <substrate>big-lan</substrate>
21    <name>inf000</name>
22    <capacity>
23     <rate>100000.000000</rate>
24     <kind>max</kind>
25    </capacity>
26   </interface>
27   <attribute>
28    <attribute>type</attribute>
29    <value>pc2133</value>
30   </attribute>
31   <attribute>
32    <attribute>failureaction</attribute>
33    <value>fatal</value>
34   </attribute>
35  </computer>
36 </elements>
37 <elements>
38  <computer>
39   <name>node-2</name>
40   <os>
41    <attribute>
42     <attribute>osid</attribute>
43     <value>Ubuntu1004-STD</value>
44    </attribute>
45   </os>
46   <interface>
47    <substrate>big-lan</substrate>
48    <name>inf000</name>
49    <capacity>
50     <rate>100000.000000</rate>
51     <kind>max</kind>
52    </capacity>
53   </interface>
54   <attribute>
55    <attribute>type</attribute>
56    <value>pc2133</value>
57   </attribute>
58   <attribute>
59    <attribute>failureaction</attribute>
60    <value>fatal</value>
61   </attribute>
62  </computer>
63 </elements>
64</experiment>