1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <!-- |
---|
3 | This example RSpec shows how to request 4 VMs from an |
---|
4 | ExoGENI Rack. |
---|
5 | --> |
---|
6 | <rspec type="request" |
---|
7 | xsi:schemaLocation="http://www.geni.net/resources/rspec/3 |
---|
8 | http://www.geni.net/resources/rspec/3/request.xsd |
---|
9 | http://www.protogeni.net/resources/rspec/ext/shared-vlan/1 |
---|
10 | http://www.protogeni.net/resources/rspec/ext/shared-vlan/1/request.xsd" |
---|
11 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
12 | xmlns:s="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1" |
---|
13 | xmlns="http://www.geni.net/resources/rspec/3"> |
---|
14 | <node client_id="MP-1" exclusive="false" > |
---|
15 | <sliver_type name="m1.large"> |
---|
16 | <disk_image name="http://stout.incntre.iu.edu/vm/exogeni/centos/centos6.3-v1.0.7-GEMINI.xml" version="edc64ed0e95e5e51261719a87774c786d889eebf" /> |
---|
17 | </sliver_type> |
---|
18 | <interface client_id="VM-1:if0"> |
---|
19 | <ip address="172.16.0.1" netmask="255.255.255.0" /> |
---|
20 | </interface> |
---|
21 | <interface client_id="VM-1:if1"> |
---|
22 | <ip address="172.16.1.1" netmask="255.255.255.0" /> |
---|
23 | </interface> |
---|
24 | </node> |
---|
25 | <node client_id="MP-2" exclusive="false"> |
---|
26 | <sliver_type name="m1.large"> |
---|
27 | <disk_image name="http://stout.incntre.iu.edu/vm/exogeni/centos/centos6.3-v1.0.7-GEMINI.xml" version="edc64ed0e95e5e51261719a87774c786d889eebf" /> |
---|
28 | </sliver_type> |
---|
29 | <interface client_id="VM-2:if0"> |
---|
30 | <ip address="172.16.0.2" netmask="255.255.255.0" /> |
---|
31 | </interface> |
---|
32 | <interface client_id="VM-2:if1"> |
---|
33 | <ip address="172.16.3.2" netmask="255.255.255.0" /> |
---|
34 | </interface> |
---|
35 | </node> |
---|
36 | <node client_id="MP-3" exclusive="false"> |
---|
37 | <sliver_type name="m1.large"> |
---|
38 | <disk_image name="http://stout.incntre.iu.edu/vm/exogeni/centos/centos6.3-v1.0.7-GEMINI.xml" version="edc64ed0e95e5e51261719a87774c786d889eebf" /> |
---|
39 | </sliver_type> |
---|
40 | <interface client_id="VM-3:if0"> |
---|
41 | <ip address="172.16.0.2" netmask="255.255.255.0" /> |
---|
42 | </interface> |
---|
43 | <interface client_id="VM-3:if1"> |
---|
44 | <ip address="172.16.3.1" netmask="255.255.255.0" /> |
---|
45 | </interface> |
---|
46 | </node> |
---|
47 | <node client_id="GN-1" exclusive="false" > |
---|
48 | <sliver_type name="m1.large"> |
---|
49 | <disk_image name="http://stout.incntre.iu.edu/vm/exogeni/centos/centos6.3-v1.0.7-GEMINI.xml" version="edc64ed0e95e5e51261719a87774c786d889eebf" /> |
---|
50 | </sliver_type> |
---|
51 | </node> |
---|
52 | <link client_id="lan0"> |
---|
53 | <interface_ref client_id="VM-1:if0"/> |
---|
54 | <interface_ref client_id="VM-2:if0"/> |
---|
55 | <link_type name="lan"/> |
---|
56 | </link> |
---|
57 | <link client_id="lan1"> |
---|
58 | <interface_ref client_id="VM-1:if1"/> |
---|
59 | <interface_ref client_id="VM-3:if0"/> |
---|
60 | <link_type name="lan"/> |
---|
61 | </link> |
---|
62 | <link client_id="lan2"> |
---|
63 | <interface_ref client_id="VM-2:if1"/> |
---|
64 | <interface_ref client_id="VM-3:if1"/> |
---|
65 | <link_type name="lan"/> |
---|
66 | </link> |
---|
67 | |
---|
68 | </rspec> |
---|