1 | <!-- |
---|
2 | Copyright (c) 2010-2015 Raytheon BBN Technologies |
---|
3 | |
---|
4 | Permission is hereby granted, free of charge, to any person obtaining |
---|
5 | a copy of this software and/or hardware specification (the "Work") to |
---|
6 | deal in the Work without restriction, including without limitation the |
---|
7 | rights to use, copy, modify, merge, publish, distribute, sublicense, |
---|
8 | and/or sell copies of the Work, and to permit persons to whom the Work |
---|
9 | is furnished to do so, subject to the following conditions: |
---|
10 | |
---|
11 | The above copyright notice and this permission notice shall be |
---|
12 | included in all copies or substantial portions of the Work. |
---|
13 | |
---|
14 | THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
---|
15 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
---|
16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
---|
17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
---|
18 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
---|
19 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
---|
20 | OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS |
---|
21 | IN THE WORK. |
---|
22 | --> |
---|
23 | |
---|
24 | <rspec xmlns="http://www.geni.net/resources/rspec/3" |
---|
25 | xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" |
---|
26 | xmlns:tour="http://www.protogeni.net/resources/rspec/ext/apt-tour/1" |
---|
27 | xmlns:jacks="http://www.protogeni.net/resources/rspec/ext/jacks/1" |
---|
28 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
29 | xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/request.xsd" |
---|
30 | type="request"> |
---|
31 | |
---|
32 | <node xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" client_id="server" exclusive="false"> |
---|
33 | <sliver_type name="default-vm"/> |
---|
34 | <emulab:routable_control_ip xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> |
---|
35 | <services> |
---|
36 | <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/HelloGENI//hellogeni-install.tar.gz"/> |
---|
37 | <execute command="sudo /local/install-script.sh" shell="sh"/> |
---|
38 | </services> |
---|
39 | <interface client_id="server:if0"> |
---|
40 | <ip xmlns="http://www.geni.net/resources/rspec/3" address="10.10.10.1" type="ipv4" netmask="255.255.255.0"/> |
---|
41 | </interface> |
---|
42 | <site xmlns="http://www.protogeni.net/resources/rspec/ext/jacks/1" id="28"/> |
---|
43 | </node> |
---|
44 | |
---|
45 | <node xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" client_id="client" exclusive="false"> |
---|
46 | <sliver_type name="default-vm"/> |
---|
47 | <services> |
---|
48 | <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/HelloGENI//hellogeni-install.tar.gz"/> |
---|
49 | <execute command="sudo /local/install-script.sh" shell="sh"/> |
---|
50 | </services> |
---|
51 | <interface client_id="client:if0"> |
---|
52 | <ip xmlns="http://www.geni.net/resources/rspec/3" address="10.10.10.2" type="ipv4" netmask="255.255.255.0"/> |
---|
53 | </interface> |
---|
54 | <site xmlns="http://www.protogeni.net/resources/rspec/ext/jacks/1" id="28"/> |
---|
55 | </node> |
---|
56 | |
---|
57 | <link client_id="lan0"> |
---|
58 | <interface_ref client_id="server:if0"/> |
---|
59 | <interface_ref client_id="client:if0"/> |
---|
60 | <property source_id="server:if0" dest_id="client:if0"/> |
---|
61 | <property source_id="client:if0" dest_id="server:if0"/> |
---|
62 | <link_type name="lan"/> |
---|
63 | </link> |
---|
64 | |
---|
65 | </rspec> |
---|