WebServerExample: websrv.rspec

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