Changes between Version 34 and Version 35 of GeniTmixTutorial


Ignore:
Timestamp:
02/27/13 14:24:52 (6 years ago)
Author:
Ben Newton
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GeniTmixTutorial

    v34 v35  
    3838The following is the request rspec for a simple two node network.  It requests two raw nodes named left and right, each with a single interface named left:if0 and right:if0 respectively. A link named left-right-lan connects these interfaces.
    3939{{{
    40 rspec here
     40<rspec type="request"
     41    xmlns="http://www.geni.net/resources/rspec/3"
     42    xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
     43    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     44    xmlns:client="http://www.protogeni.net/resources/rspec/ext/client/1"
     45    xsi:schemaLocation="http://www.geni.net/resources/rspec/3
     46    http://www.geni.net/resources/rspec/3/request.xsd"> 
     47  <node client_id="left" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="true">
     48    <sliver_type name="raw-pc">
     49      <disk_image name="urn:publicid:IDN+emulab.net+image+pgeni-gpolab-bbn-com//tmixUbuntu"/> 
     50    </sliver_type>
     51    <services>
     52        <execute command="/local/tmix-script.sh" shell="sh"/>     
     53        <install install_path="/local" url="http://www.cs.unc.edu/~bn/tmix-script.tar.gz"/>
     54    </services>
     55    <interface client_id="left:if0">
     56      <ip address="10.1.1.1" netmask="255.255.255.0" type=""/>
     57    </interface>
     58  </node>
     59  <node client_id="right" 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+pgeni-gpolab-bbn-com//tmixUbuntu"/>
     62    </sliver_type>
     63    <services>
     64http://groups.geni.net/geni/attachment/wiki/GeniTmixTutorial/tmix-script.tar.gz?format=raw
     65        <execute command="/local/tmix-script.sh" shell="sh"/>     
     66        <install install_path="/local" url="http://www.cs.unc.edu/~bn/tmix-script.tar.gz"/>
     67    </services>
     68    <interface client_id="right:if0">
     69      <ip address="10.1.1.2" netmask="255.255.255.0" type=""/>
     70    </interface>
     71  </node>
     72  <link client_id="left-right-lan">
     73    <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/>
     74    <interface_ref client_id="left:if0"/>
     75    <interface_ref client_id="right:if0"/>
     76    <property source_id="left:if0" dest_id="right:if0"/>
     77    <property source_id="right:if0" dest_id="left:if0"/>
     78    <link_type name="lan"/>
     79  </link>
     80</rspec>
    4181}}}
    4282