Changeset 1651 for trunk/GENIRacks


Ignore:
Timestamp:
01/16/13 10:50:00 (12 years ago)
Author:
lnevers@bbn.com
Message:

adding the Click example Rspec, have two scenarios. IG-EXP-7-gpo.rspec used only the GPO Rack, while IG-EXP-7.rspec used Utah and GPO rack as described in the test case

Location:
trunk/GENIRacks/InstaGENI/Spiral4/RSpecs/AcceptanceTests/IG-EXP-7
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GENIRacks/InstaGENI/Spiral4/RSpecs/AcceptanceTests/IG-EXP-7/IG-EXP-7.rspec

    r1649 r1651  
    1 
    21<rspec type="request"
    3         xmlns="http://www.geni.net/resources/rspec/3"
    4         xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
    5         xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1"
    6         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    7         xsi:schemaLocation="http://www.geni.net/resources/rspec/3
    8         http://www.geni.net/resources/rspec/3/request.xsd"> 
    9 
    10  <node client_id="host1" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" exclusive="false">
     2       xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/request.xsd"
     3       xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
     4       xmlns:client="http://www.protogeni.net/resources/rspec/ext/client/1"
     5       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     6       xmlns="http://www.geni.net/resources/rspec/3">
     7  <node client_id="hostA" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" exclusive="false">
    118    <sliver_type name="emulab-openvz"/>
    12     <interface client_id="host1:if1">
     9    <interface client_id="hostA:if0">
    1310    <ip address="192.168.4.2" netmask="255.255.255.0" type="ipv4"/>
    14    </interface>
    15  </node>
    16  <node client_id="click-1" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" exclusive="false">
     11    </interface>
     12  </node>
     13  <node client_id="top" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" exclusive="false">
    1714    <sliver_type name="emulab-openvz"/>
    18     <interface client_id="click-1:if1">
     15    <services>
     16      <execute command="sudo /local/install-script.sh" shell="sh"/>
     17      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz"/>
     18    </services>
     19    <interface client_id="top:if0">
     20    <ip address="192.168.4.1" netmask="255.255.255.0" type="ipv4"/>
     21    </interface>
     22    <interface client_id="top:if1">
     23    <ip address="192.168.1.2" netmask="255.255.255.0" type="ipv4"/>
     24    </interface>
     25    <interface client_id="top:if2">
    1926    <ip address="192.168.0.1" netmask="255.255.255.0" type="ipv4"/>
    2027    </interface>
    21     <interface client_id="click-1:if2">
    22     <ip address="192.168.1.2" netmask="255.255.255.0" type="ipv4"/>
     28  </node>
     29  <node client_id="left"
     30  component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" exclusive="false">
     31    <sliver_type name="emulab-openvz"/>
     32    <services>
     33      <execute command="sudo /local/install-script.sh" shell="sh"/>
     34      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz"/>
     35    </services>
     36    <interface client_id="left:if0">
     37    <ip address="192.168.1.1" netmask="255.255.255.0" type="ipv4"/>
    2338    </interface>
    24     <interface client_id="click-1:if3">
    25     <ip address="192.168.4.1" netmask="255.255.255.0" type="ipv4"/>
    26    </interface>
    27  </node>
    28  <node client_id="click-2" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" exclusive="false">
     39    <interface client_id="left:if1">
     40    <ip address="192.168.3.2" netmask="255.255.255.0" type="ipv4"/>
     41    </interface>
     42  </node>
     43  <node client_id="right" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
    2944    <sliver_type name="emulab-openvz"/>
    30     <interface client_id="click-2:if1">
    31     <ip address="192.168.1.1" netmask="255.255.255.0" type="ipv4"/>
    32    </interface>
    33     <interface client_id="click-2:if2">
    34     <ip address="192.168.3.2" netmask="255.255.255.0" type="ipv4"/>
    35    </interface>
    36  </node>
    37  <node client_id="click-3" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
     45    <services>
     46      <execute command="sudo /local/install-script.sh" shell="sh"/>
     47      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz"/>
     48    </services>
     49    <interface client_id="right:if0">
     50    <ip address="192.168.0.2" netmask="255.255.255.0" type="ipv4"/>
     51    </interface>
     52    <interface client_id="right:if1">
     53    <ip address="192.168.2.2" netmask="255.255.255.0" type="ipv4"/>
     54    </interface>
     55  </node>
     56  <node client_id="bottom" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
    3857    <sliver_type name="emulab-openvz"/>
    39     <interface client_id="click-3:if1">
    40     <ip address="192.168.0.2" netmask="255.255.255.0" type="ipv4"/>
    41    </interface>
    42     <interface client_id="click-3:if2">
    43     <ip address="192.168.2.2" netmask="255.255.255.0" type="ipv4"/>
    44    </interface>
    45  </node>
    46  <node client_id="click-4" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
     58    <services>
     59      <execute command="sudo /local/install-script.sh" shell="sh"/>
     60      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz"/>
     61    </services>
     62    <interface client_id="bottom:if0">
     63    <ip address="192.168.2.1" netmask="255.255.255.0" type="ipv4"/>
     64    </interface>
     65    <interface client_id="bottom:if1">
     66    <ip address="192.168.3.1" netmask="255.255.255.0" type="ipv4"/>
     67    </interface>
     68    <interface client_id="bottom:if2">
     69    <ip address="192.168.5.1" netmask="255.255.255.0" type="ipv4"/>
     70    </interface>
     71  </node>
     72  <node client_id="hostB" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
    4773    <sliver_type name="emulab-openvz"/>
    48     <interface client_id="click-4:if1">
    49     <ip address="192.168.2.1" netmask="255.255.255.0" type="ipv4"/>
    50    </interface>
    51     <interface client_id="click-4:if2">
    52     <ip address="192.168.3.1" netmask="255.255.255.0" type="ipv4"/>
    53    </interface>
    54     <interface client_id="click-4:if3">
    55     <ip address="192.168.5.1" netmask="255.255.255.0" type="ipv4"/>
    56    </interface>
    57  </node>
    58  <node client_id="host2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
    59     <sliver_type name="emulab-openvz"/>
    60     <interface client_id="host2:if1">
     74    <interface client_id="hostB:if0">
    6175    <ip address="192.168.5.2" netmask="255.255.255.0" type="ipv4"/>
    62    </interface>
     76    </interface>
    6377  </node>
    6478  <link client_id="link-A">
    6579    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
    66     <property source_id="host1:if1" dest_id="click-1:if3"/>
    67     <property source_id="click-1:if3" dest_id="host1:if1"/>
    68     <interface_ref client_id="host1:if1"/>
    69     <interface_ref client_id="click-1:if3"/>
     80    <interface_ref client_id="hostA:if0"/>
     81    <interface_ref client_id="top:if0"/>
     82    <property source_id="hostA:if0" dest_id="top:if0"/>
     83    <property source_id="top:if0" dest_id="hostA:if0"/>
     84    <link_type name="lan"/>
    7085  </link>
    7186  <link client_id="link-0">
    7287    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
     88    <interface_ref client_id="top:if1"/>
     89    <interface_ref client_id="left:if0"/>
     90    <property source_id="top:if1" dest_id="left:if0"/>
     91    <property source_id="left:if0" dest_id="top:if1"/>
     92    <link_type name="lan"/>
     93  </link>
     94  <link client_id="link-2">
     95    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
    7396    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
    74     <interface_ref client_id="click-1:if1"/>
    75     <interface_ref client_id="click-3:if1"/>
    76     <property source_id="click-1:if1" dest_id="click-3:if1"/>
    77     <property source_id="click-3:if1" dest_id="click-1:if1"/>
     97    <interface_ref client_id="left:if1"/>
     98    <interface_ref client_id="bottom:if1"/>
     99    <property source_id="left:if1" dest_id="bottom:if1"/>
     100    <property source_id="bottom:if1" dest_id="left:if1"/>
    78101    <link_type name="gre-tunnel"/>
    79102  </link>
    80103  <link client_id="link-1">
    81104    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
    82     <interface_ref client_id="click-1:if2"/>
    83     <interface_ref client_id="click-2:if1"/>
    84     <property source_id="click-1:if2" dest_id="clik-2:if1"/>
    85     <property source_id="click-2:if1" dest_id="clik-1:if2"/>
    86   </link>
    87   <link client_id="link-2">
    88105    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
    89     <interface_ref client_id="click-3:if2"/>
    90     <interface_ref client_id="click-4:if1"/>
    91     <property source_id="click-3:if2" dest_id="click-4:if1"/>
    92     <property source_id="click-4:if1" dest_id="click-3:if2"/>
     106    <interface_ref client_id="top:if2"/>
     107    <interface_ref client_id="right:if0"/>
     108    <property source_id="top:if2" dest_id="right:if0"/>
     109    <property source_id="right:if0" dest_id="top:if2"/>
     110    <link_type name="gre-tunnel"/>
    93111  </link>
    94112  <link client_id="link-3">
    95     <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
    96113    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
    97     <interface_ref client_id="click-2:if2"/>
    98     <interface_ref client_id="click-4:if2"/>
    99     <property source_id="click-2:if2" dest_id="click-4:if2"/>
    100     <property source_id="click-4:if2" dest_id="click-2:if2"/>
    101     <link_type name="gre-tunnel"/>
     114    <interface_ref client_id="bottom:if0"/>
     115    <interface_ref client_id="right:if1"/>
     116    <property source_id="bottom:if0" dest_id="right:if1"/>
     117    <property source_id="right:if1" dest_id="bottom:if0"/>
     118    <link_type name="lan"/>
    102119  </link>
    103120  <link client_id="link-B">
    104121    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
    105     <interface_ref client_id="click-4:if3"/>
    106     <interface_ref client_id="host2:if1"/>
    107     <property source_id="click-4:if3" dest_id="host2:if1"/>
    108     <property source_id="host2:if1" dest_id="click-4:if3"/>
     122    <interface_ref client_id="bottom:if2"/>
     123    <interface_ref client_id="hostB:if0"/>
     124    <property source_id="bottom:if2" dest_id="hostB:if0"/>
     125    <property source_id="hostB:if0" dest_id="bottom:if2"/>
     126    <link_type name="lan"/>
    109127  </link>
    110128</rspec>
     129
Note: See TracChangeset for help on using the changeset viewer.