wiki:GEC21Agenda/ChoiceNet/topology

Version 10 (modified by Hussamuddin Nasir, 5 years ago) (diff)

--

Navigation: Up

Example Topology

Topology View

This rspec looks like the below screenshot.




Sample rspec

You can also download the rspec from (Rspec for GEC21 Choicenet Tutorial) DO NOT RIGHT CLICK ON THIS LINK TO SAVE THE RSPEC. GO TO THE PAGE AND SCROLL TO THE BOTTOM AND CLICK "DOWNLOAD IN ORIGINAL FORMAT"

<rspec type="request" generated_by="Flack" generated="2014-10-13T17:23:06Z" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/request.xsd  " xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" xmlns:client="http://www.protogeni.net/resources/rspec/ext/client/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <rspec type="request" generated_by="Flack" generated="2014-10-13T17:23:06Z" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/request.xsd  " xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" xmlns:client="http://www.protogeni.net/resources/rspec/ext/client/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.geni.net/resources/rspec/3">
  <node client_id="srcr"  exclusive="false" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2">
    <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2">
      <color:xmlblob>
        <color:blob>
          <gemini:node type="mp_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1">
            <gemini:services>
              <gemini:active install="no" enable="no"/>
              <gemini:passive install="yes" enable="yes"/>
            </gemini:services>
          </gemini:node>
        </color:blob>
      </color:xmlblob>
    </color:resource_color>
    <sliver_type name="emulab-xen">
      <disk_image name="urn:publicid:IDN+lan.sdn.uky.edu+image+emulab-ops:Ubuntu12-64-OVS"/>
    </sliver_type>
    <services>
      <execute command="sudo /tmp/ovs-startup.sh" shell="sh"/>
      <install install_path="/tmp" url="http://gemini.netlab.uky.edu/ovs_start.tgz"/>
    </services>
    <interface client_id="srcr:if1">
      <ip address="10.10.7.1" netmask="255.255.255.0" type="ipv4"/>
    </interface>
    <interface client_id="srcr:if2">
      <ip address="10.10.5.2" netmask="255.255.255.0" type="ipv4"/>
    </interface>
    <interface client_id="srcr:if4">
      <ip address="10.10.2.1" netmask="255.255.255.0" type="ipv4"/>
    </interface>
    <interface client_id="srcr:if0">
      <ip address="10.10.1.2" netmask="255.255.255.0" type="ipv4"/>
    </interface>
  </node>
  <node client_id="LB"  exclusive="false" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2">
    <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2">
      <color:xmlblob>
        <color:blob>
          <gemini:node type="mp_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1">
            <gemini:services>
              <gemini:active install="no" enable="no"/>
              <gemini:passive install="yes" enable="yes"/>
            </gemini:services>
          </gemini:node>
        </color:blob>
      </color:xmlblob>
    </color:resource_color>
    <sliver_type name="emulab-xen">
      <disk_image name="urn:publicid:IDN+lan.sdn.uky.edu+image+emulab-ops:Ubuntu12-64-OVS"/>
    </sliver_type>
    <services>
      <execute command="sudo /tmp/ovs-startup.sh" shell="sh"/>
      <install install_path="/tmp" url="http://gemini.netlab.uky.edu/ovs_start.tgz"/>
    </services>
    <interface client_id="LB:if0">
      <ip address="10.10.5.1" netmask="255.255.255.0" type="ipv4"/>
    </interface>
    <interface client_id="LB:if1">
      <ip address="10.10.6.1" netmask="255.255.255.0" type="ipv4"/>
    </interface>
  </node>
  <node client_id="dstr"  exclusive="false" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2">
    <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2">
      <color:xmlblob>
        <color:blob>
          <gemini:node type="mp_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1">
            <gemini:services>
              <gemini:active install="no" enable="no"/>
              <gemini:passive install="yes" enable="yes"/>
            </gemini:services>
          </gemini:node>
        </color:blob>
      </color:xmlblob>
    </color:resource_color>
    <sliver_type name="emulab-xen">
      <disk_image name="urn:publicid:IDN+lan.sdn.uky.edu+image+emulab-ops:Ubuntu12-64-OVS"/>
    </sliver_type>
    <interface client_id="dstr:if2">
      <ip address="10.10.8.2" netmask="255.255.255.0" type="ipv4"/>
    </interface>
    <interface client_id="dstr:if3">
      <ip address="10.10.6.2" netmask="255.255.255.0" type="ipv4"/>
    </interface>
    <interface client_id="dstr:if4">
      <ip address="10.10.3.1" netmask="255.255.255.0" type="ipv4"/>
    </interface>
    <interface client_id="dstr:if0">
      <ip address="10.10.4.2" netmask="255.255.255.0" type="ipv4"/>
    </interface>
        <services>
      <execute command="sudo /tmp/ovs-startup.sh" shell="sh"/>
      <install install_path="/tmp" url="http://gemini.netlab.uky.edu/ovs_start.tgz"/>
    </services>
  </node>
  <node client_id="H2"  exclusive="false" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2">
    <emulab:routable_control_ip xmlns="http://www.protogeni.net/resources/rspec/ext/emulab/1"/>
    <emulab:routable_control_ip xmlns="http://www.protogeni.net/resources/rspec/ext/emulab/1"/>
    <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2">
      <color:xmlblob>
        <color:blob>
          <gemini:node type="mp_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1">
            <gemini:services>
              <gemini:active install="no" enable="no"/>
              <gemini:passive install="yes" enable="yes"/>
            </gemini:services>
          </gemini:node>
        </color:blob>
      </color:xmlblob>
    </color:resource_color>
    <emulab:routable_control_ip/>
    <sliver_type name="emulab-xen"/>
    <interface client_id="H2:if0">
      <ip address="10.10.4.1" netmask="255.255.255.0" type="ipv4"/>
    </interface>
    <services>
      <execute command="sudo apt-get -y update;sudo apt-get -y install iperf" shell="sh"/>
    </services>
  </node>
  <node client_id="H1"  exclusive="false" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2">
    <emulab:routable_control_ip xmlns="http://www.protogeni.net/resources/rspec/ext/emulab/1"/>
    <emulab:routable_control_ip xmlns="http://www.protogeni.net/resources/rspec/ext/emulab/1"/>
    <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2">
      <color:xmlblob>
        <color:blob>
          <gemini:node type="mp_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1">
            <gemini:services>
              <gemini:active install="no" enable="no"/>
              <gemini:passive install="yes" enable="yes"/>
            </gemini:services>
          </gemini:node>
        </color:blob>
      </color:xmlblob>
    </color:resource_color>
    <emulab:routable_control_ip/>
    <sliver_type name="emulab-xen"/>
    <interface client_id="H1:if0">
      <ip address="10.10.1.1" netmask="255.255.255.0" type="ipv4"/>
    </interface>
       <services>
      <execute command="sudo apt-get -y update;sudo apt-get -y install iperf" shell="sh"/>
    </services>
  </node>
  <node client_id="HLHB"  exclusive="false" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2">
    <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2">
      <color:xmlblob>
        <color:blob>
          <gemini:node type="mp_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1">
            <gemini:services>
              <gemini:active install="no" enable="no"/>
              <gemini:passive install="yes" enable="yes"/>
            </gemini:services>
          </gemini:node>
        </color:blob>
      </color:xmlblob>
    </color:resource_color>
    <sliver_type name="emulab-xen">
      <disk_image name="urn:publicid:IDN+lan.sdn.uky.edu+image+emulab-ops:Ubuntu12-64-OVS"/>
    </sliver_type>
    <interface client_id="HLHB:if0">
      <ip address="10.10.2.2" netmask="255.255.255.0" type="ipv4"/>
    </interface>
    <interface client_id="HLHB:if1">
      <ip address="10.10.3.2" netmask="255.255.255.0" type="ipv4"/>
    </interface>
        <services>
      <execute command="sudo /tmp/ovs-startup.sh" shell="sh"/>
      <install install_path="/tmp" url="http://gemini.netlab.uky.edu/ovs_start.tgz"/>
    </services>
   </node>
  <node client_id="HB"  exclusive="false" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2">
    <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2">
      <color:xmlblob>
        <color:blob>
          <gemini:node type="mp_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1">
            <gemini:services>
              <gemini:active install="no" enable="no"/>
              <gemini:passive install="yes" enable="yes"/>
            </gemini:services>
          </gemini:node>
        </color:blob>
      </color:xmlblob>
    </color:resource_color>
    <sliver_type name="emulab-xen">
      <disk_image name="urn:publicid:IDN+lan.sdn.uky.edu+image+emulab-ops:Ubuntu12-64-OVS"/>
    </sliver_type>
    <interface client_id="HB:if0">
      <ip address="10.10.7.2" netmask="255.255.255.0" type="ipv4"/>
    </interface>
    <interface client_id="HB:if1">
      <ip address="10.10.8.1" netmask="255.255.255.0" type="ipv4"/>
    </interface>
        <services>
      <execute command="sudo /tmp/ovs-startup.sh" shell="sh"/>
      <install install_path="/tmp" url="http://gemini.netlab.uky.edu/ovs_start.tgz"/>
    </services>

  </node>
  <node client_id="GN0"  exclusive="false" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1">
    <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2">
      <color:xmlblob>
        <color:blob>
          <gemini:node type="global_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1">
            <gemini:monitor_urn name=""/>
          </gemini:node>
        </color:blob>
      </color:xmlblob>
    </color:resource_color>
    <emulab:routable_control_ip/>
    <emulab:routable_control_ip/>
    <sliver_type name="emulab-openvz">
      <disk_image url="https://www.lan.sdn.uky.edu/image_metadata.php?uuid=0862ac07-8dba-11e3-9727-000000000000"/>
    </sliver_type>
  </node>
  <link client_id="lan1">
    <interface_ref client_id="srcr:if1"/>
    <interface_ref client_id="HB:if0"/>
    <property source_id="srcr:if1" dest_id="HB:if0" capacity="10000"/>
    <property source_id="HB:if0" dest_id="srcr:if1" capacity="10000"/>
    <link_type name="lan"/>
  </link>
  <link client_id="lan2">
    <interface_ref client_id="LB:if0"/>
    <interface_ref client_id="srcr:if2"/>
    <property source_id="LB:if0" dest_id="srcr:if2" capacity="1000"/>
    <property source_id="srcr:if2" dest_id="LB:if0" capacity="1000"/>
    <link_type name="lan"/>
  </link>
  <link client_id="lan4">
    <interface_ref client_id="srcr:if4"/>
    <interface_ref client_id="HLHB:if0"/>
    <property source_id="srcr:if4" dest_id="HLHB:if0" capacity="10000" latency="10"/>
    <property source_id="HLHB:if0" dest_id="srcr:if4" capacity="10000" latency="10"/>
    <link_type name="lan"/>
  </link>
  <link client_id="lan7">
    <interface_ref client_id="HB:if1"/>
    <interface_ref client_id="dstr:if2"/>
    <property source_id="HB:if1" dest_id="dstr:if2" capacity="10000"/>
    <property source_id="dstr:if2" dest_id="HB:if1" capacity="10000"/>
    <link_type name="lan"/>
  </link>
  <link client_id="lan8">
    <interface_ref client_id="LB:if1"/>
    <interface_ref client_id="dstr:if3"/>
    <property source_id="LB:if1" dest_id="dstr:if3" capacity="1000"/>
    <property source_id="dstr:if3" dest_id="LB:if1" capacity="1000"/>
    <link_type name="lan"/>
  </link>
  <link client_id="lan9">
    <interface_ref client_id="dstr:if4"/>
    <interface_ref client_id="HLHB:if1"/>
    <property source_id="dstr:if4" dest_id="HLHB:if1" capacity="10000" latency="10"/>
    <property source_id="HLHB:if1" dest_id="dstr:if4" capacity="10000" latency="10"/>
    <link_type name="lan"/>
  </link>
  <link client_id="lan0">
    <interface_ref client_id="H1:if0"/>
    <interface_ref client_id="srcr:if0"/>
    <property source_id="H1:if0" dest_id="srcr:if0"/>
    <property source_id="srcr:if0" dest_id="H1:if0"/>
    <link_type name="lan"/>
  </link>
  <link client_id="lan3">
    <interface_ref client_id="H2:if0"/>
    <interface_ref client_id="dstr:if0"/>
    <property source_id="H2:if0" dest_id="dstr:if0"/>
    <property source_id="dstr:if0" dest_id="H2:if0"/>
    <link_type name="lan"/>
  </link>
</rspec>

Attachments (2)

Download all attachments as: .zip