source: trunk/wikifiles/Tutorials/HelloGENI/hellogeni_rspec.xml @ 3392

Last change on this file since 3392 was 3392, checked in by nriga@bbn.com, 6 years ago

Files for automated tutorial testing

  • Property svn:executable set to *
File size: 3.1 KB
Line 
1<!--
2Copyright (c) 2010-2015 Raytheon BBN Technologies
3
4Permission is hereby granted, free of charge, to any person obtaining
5a copy of this software and/or hardware specification (the "Work") to
6deal in the Work without restriction, including without limitation the
7rights to use, copy, modify, merge, publish, distribute, sublicense,
8and/or sell copies of the Work, and to permit persons to whom the Work
9is furnished to do so, subject to the following conditions:
10
11The above copyright notice and this permission notice shall be
12included in all copies or substantial portions of the Work.
13
14THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
18HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
19WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS
21IN 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>
Note: See TracBrowser for help on using the repository browser.