wiki:GENIRacksHome/OpenGENIRacks/AcceptanceTestStatusMay2013/OG-EXP-7

OG-EXP-7: Click Router Experiment Acceptance Test

This page captures status for the test case OG-EXP-7. For additional information see the Acceptance Test Status - May 2013 page overall status, or the OpenGENI Acceptance Test Plan for details about the planned evaluation.

Last Update: 2013/05/XX"

Step State Notes Tickets
Step 1 Pass
Step 2 Pass
Step 3 Pass
Step 4 Pass
Step 5 Fail Cannot get multiple interfaces#68
Step 6 Fail Cannot install package without sudo. No renewsliver#57 #69
Step 7
Step 8
Step 9
Step 10
Step 11
Step 12


State Legend Description
Pass Test completed and met all criteria
Pass: most criteria Test completed and met most criteria. Exceptions documented
Fail Test completed and failed to meet criteria.
Complete Test completed but will require re-execution due to expected changes
Blocked Blocked by ticketed issue(s).
In Progress Currently under test.

Test Plan Steps

This test case uses the following aggregate nick_names:

gram=,https://128.89.91.170:5001

Evaluation Notes: Cannot get multiple interfaces. ticket #68

Evaluation Notes: Unable to install click router prerequisites, no sudo #57.

Evaluation Notes: Unable to renew sliver ticket #69

1. As Experimenter1, request ListResources from BBN OpenGENI

Only one site used. Collected list of resources:

$ omni.py listresources -a gram2 -V2
INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
INFO:omni:Using control framework gram
INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN
INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN
INFO:omni:Listed advertised resources at 1 out of 1 possible aggregates.
INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN
INFO:omni:<?xml version="1.0" ?>
INFO:omni:  <!-- Resources at AM:
	URN: unspecified_AM_URN
	URL: https://128.89.91.170:5002
 -->
INFO:omni:  <rspec type="advertisement" xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/
    <node_type type_name="m1.small"/>    
    <node_type type_name="m1.medium"/>    
    <node_type type_name="m1.large"/>    
    <node_type type_name="m1.xlarge"/>    
    <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>    
    <sliver_type name="m1.small"/>    
        <available now="True"/>    
    </node></rspec>
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed listresources:

  Options as run:
		aggregate: ['gram2']
		framework: gram
  Args: listresources
  Result Summary: Queried resources from 1 of 1 aggregate(s).
 INFO:omni: ============================================================

Step 2. Review ListResources

Only one site used.

Step 3. Define a request RSpec for six VMs at the BBN OpenGENI.

Modified to have all VMs in the BBN OpenGENI rack:

<rspec type="request" 
       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="hostA" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" >
    <sliver_type name="m1.small">
    <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>
    </sliver_type>
    <interface client_id="hostA:if0">
    </interface>
  </node>
  <node client_id="top" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" >
    <sliver_type name="m1.small">
    <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>
    </sliver_type>
    <services>
      <execute command="sudo /local/install-script.sh" shell="sh"/>
      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz"/>
    </services>
    <interface client_id="top:if0">
    </interface>
    <interface client_id="top:if1">
    </interface>
    <interface client_id="top:if2">
    </interface>
  </node>
  <node client_id="left" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" >
    <sliver_type name="m1.small">
    <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>
    </sliver_type>
    <services>
      <execute command="sudo /local/install-script.sh" shell="sh"/>
      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz"/>
    </services>
    <interface client_id="left:if0">
    </interface>
    <interface client_id="left:if1">
    </interface>
  </node>
  <node client_id="right" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" >
    <sliver_type name="m1.small">
    <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>
    </sliver_type>
    <services>
      <execute command="sudo /local/install-script.sh" shell="sh"/>
      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz"/>
    </services>
    <interface client_id="right:if0">
    </interface>
    <interface client_id="right:if1">
    </interface>
  </node>
  <node client_id="bottom" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" >
    <sliver_type name="m1.small">
    <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>
    </sliver_type>
    <services>
      <execute command="sudo /local/install-script.sh" shell="sh"/>
      <install install_path="/local" url="http://www.gpolab.bbn.com/experiment-support/ClickExampleExperiment/click-example.tar.gz"/>
    </services>
    <interface client_id="bottom:if0">
    </interface>
    <interface client_id="bottom:if1">
    </interface>
    <interface client_id="bottom:if2">
    </interface>
  </node>
  <node client_id="hostB" component_manager_id="urn:publicid:geni:bos:gcf+authority+am" >
    <sliver_type name="m1.small">
    <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>
    </sliver_type>
    <interface client_id="hostB:if0">
    </interface>
  </node>
  <link client_id="link-A">
    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
    <interface_ref client_id="hostA:if0"/>
    <interface_ref client_id="top:if0"/>
    <property source_id="hostA:if0" dest_id="top:if0"/>
    <property source_id="top:if0" dest_id="hostA:if0"/>
    <link_type name="lan"/>
  </link>
  <link client_id="link-0">
    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
    <interface_ref client_id="top:if1"/>
    <interface_ref client_id="left:if0"/>
    <property source_id="top:if1" dest_id="left:if0"/>
    <property source_id="left:if0" dest_id="top:if1"/>
    <link_type name="lan"/>
  </link>
  <link client_id="link-2">
    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
    <interface_ref client_id="left:if1"/>
    <interface_ref client_id="bottom:if0"/>
    <property source_id="left:if1" dest_id="bottom:if0"/>
    <property source_id="bottom:if0" dest_id="left:if1"/>
    <link_type name="lan"/>
  </link>
  <link client_id="link-1">
    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
    <interface_ref client_id="top:if2"/>
    <interface_ref client_id="right:if0"/>
    <property source_id="top:if2" dest_id="right:if0"/>
    <property source_id="right:if0" dest_id="top:if2"/>
    <link_type name="lan"/>
  </link>
  <link client_id="link-3">
    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
    <interface_ref client_id="bottom:if1"/>
    <interface_ref client_id="right:if1"/>
    <property source_id="bottom:if1" dest_id="right:if1"/>
    <property source_id="right:if1" dest_id="bottom:if1"/>
    <link_type name="lan"/>
  </link>
  <link client_id="link-B">
    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
    <interface_ref client_id="bottom:if2"/>
    <interface_ref client_id="hostB:if0"/>
    <property source_id="bottom:if2" dest_id="hostB:if0"/>
    <property source_id="hostB:if0" dest_id="bottom:if2"/>
    <link_type name="lan"/>
  </link>
</rspec>

Step 4. Create the slice.

$ omni.py createslice OG-EXP-7 INFO:omni:Loading config file /home/lnevers/.gcf/omni_config INFO:omni:Using control framework gram INFO:omni:Created slice with Name OG-EXP-7, URN urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-7, Expiration 2013-05-16 21:59:18 INFO:omni: ------------------------------------------------------------ INFO:omni: Completed createslice:

Options as run:

framework: gram

Args: createslice OG-EXP-7

Result Summary: Created slice with Name OG-EXP-7, URN urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-7, Expiration 2013-05-16 21:59:18

INFO:omni: ============================================================

Step 5. Create a sliver in the first slice

Only one AM used:

$ omni.py -a gram2 -V2 createsliver OG-EXP-7 ./OG-EXP-7.rspec 
INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
INFO:omni:Using control framework gram
INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN
WARNING:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-7 expires in <= 3 hours
INFO:omni:Slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-7 expires on 2013-05-16 21:59:18 UTC
INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN
INFO:omni:Substituting AM nickname gram2 with URL https://128.89.91.170:5002, URN unspecified_AM_URN
INFO:omni:Creating sliver(s) from rspec file ./OG-EXP-7.rspec for slice urn:publicid:IDN+geni:bos:gcf+slice+OG-EXP-7
INFO:omni:Got return from CreateSliver for slice OG-EXP-7 at https://128.89.91.170:5002:
INFO:omni:<?xml version="1.0" ?>
INFO:omni:  <!-- Reserved resources for:
	Slice: OG-EXP-7
	at AM:
	URN: unspecified_AM_URN
	URL: https://128.89.91.170:5002
 -->
INFO:omni:  
<rspec type="manifest" xmlns="http://www.geni.net/resources/rspec/3" 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
    <link client_id="link-1" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+linke9c27d71-373e-46ce-8439-60257345a3fd">
        <interface_ref client_id="top:if2"/>
        <interface_ref client_id="right:if0"/>
        <property dest_id="right:if0" source_id="top:if2"/>
        <property dest_id="top:if2" source_id="right:if0"/>
        <link_type name="lan"/>
    </link>
    <link client_id="link-B" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+linkd698a280-448e-4496-be7a-ea7006e409b7">
        <interface_ref client_id="bottom:if2"/>
        <interface_ref client_id="hostB:if0"/>
        <property dest_id="hostB:if0" source_id="bottom:if2"/>
        <property dest_id="bottom:if2" source_id="hostB:if0"/>
        <link_type name="lan"/>
    </link>
    <node client_id="top" component_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute2" component_manager_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm" exclusive="false" sliver_id="urn
        <interface client_id="top:if0" mac_address="fa:16:3e:1a:64:11" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface0ed7d2f9-5806-4c2b-b015-0d111eb7f624">
            <ip address="10.0.68.101" type="ip"/>
        </interface>
        <interface client_id="top:if1" mac_address="fa:16:3e:26:80:42" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interfacee64313b8-7863-4f6f-a499-58a3b76fdbdd">
            <ip address="10.0.67.101" type="ip"/>
        </interface>
        <interface client_id="top:if2" mac_address="fa:16:3e:c1:96:4e" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface5787ce1d-7d3b-425d-8f60-0251c72202fd">
            <ip address="10.0.64.101" type="ip"/>
        </interface>
        <sliver_type name="m1.small">
            <disk_image name="urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="boscontroller" port="3000" username="lnevers"/>
        </services>
        <host name="top"/>
    </node>
    <node client_id="right" component_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute1" component_manager_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm" exclusive="false" sliver_id="u
        <interface client_id="right:if0" mac_address="fa:16:3e:b1:9b:30" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface7d9dc1c7-f712-4d99-a5bb-f2b6ef5d3e3a">
            <ip address="10.0.64.103" type="ip"/>
        </interface>
        <interface client_id="right:if1" mac_address="fa:16:3e:09:58:ed" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface43690214-5426-4af0-b1d4-860f8b3e08d3">
            <ip address="10.0.69.103" type="ip"/>
        </interface>
        <sliver_type name="m1.small">
            <disk_image name="urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="boscontroller" port="3001" username="lnevers"/>
        </services>
        <host name="right"/>
    </node>
    <node client_id="hostB" component_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute2" component_manager_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm" exclusive="false" sliver_id="u
        <interface client_id="hostB:if0" mac_address="fa:16:3e:16:4b:06" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface3eddc68b-d8c6-4bb8-a5fb-fef26e2209bb">
            <ip address="10.0.65.105" type="ip"/>
        </interface>
        <sliver_type name="m1.small">
            <disk_image name="urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="boscontroller" port="3002" username="lnevers"/>
        </services>
        <host name="hostB"/>
    </node>
    <link client_id="link-2" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+link9b46cc9b-1391-4bdc-bd6c-e25975ec8661">
        <interface_ref client_id="left:if1"/>
        <interface_ref client_id="bottom:if0"/>
        <property dest_id="bottom:if0" source_id="left:if1"/>
        <property dest_id="left:if1" source_id="bottom:if0"/>
        <link_type name="lan"/>
    </link>
    <link client_id="link-0" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+link8f735c5b-cc41-45c9-9cde-1fe6824aea98">
        <interface_ref client_id="top:if1"/>
        <interface_ref client_id="left:if0"/>
        <property dest_id="left:if0" source_id="top:if1"/>
        <property dest_id="top:if1" source_id="left:if0"/>
        <link_type name="lan"/>
    </link>
    <node client_id="bottom" component_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute2" component_manager_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm" exclusive="false" sliver_id="
        <interface client_id="bottom:if0" mac_address="fa:16:3e:70:d4:99" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interfacea79fff59-ec9f-4e9f-9020-8ee5ed56a26d">
            <ip address="10.0.66.104" type="ip"/>
        </interface>
        <interface client_id="bottom:if1" mac_address="fa:16:3e:a8:cd:d4" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface3e47499d-c53d-42fa-9bfb-4a4ebe18afe1">
            <ip address="10.0.69.104" type="ip"/>
        </interface>
        <interface client_id="bottom:if2" mac_address="fa:16:3e:59:12:ba" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface0accbf92-41a4-4240-8807-3afd5655db69">
            <ip address="10.0.65.104" type="ip"/>
        </interface>
        <sliver_type name="m1.small">
            <disk_image name="urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="boscontroller" port="3003" username="lnevers"/>
        </services>
        <host name="bottom"/>
    </node>
    <node client_id="left" component_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute1" component_manager_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm" exclusive="false" sliver_id="ur
        <interface client_id="left:if0" mac_address="fa:16:3e:55:73:4e" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface313c2ecd-4995-4082-a001-7f6bde7d4ab5">
            <ip address="10.0.67.102" type="ip"/>
        </interface>
        <interface client_id="left:if1" mac_address="fa:16:3e:a5:11:f3" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface584afa68-8f18-473f-87cd-24bac6d783fd">
            <ip address="10.0.66.102" type="ip"/>
        </interface>
        <sliver_type name="m1.small">
            <disk_image name="urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="boscontroller" port="3004" username="lnevers"/>
        </services>
        <host name="left"/>
    </node>
    <link client_id="link-A" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+linka63c486c-060f-4c06-85cf-21c1654a12c7">
        <interface_ref client_id="hostA:if0"/>
        <interface_ref client_id="top:if0"/>
        <property dest_id="top:if0" source_id="hostA:if0"/>
        <property dest_id="hostA:if0" source_id="top:if0"/>
        <link_type name="lan"/>
    </link>
    <link client_id="link-3" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+link13b2d91d-f84d-43ca-ad24-fc07461b4667">
        <interface_ref client_id="bottom:if1"/>
        <interface_ref client_id="right:if1"/>
        <property dest_id="right:if1" source_id="bottom:if1"/>
        <property dest_id="bottom:if1" source_id="right:if1"/>
        <link_type name="lan"/>
    </link>
    <node client_id="hostA" component_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+node+boscompute2" component_manager_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+authority+cm" exclusive="false" sliver_id="u
        <interface client_id="hostA:if0" mac_address="fa:16:3e:1b:7a:5a" sliver_id="urn:publicid:IDN+boscontroller.gpolab.bbn.com+sliver+interface74bd7c7c-6b9b-4e5f-a172-8b3dfa8be992">
            <ip address="10.0.68.100" type="ip"/>
        </interface>
        <sliver_type name="m1.small">
            <disk_image name="urn:publicid:IDN+boscontroller.gpolab.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="boscontroller" port="3005" username="lnevers"/>
        </services>
        <host name="hostA"/>
    </node>
</rspec>

INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createsliver:

  Options as run:
		aggregate: ['gram2']
		framework: gram

  Args: createsliver OG-EXP-7 ./OG-EXP-7.rspec

  Result Summary: Got Reserved resources RSpec from 128-89-91-170-5002 
INFO:omni: ============================================================

Note: Unable to get multiple interfaces on hosts. Ticket #68

6. Install Click router

7. Determine Click router settings

8. Run the user-level Click router

9. Log in to Host1 and send traffic to host2

10. Review Click logs on each Click router

11. Delete slivers

Last modified 10 years ago Last modified on 05/23/14 14:12:28