ClickExampleExperiment: click-example.rspec

File click-example.rspec, 5.6 KB (added by Mark Berman, 7 years ago)

Rspec for Click example experiment

Line 
1<rspec type="request" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/request.xsd" xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.protogeni.net/resources/rspec/2">
2  <node client_id="top" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="true">
3    <sliver_type name="raw-pc">
4      <disk_image name="urn:publicid:IDN+emulab.net+image+emulab-ops//FEDORA10-STD"/>
5    </sliver_type>
6    <services>
7      <execute command="/local/click-example/click-example-startup.sh" shell="sh"/>
8      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz" file_type="tar.gz"/>
9    </services>
10    <interface client_id="top:if1"/>
11    <interface client_id="top:if2"/>
12    <interface client_id="top:if3"/>
13    <flack:info x="234" y="117" unbound="true"/>
14  </node>
15  <node client_id="left" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="true">
16    <sliver_type name="raw-pc">
17      <disk_image name="urn:publicid:IDN+emulab.net+image+emulab-ops//FEDORA10-STD"/>
18    </sliver_type>
19    <services>
20      <execute command="/local/click-example/click-example-startup.sh" shell="sh"/>
21      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz" file_type="tar.gz"/>
22    </services>
23    <interface client_id="left:if1"/>
24    <interface client_id="left:if2"/>
25    <flack:info x="120" y="212" unbound="true"/>
26  </node>
27  <node client_id="right" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="true">
28    <sliver_type name="raw-pc">
29      <disk_image name="urn:publicid:IDN+emulab.net+image+emulab-ops//FEDORA10-STD"/>
30    </sliver_type>
31    <services>
32      <execute command="/local/click-example/click-example-startup.sh" shell="sh"/>
33      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz" file_type="tar.gz"/>
34    </services>
35    <interface client_id="right:if1"/>
36    <interface client_id="right:if2"/>
37    <flack:info x="356" y="203" unbound="true"/>
38  </node>
39  <node client_id="bottom" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="true">
40    <sliver_type name="raw-pc">
41      <disk_image name="urn:publicid:IDN+emulab.net+image+emulab-ops//FEDORA10-STD"/>
42    </sliver_type>
43    <services>
44      <execute command="/local/click-example/click-example-startup.sh" shell="sh"/>
45      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz" file_type="tar.gz"/>
46    </services>
47    <interface client_id="bottom:if1"/>
48    <interface client_id="bottom:if2"/>
49    <interface client_id="bottom:if3"/>
50    <flack:info x="229" y="319" unbound="true"/>
51  </node>
52  <node client_id="hostA" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="true">
53    <sliver_type name="raw-pc">
54      <disk_image name="urn:publicid:IDN+emulab.net+image+emulab-ops//FEDORA10-STD"/>
55    </sliver_type>
56    <interface client_id="hostA:if1"/>
57    <flack:info x="234" y="25" unbound="true"/>
58  </node>
59  <node client_id="hostB" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="true">
60    <sliver_type name="raw-pc">
61      <disk_image name="urn:publicid:IDN+emulab.net+image+emulab-ops//FEDORA10-STD"/>
62    </sliver_type>
63    <interface client_id="hostB:if1"/>
64    <flack:info x="228" y="393" unbound="true"/>
65  </node>
66  <link client_id="link-0">
67    <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/>
68    <property source_id="top:if1" dest_id="left:if1" capacity="100000"/>
69    <property source_id="left:if1" dest_id="top:if1" capacity="100000"/>
70    <interface_ref client_id="top:if1"/>
71    <interface_ref client_id="left:if1"/>
72  </link>
73  <link client_id="link-1">
74    <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/>
75    <property source_id="top:if2" dest_id="right:if1" capacity="100000"/>
76    <property source_id="right:if1" dest_id="top:if2" capacity="100000"/>
77    <interface_ref client_id="top:if2"/>
78    <interface_ref client_id="right:if1"/>
79  </link>
80  <link client_id="link-2">
81    <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/>
82    <property source_id="left:if2" dest_id="bottom:if1" capacity="100000"/>
83    <property source_id="bottom:if1" dest_id="left:if2" capacity="100000"/>
84    <interface_ref client_id="left:if2"/>
85    <interface_ref client_id="bottom:if1"/>
86  </link>
87  <link client_id="link-3">
88    <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/>
89    <property source_id="right:if2" dest_id="bottom:if2" capacity="100000"/>
90    <property source_id="bottom:if2" dest_id="right:if2" capacity="100000"/>
91    <interface_ref client_id="right:if2"/>
92    <interface_ref client_id="bottom:if2"/>
93  </link>
94  <link client_id="link-A">
95    <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/>
96    <property source_id="hostA:if1" dest_id="top:if3" capacity="100000"/>
97    <property source_id="top:if3" dest_id="hostA:if1" capacity="100000"/>
98    <interface_ref client_id="hostA:if1"/>
99    <interface_ref client_id="top:if3"/>
100  </link>
101  <link client_id="link-B">
102    <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/>
103    <property source_id="bottom:if3" dest_id="hostB:if1" capacity="100000"/>
104    <property source_id="hostB:if1" dest_id="bottom:if3" capacity="100000"/>
105    <interface_ref client_id="bottom:if3"/>
106    <interface_ref client_id="hostB:if1"/>
107  </link>
108</rspec>