source: trunk/GENIRacks/InstaGENI/Spiral4/RSpecs/AcceptanceTests/IG-EXP-7/IG-EXP-7.rspec

Last change on this file was 1806, checked in by lnevers@bbn.com, 12 years ago

adding rspec that uses the 2 shared layer 2 VLANs named L2-ping-tutorial and IG-EXP-7

File size: 6.0 KB
RevLine 
[1806]1<rspec xmlns="http://www.geni.net/resources/rspec/3"
2        xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
3        xmlns:sharedvlan="http://www.geni.net/resources/rspec/ext/shared-vlan/1"
4        xs:schemaLocation="http://www.geni.net/resources/rspec/3           
5        http://www.geni.net/resources/rspec/3/request.xsd
6        http://www.geni.net/resources/rspec/ext/shared-vlan/1
7        http://www.geni.net/resources/rspec/ext/shared-vlan/1/request.xsd"
8type="request">
9
10  <node client_id="hostA" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" exclusive="false">
11    <sliver_type name="emulab-openvz"/>
12    <interface client_id="hostA:if0">
13    <ip address="10.42.14.2" netmask="255.255.255.0" type="ipv4"/>
14    </interface>
15  </node>
16  <node client_id="top" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" exclusive="false">
17    <sliver_type name="emulab-openvz"/>
18    <services>
19      <execute command="sudo /local/install-script.sh" shell="sh"/>
20      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz"/>
21    </services>
22    <interface client_id="top:if0">
23    <ip address="10.42.14.1" netmask="255.255.255.0" type="ipv4"/>
24    </interface>
25    <interface client_id="top:if1">
26    <ip address="10.42.11.2" netmask="255.255.255.0" type="ipv4"/>
27    </interface>
28    <interface client_id="top:if2">
29    <ip address="10.42.10.1" netmask="255.255.255.0" type="ipv4"/>
30    </interface>
31  </node>
32  <node client_id="left" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" exclusive="false">
33    <sliver_type name="emulab-openvz"/>
34    <services>
35      <execute command="sudo /local/install-script.sh" shell="sh"/>
36      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz"/>
37    </services>
38    <interface client_id="left:if0">
39    <ip address="10.42.11.1" netmask="255.255.255.0" type="ipv4"/>
40    </interface>
41    <interface client_id="left:if1">
42    <ip address="10.42.13.2" netmask="255.255.255.0" type="ipv4"/>
43    </interface>
44  </node>
45  <node client_id="right" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
46    <sliver_type name="emulab-openvz"/>
47    <services>
48      <execute command="sudo /local/install-script.sh" shell="sh"/>
49      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz"/>
50    </services>
51    <interface client_id="right:if0">
52    <ip address="10.42.10.2" netmask="255.255.255.0" type="ipv4"/>
53    </interface>
54    <interface client_id="right:if1">
55    <ip address="10.42.12.2" netmask="255.255.255.0" type="ipv4"/>
56    </interface>
57  </node>
58  <node client_id="bottom" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
59    <sliver_type name="emulab-openvz"/>
60    <services>
61      <execute command="sudo /local/install-script.sh" shell="sh"/>
62      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz"/>
63    </services>
64    <interface client_id="bottom:if0">
65    <ip address="10.42.12.1" netmask="255.255.255.0" type="ipv4"/>
66    </interface>
67    <interface client_id="bottom:if1">
68    <ip address="10.42.13.1" netmask="255.255.255.0" type="ipv4"/>
69    </interface>
70    <interface client_id="bottom:if2">
71    <ip address="192.168.5.1" netmask="255.255.255.0" type="ipv4"/>
72    </interface>
73  </node>
74  <node client_id="hostB" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
75    <sliver_type name="emulab-openvz"/>
76    <interface client_id="hostB:if0">
77    <ip address="192.168.5.2" netmask="255.255.255.0" type="ipv4"/>
78    </interface>
79  </node>
80  <link client_id="link-A">
81    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
82    <interface_ref client_id="hostA:if0"/>
83    <interface_ref client_id="top:if0"/>
84    <property source_id="hostA:if0" dest_id="top:if0"/>
85    <property source_id="top:if0" dest_id="hostA:if0"/>
86    <link_type name="lan"/>
87  </link>
88  <link client_id="link-0">
89    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
90    <interface_ref client_id="top:if1"/>
91    <interface_ref client_id="left:if0"/>
92    <property source_id="top:if1" dest_id="left:if0"/>
93    <property source_id="left:if0" dest_id="top:if1"/>
94    <link_type name="lan"/>
95  </link>
96  <link client_id="link-2">
97    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
98    <interface_ref client_id="left:if1"/>
99    <sharedvlan:link_shared_vlan name="L2-ping-tutorial"/>
100  </link>
101  <link client_id="link-2a">
102    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
103    <interface_ref client_id="bottom:if1"/>
104    <sharedvlan:link_shared_vlan name="L2-ping-tutorial"/>
105  </link>
106  <link client_id="link-1">
107    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
108    <interface_ref client_id="top:if2"/>
109    <sharedvlan:link_shared_vlan name="IG-EXP-7"/>
110  </link>
111  <link client_id="link-1a">
112    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
113    <interface_ref client_id="right:if0"/>
114    <sharedvlan:link_shared_vlan name="IG-EXP-7"/>
115  </link>
116  <link client_id="link-3">
117    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
118    <interface_ref client_id="bottom:if0"/>
119    <interface_ref client_id="right:if1"/>
120    <property source_id="bottom:if0" dest_id="right:if1"/>
121    <property source_id="right:if1" dest_id="bottom:if0"/>
122    <link_type name="lan"/>
123  </link>
124  <link client_id="link-B">
125    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
126    <interface_ref client_id="bottom:if2"/>
127    <interface_ref client_id="hostB:if0"/>
128    <property source_id="bottom:if2" dest_id="hostB:if0"/>
129    <property source_id="hostB:if0" dest_id="bottom:if2"/>
130    <link_type name="lan"/>
131  </link>
132</rspec>
133
Note: See TracBrowser for help on using the repository browser.