wiki:GENIRacksHome/OpenGENIRacks/AcceptanceTestStatusDec2013/OG-EXP-2

Version 3 (modified by lnevers@bbn.com, 10 years ago) (diff)

--

OG-EXP-2: OpenGENI Single Site Acceptance Test

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

Last Update: 2013/12/16"

Step State Notes Tickets
Step 1 Pass
Step 2 Pass
Step 3 Pass
Step 4 Pass
Step 5 Pass
Step 6 Pass
Step 7 Pass
Step 8 Pass
Step 9 Pass: most criteria
Step 10 Pass
Step 11 Pass
Step 11 Pass
Step 12 Pass
Step 13 Pass
Step 14 Pass
Step 15 Pass
Step 16 Pass
Step 17 Pass
Step 18 Pass
Step 19 Pass
Step 20 Pass


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 Note: Custom images being developed, may be ready soon. (#50)

Step 1. As Experimenter1, request ListResources from OpenGENI

As experimenter "lnevers", issued a listresources command to determine available compute resources:

lnevers@arendia:~/gcf-2.4.1$ omni.py listresources -a gram1 -V3   
11:05:19 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
11:05:19 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
11:05:19 INFO     omni: Using control framework portal
11:05:19 INFO     omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
11:05:19 INFO     omni: Listed advertised resources at 1 out of 1 possible aggregates.
11:05:19 INFO     omni: <?xml version="1.0" ?>
11:05:19 INFO     omni:   <!-- Resources at AM:
	URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
	URL: https://128.89.72.112:5001
 -->
11:05:19 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/resources/rspec/3/ad.xsd http://www.geni.net/resources/rspec/ext/opstate/1 http://www.geni.net/resources/rspec/ext/opstate/1/ad.xsd">  
  <node component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" component_name="bbn-cam-cmpe-1" exclusive="false">    
        <sliver_type name="m1.tiny">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.small">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.medium">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.large">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.xlarge">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
  </node>   
 
  <node component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-2" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" component_name="bbn-cam-cmpe-2" exclusive="false">    
        <sliver_type name="m1.tiny">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.small">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.medium">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.large">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.xlarge">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
  </node>   
 
  <rspec_opstate aggregate_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" start="OPSTATE_GENI_NOT_READY" xmlns="http://www.geni.net/resources/rspec/ext/opstate/1">     
    <sliver_type name="m1.tiny"/>    
    <sliver_type name="m1.small"/>    
    <sliver_type name="m1.medium"/>    
    <sliver_type name="m1.large"/>    
    <sliver_type name="m1.xlarge"/>    
    <state name="OPSTATE_GENI_NOT_READY">       
      <action name="geni_start" next="OPSTATE_GENI_READY">         
        <description>          Boot the node        </description>         
      </action>       
      <description>        VMs begin powered down or inactive. They must be explicitly booted before use.      </description>       
    </state>     
  </rspec_opstate>   
 
  <rspec_opstate aggregate_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" start="OPSTATE_GENI_READY" xmlns="http://www.geni.net/resources/rspec/ext/opstate/1">     
    <sliver_type name="m1.tiny"/>    
    <sliver_type name="m1.small"/>    
    <sliver_type name="m1.medium"/>    
    <sliver_type name="m1.large"/>    
    <sliver_type name="m1.xlarge"/>    
    <state name="OPSTATE_GENI_READY">       
      <action name="geni_restart" next="OPSTATE_GENI_READY">         
        <description>          Reboot the node        </description>         
      </action>       
      <action name="geni_stop" next="OPSTATE_GENI_READY">         
        <description>          The state of the VM        </description>         
      </action>       
      <description>        The VM has been booted and is ready      </description>       
    </state>     
  </rspec_opstate>   
</rspec>
11:05:19 INFO     omni:  ------------------------------------------------------------
11:05:19 INFO     omni:  Completed listresources:
Args: listresources

  Result Summary: Queried resources from 1 of 1 aggregate(s).
 
11:05:19 INFO     omni:  ============================================================

The above Manifest passes rspeclint.

Step 2. Review advertisement RSpec for a list of OS images which can be loaded, and identify available resources.

The OS available are:

  <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
  <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      

Both were loaded successfully with various sliver_types: m1.small, m1.medium, m1.large.

Step 3. Verify that the GPO Ubuntu customized image is available in the advertisement RSpec.

Used instructions found in Custom Images section of the User Guide. Using a 5 VM slices, customized VM-3 by installing software and creating files in various system and user paths. Defined the following option file:

{
 "vm_name": "VM-3",
 "snapshot_name": "LN-Ubuntu-custom"
}

Created an Ubuntu custom image:

lnevers@arendia:~/gcf-2.4.1/gramrspec$  omni.py -a gram1 -V3 performoperationalaction 5vm-1lan20 create_snapshot --options ./optionfile1
15:13:22 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
15:13:22 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
15:13:22 INFO     omni: Using control framework portal
15:13:22 INFO     omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
15:13:23 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
15:13:23 INFO     omni: PerformOperationalAction create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at https://128.89.72.112:5001
15:15:17 INFO     omni: PerformOperationalAction result for create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at AM URL https://128.89.72.112:5001
15:15:17 INFO     omni: ''
15:15:17 INFO     omni:  ------------------------------------------------------------
15:15:17 INFO     omni:  Completed performoperationalaction:
Args: performoperationalaction 5vm-1lan20 create_snapshot

  Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
PerformOperationalAction create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 was successful. 
 
15:15:17 INFO     omni:  ============================================================

Verified that new Ubuntu custom image was part of OpenGENI listresources:

<node component_id="" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false">
<sliver_type name="" >
<disk_image name="ubby"  description=custom/>
<disk_image name="LN-Ubuntu-custom"  description=custom/>
</sliver_type>
</node>

Created a Slice with 2 VM that used the custom image:

lnevers@arendia:~/gcf-2.4.1/gramrspec$ omni.py createsliver -a gram  ln-ubuntu-cust ./gram-2vm-ubuntu-cust.rspec 
13:11:40 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
13:11:40 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
13:11:40 INFO     omni: Using control framework portal
13:11:40 INFO     omni: Substituting AM nickname gram with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
13:11:41 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ubuntu-cust expires on 2013-12-23 18:04:38 UTC
13:11:41 INFO     omni: Creating sliver(s) from rspec file ./gram-2vm-ubuntu-cust.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ubuntu-cust
13:24:16 INFO     omni: Got return from CreateSliver for slice ln-ubuntu-cust at https://128.89.72.112:5002:
13:24:16 INFO     omni: <?xml version="1.0" ?>
13:24:16 INFO     omni:   <!-- Reserved resources for:
	Slice: ln-ubuntu-cust
	at AM:
	URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
	URL: https://128.89.72.112:5002
 -->
13:24:16 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/manifest.xsd">
    <node client_id="VM-1" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vmf989c00e-bb4e-4c6d-af19-e073b5902f57">
        <interface client_id="VM-1:if0" mac_address="fa:16:3e:21:f7:d6" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interface966397be-da63-4f61-b95f-3a2d90bf2c4a">
            <ip address="172.16.1.1" type="ip"/>
        </interface>
        <sliver_type name="m1.small">
            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageLN-Ubuntu-custom" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="128.89.72.121" port="3000" username="lnevers"/>
        </services>
        <host name="VM-1"/>
    </node>
    <link client_id="link" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+link82eb8336-2f4a-4784-85bf-7b4fd6e29d35" vlantag="1001">
        <interface_ref client_id="VM-1:if0"/>
        <interface_ref client_id="VM-2:if0"/>
        <property dest_id="VM-2:if0" source_id="VM-1:if0"/>
        <property dest_id="VM-1:if0" source_id="VM-2:if0"/>
    </link>
    <node client_id="VM-2" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vmd1d9e863-73d0-4a4e-bade-21d9cd15888d">
        <interface client_id="VM-2:if0" mac_address="fa:16:3e:f3:78:a3" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interface84a4adee-0ab1-45d4-a9ea-d5b22c612faf">
            <ip address="172.16.1.2" type="ip"/>
        </interface>
        <sliver_type name="m1.small">
            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageLN-Ubuntu-custom" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="128.89.72.121" port="3001" username="lnevers"/>
        </services>
        <host name="VM-2"/>
    </node>
</rspec>

13:24:16 INFO     omni:  ------------------------------------------------------------
13:24:16 INFO     omni:  Completed createsliver:
Args: createsliver ln-ubuntu-cust ./gram-2vm-ubuntu-cust.rspec

  Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram 
13:24:16 INFO     omni:  ============================================================

Logged in to new hosts and found that all changes part of custom image were available on the newly created sliver.

lnevers@arendia:~/gcf-2.4.1/gramrspec$ omni.py -a gram1 -V3 performoperationalaction 5vm-1lan20 delete_snapshot --options ./optionfile-ubu 
15:50:17 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
15:50:17 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
15:50:17 INFO     omni: Using control framework portal
15:50:17 INFO     omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
15:50:18 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
15:50:18 INFO     omni: PerformOperationalAction delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at https://128.89.72.112:5001
15:52:41 INFO     omni: PerformOperationalAction result for delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at AM URL https://128.89.72.112:5001
15:52:41 INFO     omni: ''
15:52:41 INFO     omni:  ------------------------------------------------------------
15:52:41 INFO     omni:  Completed performoperationalaction:
Args: performoperationalaction 5vm-1lan20 delete_snapshot

  Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
PerformOperationalAction delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 was successful. 
 
15:52:41 INFO     omni:  ============================================================

Once test was completed, deleted custom image:

$ omni.py -a gram1 -V3 performoperationalaction 5vm-1lan20 delete_snapshot --options ./optionfile-ubu 
15:50:17 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
15:50:17 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
15:50:17 INFO     omni: Using control framework portal
15:50:17 INFO     omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
15:50:18 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
15:50:18 INFO     omni: PerformOperationalAction delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at https://128.89.72.112:5001
15:52:41 INFO     omni: PerformOperationalAction result for delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 at AM URL https://128.89.72.112:5001
15:52:41 INFO     omni: ''
15:52:41 INFO     omni:  ------------------------------------------------------------
15:52:41 INFO     omni:  Completed performoperationalaction:
Args: performoperationalaction 5vm-1lan20 delete_snapshot

  Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
PerformOperationalAction delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 was successful. 
 
15:52:41 INFO     omni:  ============================================================

Verified removal of custom ubuntu image from the listresources.

Created a Fedora custom image:

$ omni.py -a gram1 -V3 performoperationalaction lnfed create_snapshot --options ./optionfile-fed 
15:26:15 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
15:26:15 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
15:26:15 INFO     omni: Using control framework portal
15:26:15 INFO     omni: Substituting AM nickname gram1 with URL https://128.89.72.112:5001, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
15:26:16 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed expires on 2013-12-18 18:49:58 UTC
15:26:16 INFO     omni: PerformOperationalAction create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed at https://128.89.72.112:5001
15:28:05 INFO     omni: PerformOperationalAction result for create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed at AM URL https://128.89.72.112:5001
15:28:05 INFO     omni: ''
15:28:05 INFO     omni:  ------------------------------------------------------------
15:28:05 INFO     omni:  Completed performoperationalaction:
Args: performoperationalaction lnfed create_snapshot

  Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed expires on 2013-12-18 18:49:58 UTC
PerformOperationalAction create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed was successful. 
 
15:28:05 INFO     omni:  ============================================================
lnevers@arendia:~/gcf-2.4.1/gramrspec$ 

Verified that new Fedora custom image was part of OpenGENI listresources:

  <node component_id="" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false">    
    <sliver_type name="">      
      <disk_image description="custom" name="ubby"/>      
      <disk_image description="custom" name="LN_Ubuntu-custom_image"/>      
      <disk_image description="custom" name="LN-Fedora-custom"/>      
      <disk_image description="custom" name="ubby2"/>      
      <disk_image description="custom" name="LN-Ubuntu-custom"/>      
    </sliver_type>    
  </node>  

Created sliver with Fedora custom image:

$ omni.py createsliver lnfed-cust -a gram ./gram-2vm-fedora-cust.rspec 
15:46:13 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
15:46:13 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
15:46:13 INFO     omni: Using control framework portal
15:46:13 INFO     omni: Substituting AM nickname gram with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
15:46:13 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed-cust expires on 2013-12-23 20:45:49 UTC
15:46:13 INFO     omni: Creating sliver(s) from rspec file ./gram-2vm-fedora-cust.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed-cust
16:00:38 INFO     omni: Got return from CreateSliver for slice lnfed-cust at https://128.89.72.112:5002:
16:00:38 INFO     omni: <?xml version="1.0" ?>
16:00:38 INFO     omni:   <!-- Reserved resources for:
	Slice: lnfed-cust
	at AM:
	URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
	URL: https://128.89.72.112:5002
 -->
16:00:38 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/manifest.xsd">
    <node client_id="VM-1" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vm6b037352-0bf1-4331-8907-bb8c07eaaeba">
        <interface client_id="VM-1:if0" mac_address="fa:16:3e:f5:0e:c4" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interface8a4bf13e-6978-4887-9bed-83520641a20a">
            <ip address="172.16.1.1" type="ip"/>
        </interface>
        <sliver_type name="m1.large">
            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageLN-Fedora-custom" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="128.89.72.121" port="3007" username="lnevers"/>
        </services>
        <host name="VM-1"/>
    </node>
    <node client_id="VM-2" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-2" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vm14d51e07-786b-456e-9ce4-189330b676f4">
        <interface client_id="VM-2:if0" mac_address="fa:16:3e:6a:4d:42" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interfacee0c11c25-f113-4884-98a2-1cbb0210acb0">
            <ip address="172.16.1.2" type="ip"/>
        </interface>
        <sliver_type name="m1.large">
            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageLN-Fedora-custom" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="128.89.72.121" port="3008" username="lnevers"/>
        </services>
        <host name="VM-2"/>
    </node>
    <link client_id="link" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+linka2d6d988-c0d2-410b-910b-419bd175d462" vlantag="1004">
        <interface_ref client_id="VM-1:if0"/>
        <interface_ref client_id="VM-2:if0"/>
        <property dest_id="VM-2:if0" source_id="VM-1:if0"/>
        <property dest_id="VM-1:if0" source_id="VM-2:if0"/>
    </link>
</rspec>

16:00:38 INFO     omni:  ------------------------------------------------------------
16:00:38 INFO     omni:  Completed createsliver:
Args: createsliver lnfed-cust ./gram-2vm-fedora-cust.rspec

  Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram 
16:00:38 INFO     omni:  ============================================================

Verified presence of customizations.

Step 4. Define a request RSpec for two VMs with the default Ubuntu image and request a publically routable IP address

Created the following RSpec which includes each of the two supported syntax described at http://groups.geni.net/geni/wiki/GENIRacksHome/OpenGENIRacks/UserGuide#RspecExtenstions:

<rspec type="request" 
        xmlns="http://www.geni.net/resources/rspec/3" 
        xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" 
        xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/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
        http://www.protogeni.net/resources/rspec/ext/emulab/1
        http://www.protogeni.net/resources/rspec/ext/emulab/1/vtop_extension.xsd">  

 <node client_id="VM-1" component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1">
    <emulab:routable_control_ip xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1"/>
     <sliver_type name="m1.small" />
      <interface client_id="VM-1:if0" >
       <ip address="172.16.1.1" netmask="255.255.0.0" />
      </interface>
 </node>
 <node client_id="VM-2" component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1"  external_ip="true" >
     <sliver_type name="m1.small" />
      <interface client_id="VM-2:if0" >
        <ip address="172.16.1.2" netmask="255.255.0.0" />
      </interface>
 </node>
  <link client_id="link">
    <interface_ref client_id="VM-1:if0"/>
    <interface_ref client_id="VM-2:if0"/>
    <property source_id="VM-1:if0" dest_id="VM-2:if0"/>
    <property source_id="VM-2:if0" dest_id="VM-1:if0"/>
  </link>
</rspec>

Step 5. Create the first slice.

Created the slice:

$  omni.py createslice OG-EXP-2-exp1
12:35:19 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
12:35:19 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
12:35:19 INFO     omni: Using control framework portal
12:35:19 INFO     omni: Created slice with Name OG-EXP-2-exp1, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+OG-EXP-2-exp1, Expiration 2013-12-20 17:35:19
12:35:19 INFO     omni:  ------------------------------------------------------------
12:35:19 INFO     omni:  Completed createslice:
Args: createslice OG-EXP-2-exp1
  Result Summary: Created slice with Name OG-EXP-2-exp1, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+OG-EXP-2-exp1, Expiration 2013-12-20 17:35:19
12:35:19 INFO     omni:  ============================================================

Step 6. Create a sliver

Create sliver for the the OG-EXP-2-exp1 slice using the RSpec defined in step 4:

$ omni.py createsliver OG-EXP-2-exp1 -a gram ./OG-EXP-2-exp1.rspec 
12:36:39 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
12:36:39 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
12:36:39 INFO     omni: Using control framework portal
12:36:39 INFO     omni: Substituting AM nickname gram with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
12:36:39 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+OG-EXP-2-exp1 expires on 2013-12-20 17:35:19 UTC
12:36:39 INFO     omni: Creating sliver(s) from rspec file ./OG-EXP-2-exp1.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+OG-EXP-2-exp1
12:48:34 INFO     omni: Got return from CreateSliver for slice OG-EXP-2-exp1 at https://128.89.72.112:5002:
12:48:34 INFO     omni: <?xml version="1.0" ?>
12:48:34 INFO     omni:   <!-- Reserved resources for:
	Slice: OG-EXP-2-exp1
	at AM:
	URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
	URL: https://128.89.72.112:5002
 -->
12:48:34 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/manifest.xsd         http://www.protogeni.net/resources/rspec/ext/emulab/1         http://www.protogeni.net/resources/rspec/ext/emulab/1/vtop_extension.xsd">
    <node client_id="VM-2" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vmad31c104-ed08-4342-8541-c9ac035d2a0a">
        <interface client_id="VM-2:if0" mac_address="fa:16:3e:00:fb:d1" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interface41e93cab-503f-47c6-b50f-7ec572a0be64">
            <ip address="172.16.1.2" type="ip"/>
        </interface>
        <sliver_type name="m1.small">
            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="128.89.72.124" port="22" username="lnevers"/>
        </services>
        <host name="VM-2"/>
    </node>
    <node client_id="VM-1" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vm12e67b21-ef66-4b8f-8e23-302dc3881570">
        <interface client_id="VM-1:if0" mac_address="fa:16:3e:53:1f:31" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interface6ec551f0-92a7-4aae-9676-e983336edfa1">
            <ip address="172.16.1.1" type="ip"/>
        </interface>
        <sliver_type name="m1.small">
            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="128.89.72.125" port="22" username="lnevers"/>
        </services>
        <host name="VM-1"/>
    </node>
    <link client_id="link" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+link0d3f51ce-5aca-4366-bbee-c2e2865fb4e7" vlantag="1002">
        <interface_ref client_id="VM-1:if0"/>
        <interface_ref client_id="VM-2:if0"/>
        <property dest_id="VM-2:if0" source_id="VM-1:if0"/>
        <property dest_id="VM-1:if0" source_id="VM-2:if0"/>
    </link>
</rspec>

12:48:34 INFO     omni:  ------------------------------------------------------------
12:48:34 INFO     omni:  Completed createsliver:
Args: createsliver OG-EXP-2-exp1 ./OG-EXP-2-exp1.rspec

  Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram 
12:48:34 INFO     omni:  ============================================================

Determine login information and verify publically routable IP address assignment:

$ readyToLogin.py -a gram OG-EXP-2-exp1
 ...
================================================================================
LOGIN INFO for AM: https://128.89.72.112:5002
================================================================================

For more login info, see the section entitled:
	 'Providing a private key to ssh' in 'readyToLogin.py -h'

VM-1's geni_status is:  (am_status:) 
User lnevers logs in to VM-1 using:
	ssh -i ~/.ssh/id_rsa lnevers@128.89.72.125

VM-2's geni_status is:  (am_status:) 
User lnevers logs in to VM-2 using:
	ssh -i ~/.ssh/id_rsa lnevers@128.89.72.124

Note: IP Addresses assigned are routable.

Step 7. Log in to each of the VM and send traffic to the other VM

Logged into to VM-1 and pinged VM-2:

$ ssh -i ~/.ssh/id_rsa lnevers@128.89.72.125
Warning: Permanently added '128.89.72.125' (RSA) to the list of known hosts.
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-55-virtual x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Fri Dec 13 17:55:24 UTC 2013

  System load:  0.0               Processes:           62
  Usage of /:   3.9% of 19.68GB   Users logged in:     0
  Memory usage: 2%                IP address for eth0: 192.168.10.7
  Swap usage:   0%                IP address for eth1: 172.16.1.1

  Graph this data and manage this system at https://landscape.canonical.com/

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

  Use Juju to deploy your cloud instances and workloads:
    https://juju.ubuntu.com/#cloud-precise

0 packages can be updated.
0 updates are security updates.


The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

lnevers@vm-1:~$ /sbin/ifconfig eth1
eth1      Link encap:Ethernet  HWaddr fa:16:3e:53:1f:31  
          inet addr:172.16.1.1  Bcast:172.16.255.255  Mask:255.255.0.0
          inet6 addr: fe80::f816:3eff:fe53:1f31/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:122 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:24670 (24.6 KB)  TX bytes:10464 (10.4 KB)

lnevers@vm-1:~$ ping -c 60 -q 172.16.1.2
PING 172.16.1.2 (172.16.1.2) 56(84) bytes of data.

--- 172.16.1.2 ping statistics ---
60 packets transmitted, 60 received, 0% packet loss, time 58997ms
rtt min/avg/max/mdev = 0.221/0.293/1.216/0.128 ms
lnevers@vm-1:~$ 

Logged into to VM-2 and pinged VM-1:

$ ssh -i ~/.ssh/id_rsa lnevers@128.89.72.124
Warning: Permanently added '128.89.72.124' (RSA) to the list of known hosts.
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-55-virtual x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Fri Dec 13 17:55:31 UTC 2013

  System load:  0.0               Processes:           62
  Usage of /:   3.9% of 19.68GB   Users logged in:     0
  Memory usage: 2%                IP address for eth0: 192.168.10.6
  Swap usage:   0%                IP address for eth1: 172.16.1.2

  Graph this data and manage this system at https://landscape.canonical.com/

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

  Use Juju to deploy your cloud instances and workloads:
    https://juju.ubuntu.com/#cloud-precise

0 packages can be updated.
0 updates are security updates.


The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

/sbilnevers@vm-2:~$ /sbin/ifconfig eth1
eth1      Link encap:Ethernet  HWaddr fa:16:3e:00:fb:d1  
          inet addr:172.16.1.2  Bcast:172.16.255.255  Mask:255.255.0.0
          inet6 addr: fe80::f816:3eff:fe00:fbd1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:162 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:36207 (36.2 KB)  TX bytes:9876 (9.8 KB)

lnevers@vm-2:~$ ping -c 60 -q 172.16.1.1
PING 172.16.1.1 (172.16.1.1) 56(84) bytes of data.

--- 172.16.1.1 ping statistics ---
60 packets transmitted, 60 received, 0% packet loss, time 58996ms
rtt min/avg/max/mdev = 0.212/0.265/0.577/0.059 ms
lnevers@vm-2:~$ 

Step 8. Using root privileges on one of the VMs load a Kernel module. If not supported on OpenStack nodes, testing will proceed past this step.

The following commands are executed:

lnevers@vm-2:~$ id
uid=1001(lnevers) gid=1001(lnevers) groups=1001(lnevers)
lnevers@vm-2:~$ sudo lsmod
Module                  Size  Used by
isofs                  40257  0 
psmouse                97519  0 
virtio_balloon         13108  0 
serio_raw              13211  0 
acpiphp                24231  0 
floppy                 70207  0 
lnevers@vm-2:~$ sudo modprobe dummy
lnevers@vm-2:~$ sudo lsmod |egrep dummy
dummy                  12957  0 
lnevers@vm-2:~$ sudo modprobe -r dummy
lnevers@vm-2:~$ sudo lsmod |egrep dummy
lnevers@vm-2:~$ 

Step 9. + 10. Exchange traffic traffic

Initial test definition includes netcat traffic, but was replace by iperf. The following measurements were collected from VM-2 to VM-1:

Iperf OpenGENI BBN-CAM VM-2 to VM-1 (TCP) - TCP window size: 23.5 KByte (default)

Collected: 2013-XX-XX

One Client_

[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-60.0 sec   121 GBytes  17.4 Gbits/sec

Five Clients

[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-60.0 sec  25.0 GBytes  3.59 Gbits/sec
[  7]  0.0-60.0 sec  25.0 GBytes  3.58 Gbits/sec
[  5]  0.0-60.0 sec  25.0 GBytes  3.58 Gbits/sec
[  6]  0.0-60.0 sec  24.9 GBytes  3.57 Gbits/sec
[  3]  0.0-60.0 sec  24.9 GBytes  3.56 Gbits/sec
[SUM]  0.0-60.0 sec   125 GBytes  17.9 Gbits/sec

Ten Clients

[ ID] Interval       Transfer     Bandwidth
[  6]  0.0-60.0 sec  11.5 GBytes  1.65 Gbits/sec
[  7]  0.0-60.0 sec  11.6 GBytes  1.66 Gbits/sec
[ 12]  0.0-60.0 sec  11.1 GBytes  1.59 Gbits/sec
[  8]  0.0-60.0 sec  11.5 GBytes  1.65 Gbits/sec
[  9]  0.0-60.0 sec  11.5 GBytes  1.65 Gbits/sec
[ 10]  0.0-60.0 sec  11.5 GBytes  1.65 Gbits/sec
[  5]  0.0-60.0 sec  11.5 GBytes  1.65 Gbits/sec
[  4]  0.0-60.0 sec  11.6 GBytes  1.66 Gbits/sec
[ 11]  0.0-60.0 sec  11.1 GBytes  1.58 Gbits/sec
[  3]  0.0-60.0 sec  11.5 GBytes  1.65 Gbits/sec
[SUM]  0.0-60.0 sec   114 GBytes  16.4 Gbits/sec

Iperf OpenGENI BBN-CAM VM-2 to the VM-1 (UDP) - UDP buffer size: 224 KByte (default)

[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-60.0 sec   719 MBytes   101 Mbits/sec
[  3] Sent 512821 datagrams
[  3] Server Report:
[  3]  0.0-60.0 sec   719 MBytes   101 Mbits/sec   0.001 ms    0/512820 (0%)
[  3]  0.0-60.0 sec  1 datagrams received out-of-order

Ping from OpenGENI BBN-CAM VM-2 to the VM-1

60 packets transmitted, 60 received, 0% packet loss, time 58996ms
rtt min/avg/max/mdev = 0.212/0.265/0.577/0.059 ms

Step 11. As Experimenter2, request ListResources from Site2 OpenGENI.

As experimenter lnevers2, issued a listresources for OpenGENI:

lnevers2@arendia:~/gcf-2.4.1$ omni.py listresources -a gram  
13:10:29 INFO     omni: Config file '/home/lnevers2/.gcf/agg_nick_cache' or '/home/lnevers2/.gcf/agg_nick_cache' does not exist
13:10:29 INFO     omni: Downloaded latest `agg_nick_cache` from 'http://trac.gpolab.bbn.com/gcf/raw-attachment/wiki/Omni/agg_nick_cache' and copied to '/home/lnevers2/.gcf/agg_nick_cache'.
13:10:29 INFO     omni: Loading agg_nick_cache file '/home/lnevers2/.gcf/agg_nick_cache'
13:10:29 INFO     omni: Loading config file /home/lnevers2/.gcf/omni_config
13:10:29 INFO     omni: Using control framework portal
13:10:29 INFO     omni: Substituting AM nickname gram with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
13:10:30 INFO     omni: Listed advertised resources at 1 out of 1 possible aggregates.
13:10:30 INFO     omni: <?xml version="1.0" ?>
13:10:30 INFO     omni:   <!-- Resources at AM:
	URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
	URL: https://128.89.72.112:5002
 -->
13:10:30 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/resources/rspec/3/ad.xsd http://www.geni.net/resources/rspec/ext/opstate/1 http://www.geni.net/resources/rspec/ext/opstate/1/ad.xsd">  
  <node component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" component_name="bbn-cam-cmpe-1" exclusive="false">    
        <sliver_type name="m1.tiny">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.small">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.medium">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.large">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.xlarge">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
  </node>   
 
  <node component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-2" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" component_name="bbn-cam-cmpe-2" exclusive="false">    
        <sliver_type name="m1.tiny">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.small">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.medium">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.large">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
        <sliver_type name="m1.xlarge">      
            <disk_image description="" name="fedora-19" os="Linux" version="12"/>      
            <disk_image description="" name="ubby" os="Linux" version="12"/>      
            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>      
        </sliver_type>     
  </node>   
 
  <rspec_opstate aggregate_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" start="OPSTATE_GENI_NOT_READY" xmlns="http://www.geni.net/resources/rspec/ext/opstate/1">     
    <sliver_type name="m1.tiny"/>    
    <sliver_type name="m1.small"/>    
    <sliver_type name="m1.medium"/>    
    <sliver_type name="m1.large"/>    
    <sliver_type name="m1.xlarge"/>    
    <state name="OPSTATE_GENI_NOT_READY">       
      <action name="geni_start" next="OPSTATE_GENI_READY">         
        <description>          Boot the node        </description>         
      </action>       
      <description>        VMs begin powered down or inactive. They must be explicitly booted before use.      </description>       
    </state>     
  </rspec_opstate>   
 
  <rspec_opstate aggregate_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" start="OPSTATE_GENI_READY" xmlns="http://www.geni.net/resources/rspec/ext/opstate/1">     
    <sliver_type name="m1.tiny"/>    
    <sliver_type name="m1.small"/>    
    <sliver_type name="m1.medium"/>    
    <sliver_type name="m1.large"/>    
    <sliver_type name="m1.xlarge"/>    
    <state name="OPSTATE_GENI_READY">       
      <action name="geni_restart" next="OPSTATE_GENI_READY">         
        <description>          Reboot the node        </description>         
      </action>       
      <action name="geni_stop" next="OPSTATE_GENI_READY">         
        <description>          The state of the VM        </description>         
      </action>       
      <description>        The VM has been booted and is ready      </description>       
    </state>     
  </rspec_opstate>   
</rspec>
13:10:30 INFO     omni:  ------------------------------------------------------------
13:10:30 INFO     omni:  Completed listresources:
Args: listresources

  Result Summary: Queried resources from 1 of 1 aggregate(s).
 
13:10:30 INFO     omni:  ============================================================
lnevers2@arendia:~/gcf-2.4.1$ 

Step 12. Define a request RSpec for two physical nodes

Physical nodes not available, VMs used:

The following RSpec was defined:

<rspec type="request"
        xmlns="http://www.geni.net/resources/rspec/3"
        xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
        xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/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">

 <node client_id="VM-1" component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1">
     <sliver_type name="m1.small" />
      <interface client_id="VM-1:if0" >
       <ip address="172.16.1.1" netmask="255.255.0.0" />
      </interface>
 </node>
 <node client_id="VM-2" component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1">
     <sliver_type name="m1.small" />
      <interface client_id="VM-2:if0" >
        <ip address="172.16.1.2" netmask="255.255.0.0" />
      </interface>
 </node>
  <link client_id="link">
    <interface_ref client_id="VM-1:if0"/>
    <interface_ref client_id="VM-2:if0"/>
    <property source_id="VM-1:if0" dest_id="VM-2:if0"/>
    <property source_id="VM-2:if0" dest_id="VM-1:if0"/>
  </link>
</rspec>


Step 13. Create the second slice.

Created slice:

$ omni.py createslice OG-EXP-1-exp2
13:12:32 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
13:12:32 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
13:12:32 INFO     omni: Using control framework portal

13:12:32 INFO     omni: Created slice with Name OG-EXP-1-exp2, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+OG-EXP-1-exp2, Expiration 2013-12-20 18:12:32
13:12:32 INFO     omni:  ------------------------------------------------------------
13:12:32 INFO     omni:  Completed createslice:
Args: createslice OG-EXP-1-exp2
 Result Summary: Created slice with Name OG-EXP-1-exp2, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+OG-EXP-1-exp2, Expiration 2013-12-20 18:12:32
13:12:32 INFO     omni:  ============================================================

Step 14. Create a sliver in the second slice, using the RSpec defined in step 12.

Created sliver:

$ omni.py createsliver -a gram2 -V2  OG-EXP-1-exp2 ./OG-EXP-2-exp2.rspec 
13:12:53 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
13:12:53 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
13:12:53 INFO     omni: Using control framework portal
13:12:53 INFO     omni: Substituting AM nickname gram2 with URL https://128.89.72.112:5002, URN urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
13:12:54 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+OG-EXP-1-exp2 expires on 2013-12-20 18:12:32 UTC
13:12:54 INFO     omni: Creating sliver(s) from rspec file ./OG-EXP-2-exp2.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+OG-EXP-1-exp2
13:24:06 INFO     omni: Got return from CreateSliver for slice OG-EXP-1-exp2 at https://128.89.72.112:5002:
13:24:06 INFO     omni: <?xml version="1.0" ?>
13:24:06 INFO     omni:   <!-- Reserved resources for:
	Slice: OG-EXP-1-exp2
	at AM:
	URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
	URL: https://128.89.72.112:5002
 -->
13:24:06 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/manifest.xsd">
    <link client_id="link" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+linkaf9f19cb-b0e3-40ed-97b4-29ba5c927763" vlantag="1003">
        <interface_ref client_id="VM-1:if0"/>
        <interface_ref client_id="VM-2:if0"/>
        <property dest_id="VM-2:if0" source_id="VM-1:if0"/>
        <property dest_id="VM-1:if0" source_id="VM-2:if0"/>
    </link>
    <node client_id="VM-2" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vmda02ca76-aeb0-4ca6-acfe-ced39859ac50">
        <interface client_id="VM-2:if0" mac_address="fa:16:3e:d4:e0:a0" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interfacecf75916a-aad2-41a5-a278-c1d2e8dace9b">
            <ip address="172.16.1.2" type="ip"/>
        </interface>
        <sliver_type name="m1.small">
            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="128.89.72.121" port="3005" username="lnevers"/>
        </services>
        <host name="VM-2"/>
    </node>
    <node client_id="VM-1" component_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+vm2553f5e1-6d11-4f18-b000-caac56ce3d82">
        <interface client_id="VM-1:if0" mac_address="fa:16:3e:d7:5b:71" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+interface1229bf8c-b8d7-46ce-b90e-d64effc2d408">
            <ip address="172.16.1.1" type="ip"/>
        </interface>
        <sliver_type name="m1.small">
            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
        </sliver_type>
        <services>
            <login authentication="ssh-keys" hostname="128.89.72.121" port="3006" username="lnevers"/>
        </services>
        <host name="VM-1"/>
    </node>
</rspec>

13:24:06 INFO     omni:  ------------------------------------------------------------
13:24:06 INFO     omni:  Completed createsliver:
Args: createsliver OG-EXP-1-exp2 ./OG-EXP-2-exp2.rspec

  Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram 
13:24:06 INFO     omni:  ============================================================

Step 15. Log in to each of the systems, and send traffic to the other system.

Determine login:

$ readyToLogin.py -a gram  OG-EXP-1-exp2
...
================================================================================
LOGIN INFO for AM: https://128.89.72.112:5002
================================================================================

For more login info, see the section entitled:
	 'Providing a private key to ssh' in 'readyToLogin.py -h'

VM-1's geni_status is:  (am_status:) 
User lnevers logs in to VM-1 using:
	ssh -p 3006  -i ~/.ssh/id_rsa lnevers@128.89.72.121

VM-2's geni_status is:  (am_status:) 
User lnevers logs in to VM-2 using:
	ssh -p 3005  -i ~/.ssh/id_rsa lnevers@128.89.72.121


Step 16. Verify that experimenters 1 and 2 cannot use the control plane to access each other's resources.

Tried to exchange traffic between host in different slices and access resources as incorrect user, but was not able to find any access issue.

Step 17. Review system statistics and VM isolation and network isolation on data plane.

Reviewed system statistics on allocated nodes:

lnevers2@exp2-host2:~$ vmstat -s
 

lnevers2@exp2-host2:~$ top

Step 18. Verify that each VM has a distinct MAC address for that interface.

Verified that MAC addresses are unique and match the value in the manifest.

OG-EXP-2-exp1 - VM-1:

lnevers@vm-1:~$  /sbin/ifconfig|grep HW
eth0      Link encap:Ethernet  HWaddr fa:16:3e:97:ec:da  
eth1      Link encap:Ethernet  HWaddr fa:16:3e:53:1f:31  
lnevers@vm-1:~$ 

OG-EXP-2-exp1 - VM-2:

lnevers@vm-2:~$ /sbin/ifconfig|grep HW
eth0      Link encap:Ethernet  HWaddr fa:16:3e:a3:72:db  
eth1      Link encap:Ethernet  HWaddr fa:16:3e:00:fb:d1  
lnevers@vm-2:~$

OG-EXP-2-exp2 - VM-1:

lnevers@vm-1:~$ /sbin/ifconfig|grep HW
eth0      Link encap:Ethernet  HWaddr fa:16:3e:c2:86:1b  
eth1      Link encap:Ethernet  HWaddr fa:16:3e:d7:5b:71  
lnevers@vm-1:~$ 

OG-EXP-2-exp2 - VM-2:

lnevers@vm-2:~$ /sbin/ifconfig|grep HW
eth0      Link encap:Ethernet  HWaddr fa:16:3e:e0:92:a3  
eth1      Link encap:Ethernet  HWaddr fa:16:3e:d4:e0:a0  
lnevers@vm-2:~$ 

Step 19. Verify that VMs' MAC addresses are learned on the data plane switch.

Ability to exchange traffic betweent the hosts demonstrates that MAC addresses are learned.

Step 20. Stop traffic and delete slivers.

Deleted the two slivers, one sliver had an active ping, while the other was idle. Resources were deleted for the idle sliver, but no deleted for the sliver that had an active ping.