Changes between Initial Version and Version 1 of GENIRacksHome/OpenGENIRacks/AcceptanceTestStatusDec2013/OG-EXP-2


Ignore:
Timestamp:
05/23/14 11:34:38 (10 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/OpenGENIRacks/AcceptanceTestStatusDec2013/OG-EXP-2

    v1 v1  
     1= GR-EXP-2: GRAM Single Site Acceptance Test =
     2
     3This page captures status for the test case GR-EXP-2. For additional information see the [wiki:GENIRacksHome/GRAMRacks/AcceptanceTestStatusDec2013 Acceptance Test Status - December 2013] page overall status, or the [wiki:GENIRacksHome/AcceptanceTests/GRAMAcceptanceTestsPlan GRAM Acceptance Test Plan] for details about the planned evaluation.
     4
     5
     6
     7''Last Update: 2013/12/16"
     8
     9|| '''Step''' || '''State'''                                   ||''' Notes '''            || '''Tickets'''  ||
     10|| Step 1     ||[[span(Pass, style=background-color: green )]] ||                         ||                ||
     11|| Step 2     ||[[span(Pass, style=background-color: green )]] ||                         ||                ||
     12|| Step 3     ||[[span(Pass, style=background-color: green )]] ||                         ||                ||
     13|| Step 4     ||[[span(Pass, style=background-color: green )]] ||                         ||                ||
     14|| Step 5     ||[[span(Pass, style=background-color: green )]] ||                         ||                ||               
     15|| Step 6     ||[[span(Pass, style=background-color: green )]] ||                         ||                ||               
     16|| Step 7     ||[[span(Pass, style=background-color: green )]] ||                         ||                ||
     17|| Step 8     ||[[span(Pass, style=background-color: green )]] ||                         ||               ||               
     18|| Step 9     ||[[span(Pass: most criteria, style=background-color: #98FB98)]]||                         ||               ||               
     19|| Step 10    ||[[span(Pass, style=background-color: green )]]||                         ||                ||               
     20|| Step 11    ||[[span(Pass, style=background-color: green )]]||                         ||                ||               
     21|| Step 11    ||[[span(Pass, style=background-color: green )]]||                         ||                ||               
     22|| Step 12    ||[[span(Pass, style=background-color: green )]]||                         ||                ||               
     23|| Step 13    ||[[span(Pass, style=background-color: green )]]||                         ||                ||               
     24|| Step 14    ||[[span(Pass, style=background-color: green )]]||                         ||                ||               
     25|| Step 15    ||[[span(Pass, style=background-color: green )]]||                         ||                ||               
     26|| Step 16    ||[[span(Pass, style=background-color: green )]]||                         ||                ||               
     27|| Step 17    ||[[span(Pass, style=background-color: green )]]||                         ||                ||               
     28|| Step 18    ||[[span(Pass, style=background-color: green )]]||                         ||                ||               
     29|| Step 19    ||[[span(Pass, style=background-color: green )]]||                         ||                ||               
     30|| Step 20    ||[[span(Pass, style=background-color: green )]]||         ||                ||               
     31
     32[[BR]]
     33|| '''State Legend'''                                   || '''Description'''                                                    ||
     34||[[span(Pass, style=background-color: green )]]        || Test completed and met all criteria                                  ||
     35||[[span(Pass: most criteria, style=background-color: #98FB98)]]|| Test completed and met most criteria. Exceptions documented  ||
     36||[[span(Fail, style=background-color: red)]]           || Test completed and failed to meet criteria.                          ||
     37||[[span(Complete, style=background-color: yellow)]]    || Test completed but will require re-execution due to expected changes ||
     38||[[span(Blocked, style=background-color: orange)]]     || Blocked by ticketed issue(s).                                        ||
     39||[[span(In Progress, style=background-color: #63B8FF)]]|| Currently under test.                                                ||
     40
     41= Test Plan Steps =
     42This test case  uses the following aggregate nick_names:
     43{{{
     44gram=,https://128.89.91.170:5001
     45}}}
     46
     47''Evaluation Note:'' Custom images being developed, may be ready soon.  (#50)
     48
     49== Step 1. As Experimenter1, request !ListResources from GRAM  ==
     50
     51As experimenter "lnevers", issued a listresources command to determine available compute resources:
     52{{{
     53lnevers@arendia:~/gcf-2.4.1$ omni.py listresources -a gram1 -V3   
     5411:05:19 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
     5511:05:19 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     5611:05:19 INFO     omni: Using control framework portal
     5711: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
     5811:05:19 INFO     omni: Listed advertised resources at 1 out of 1 possible aggregates.
     5911:05:19 INFO     omni: <?xml version="1.0" ?>
     6011:05:19 INFO     omni:   <!-- Resources at AM:
     61        URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
     62        URL: https://128.89.72.112:5001
     63 -->
     6411: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"> 
     65  <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">   
     66        <sliver_type name="m1.tiny">     
     67            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     68            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     69            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     70        </sliver_type>     
     71        <sliver_type name="m1.small">     
     72            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     73            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     74            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     75        </sliver_type>     
     76        <sliver_type name="m1.medium">     
     77            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     78            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     79            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     80        </sliver_type>     
     81        <sliver_type name="m1.large">     
     82            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     83            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     84            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     85        </sliver_type>     
     86        <sliver_type name="m1.xlarge">     
     87            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     88            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     89            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     90        </sliver_type>     
     91  </node>   
     92 
     93  <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">   
     94        <sliver_type name="m1.tiny">     
     95            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     96            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     97            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     98        </sliver_type>     
     99        <sliver_type name="m1.small">     
     100            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     101            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     102            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     103        </sliver_type>     
     104        <sliver_type name="m1.medium">     
     105            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     106            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     107            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     108        </sliver_type>     
     109        <sliver_type name="m1.large">     
     110            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     111            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     112            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     113        </sliver_type>     
     114        <sliver_type name="m1.xlarge">     
     115            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     116            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     117            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     118        </sliver_type>     
     119  </node>   
     120 
     121  <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">     
     122    <sliver_type name="m1.tiny"/>   
     123    <sliver_type name="m1.small"/>   
     124    <sliver_type name="m1.medium"/>   
     125    <sliver_type name="m1.large"/>   
     126    <sliver_type name="m1.xlarge"/>   
     127    <state name="OPSTATE_GENI_NOT_READY">       
     128      <action name="geni_start" next="OPSTATE_GENI_READY">         
     129        <description>          Boot the node        </description>         
     130      </action>       
     131      <description>        VMs begin powered down or inactive. They must be explicitly booted before use.      </description>       
     132    </state>     
     133  </rspec_opstate>   
     134 
     135  <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">     
     136    <sliver_type name="m1.tiny"/>   
     137    <sliver_type name="m1.small"/>   
     138    <sliver_type name="m1.medium"/>   
     139    <sliver_type name="m1.large"/>   
     140    <sliver_type name="m1.xlarge"/>   
     141    <state name="OPSTATE_GENI_READY">       
     142      <action name="geni_restart" next="OPSTATE_GENI_READY">         
     143        <description>          Reboot the node        </description>         
     144      </action>       
     145      <action name="geni_stop" next="OPSTATE_GENI_READY">         
     146        <description>          The state of the VM        </description>         
     147      </action>       
     148      <description>        The VM has been booted and is ready      </description>       
     149    </state>     
     150  </rspec_opstate>   
     151</rspec>
     15211:05:19 INFO     omni:  ------------------------------------------------------------
     15311:05:19 INFO     omni:  Completed listresources:
     154Args: listresources
     155
     156  Result Summary: Queried resources from 1 of 1 aggregate(s).
     157 
     15811:05:19 INFO     omni:  ============================================================
     159}}}
     160
     161The above Manifest passes rspeclint.
     162
     163== Step 2. Review advertisement RSpec for a list of OS images which can be loaded, and identify available resources.  ==
     164
     165The OS available are:
     166{{{
     167  <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     168  <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     169}}}
     170
     171Both were loaded successfully with various sliver_types: m1.small, m1.medium, m1.large.
     172
     173== Step 3. Verify that the GPO Ubuntu customized image is available in the advertisement RSpec.  ==
     174
     175Used instructions found in [https://superior.bbn.com/trac/bbn-rack/wiki/UserGuide#CustomImages Custom Images] section of the [https://superior.bbn.com/trac/bbn-rack/wiki/UserGuide User Guide].
     176 
     177Using a 5 VM slices, customized VM-3 by installing software and creating files in various system and user paths.  Defined the following option file:
     178{{{
     179{
     180 "vm_name": "VM-3",
     181 "snapshot_name": "LN-Ubuntu-custom"
     182}
     183
     184}}}
     185
     186Created an Ubuntu custom image:
     187{{{
     188lnevers@arendia:~/gcf-2.4.1/gramrspec$  omni.py -a gram1 -V3 performoperationalaction 5vm-1lan20 create_snapshot --options ./optionfile1
     18915:13:22 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
     19015:13:22 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     19115:13:22 INFO     omni: Using control framework portal
     19215: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
     19315: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
     19415: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
     19515: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
     19615:15:17 INFO     omni: ''
     19715:15:17 INFO     omni:  ------------------------------------------------------------
     19815:15:17 INFO     omni:  Completed performoperationalaction:
     199Args: performoperationalaction 5vm-1lan20 create_snapshot
     200
     201  Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
     202PerformOperationalAction create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 was successful.
     203 
     20415:15:17 INFO     omni:  ============================================================
     205}}}
     206
     207Verified that new Ubuntu custom image was part of GRAM listresources:
     208{{{
     209<node component_id="" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false">
     210<sliver_type name="" >
     211<disk_image name="ubby"  description=custom/>
     212<disk_image name="LN-Ubuntu-custom"  description=custom/>
     213</sliver_type>
     214</node>
     215}}}
     216
     217Created a Slice with 2 VM that used the custom image:
     218{{{
     219lnevers@arendia:~/gcf-2.4.1/gramrspec$ omni.py createsliver -a gram  ln-ubuntu-cust ./gram-2vm-ubuntu-cust.rspec
     22013:11:40 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
     22113:11:40 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     22213:11:40 INFO     omni: Using control framework portal
     22313: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
     22413: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
     22513: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
     22613:24:16 INFO     omni: Got return from CreateSliver for slice ln-ubuntu-cust at https://128.89.72.112:5002:
     22713:24:16 INFO     omni: <?xml version="1.0" ?>
     22813:24:16 INFO     omni:   <!-- Reserved resources for:
     229        Slice: ln-ubuntu-cust
     230        at AM:
     231        URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
     232        URL: https://128.89.72.112:5002
     233 -->
     23413:24:16 INFO     omni:   
     235<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">
     236    <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">
     237        <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">
     238            <ip address="172.16.1.1" type="ip"/>
     239        </interface>
     240        <sliver_type name="m1.small">
     241            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageLN-Ubuntu-custom" os="Linux" version="12"/>
     242        </sliver_type>
     243        <services>
     244            <login authentication="ssh-keys" hostname="128.89.72.121" port="3000" username="lnevers"/>
     245        </services>
     246        <host name="VM-1"/>
     247    </node>
     248    <link client_id="link" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+link82eb8336-2f4a-4784-85bf-7b4fd6e29d35" vlantag="1001">
     249        <interface_ref client_id="VM-1:if0"/>
     250        <interface_ref client_id="VM-2:if0"/>
     251        <property dest_id="VM-2:if0" source_id="VM-1:if0"/>
     252        <property dest_id="VM-1:if0" source_id="VM-2:if0"/>
     253    </link>
     254    <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">
     255        <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">
     256            <ip address="172.16.1.2" type="ip"/>
     257        </interface>
     258        <sliver_type name="m1.small">
     259            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageLN-Ubuntu-custom" os="Linux" version="12"/>
     260        </sliver_type>
     261        <services>
     262            <login authentication="ssh-keys" hostname="128.89.72.121" port="3001" username="lnevers"/>
     263        </services>
     264        <host name="VM-2"/>
     265    </node>
     266</rspec>
     267
     26813:24:16 INFO     omni:  ------------------------------------------------------------
     26913:24:16 INFO     omni:  Completed createsliver:
     270Args: createsliver ln-ubuntu-cust ./gram-2vm-ubuntu-cust.rspec
     271
     272  Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram
     27313:24:16 INFO     omni:  ============================================================
     274
     275}}}
     276Logged in to new hosts and found that all changes part of custom image were available on the newly created sliver. 
     277{{{
     278lnevers@arendia:~/gcf-2.4.1/gramrspec$ omni.py -a gram1 -V3 performoperationalaction 5vm-1lan20 delete_snapshot --options ./optionfile-ubu
     27915:50:17 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
     28015:50:17 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     28115:50:17 INFO     omni: Using control framework portal
     28215: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
     28315: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
     28415: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
     28515: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
     28615:52:41 INFO     omni: ''
     28715:52:41 INFO     omni:  ------------------------------------------------------------
     28815:52:41 INFO     omni:  Completed performoperationalaction:
     289Args: performoperationalaction 5vm-1lan20 delete_snapshot
     290
     291  Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
     292PerformOperationalAction delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 was successful.
     293 
     29415:52:41 INFO     omni:  ============================================================
     295
     296}}}
     297
     298Once test was completed, deleted custom image:
     299{{{
     300$ omni.py -a gram1 -V3 performoperationalaction 5vm-1lan20 delete_snapshot --options ./optionfile-ubu
     30115:50:17 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
     30215:50:17 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     30315:50:17 INFO     omni: Using control framework portal
     30415: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
     30515: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
     30615: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
     30715: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
     30815:52:41 INFO     omni: ''
     30915:52:41 INFO     omni:  ------------------------------------------------------------
     31015:52:41 INFO     omni:  Completed performoperationalaction:
     311Args: performoperationalaction 5vm-1lan20 delete_snapshot
     312
     313  Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 expires on 2013-12-23 05:21:27 UTC
     314PerformOperationalAction delete_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+5vm-1lan20 was successful.
     315 
     31615:52:41 INFO     omni:  ============================================================
     317}}}
     318
     319Verified removal of custom ubuntu image from the listresources.
     320 
     321
     322Created a Fedora custom image:
     323{{{
     324$ omni.py -a gram1 -V3 performoperationalaction lnfed create_snapshot --options ./optionfile-fed
     32515:26:15 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
     32615:26:15 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     32715:26:15 INFO     omni: Using control framework portal
     32815: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
     32915:26:16 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed expires on 2013-12-18 18:49:58 UTC
     33015: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
     33115: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
     33215:28:05 INFO     omni: ''
     33315:28:05 INFO     omni:  ------------------------------------------------------------
     33415:28:05 INFO     omni:  Completed performoperationalaction:
     335Args: performoperationalaction lnfed create_snapshot
     336
     337  Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed expires on 2013-12-18 18:49:58 UTC
     338PerformOperationalAction create_snapshot on slivers in slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnfed was successful.
     339 
     34015:28:05 INFO     omni:  ============================================================
     341lnevers@arendia:~/gcf-2.4.1/gramrspec$
     342}}}
     343
     344Verified that new Fedora custom image was part of GRAM listresources:
     345{{{
     346  <node component_id="" component_manager_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am" exclusive="false">   
     347    <sliver_type name="">     
     348      <disk_image description="custom" name="ubby"/>     
     349      <disk_image description="custom" name="LN_Ubuntu-custom_image"/>     
     350      <disk_image description="custom" name="LN-Fedora-custom"/>     
     351      <disk_image description="custom" name="ubby2"/>     
     352      <disk_image description="custom" name="LN-Ubuntu-custom"/>     
     353    </sliver_type>   
     354  </node> 
     355
     356}}}
     357
     358Created sliver with Fedora custom image:
     359{{{
     360$ omni.py createsliver lnfed-cust -a gram ./gram-2vm-fedora-cust.rspec
     36115:46:13 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
     36215:46:13 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     36315:46:13 INFO     omni: Using control framework portal
     36415: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
     36515: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
     36615: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
     36716:00:38 INFO     omni: Got return from CreateSliver for slice lnfed-cust at https://128.89.72.112:5002:
     36816:00:38 INFO     omni: <?xml version="1.0" ?>
     36916:00:38 INFO     omni:   <!-- Reserved resources for:
     370        Slice: lnfed-cust
     371        at AM:
     372        URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
     373        URL: https://128.89.72.112:5002
     374 -->
     37516:00:38 INFO     omni:   
     376<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">
     377    <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">
     378        <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">
     379            <ip address="172.16.1.1" type="ip"/>
     380        </interface>
     381        <sliver_type name="m1.large">
     382            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageLN-Fedora-custom" os="Linux" version="12"/>
     383        </sliver_type>
     384        <services>
     385            <login authentication="ssh-keys" hostname="128.89.72.121" port="3007" username="lnevers"/>
     386        </services>
     387        <host name="VM-1"/>
     388    </node>
     389    <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">
     390        <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">
     391            <ip address="172.16.1.2" type="ip"/>
     392        </interface>
     393        <sliver_type name="m1.large">
     394            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageLN-Fedora-custom" os="Linux" version="12"/>
     395        </sliver_type>
     396        <services>
     397            <login authentication="ssh-keys" hostname="128.89.72.121" port="3008" username="lnevers"/>
     398        </services>
     399        <host name="VM-2"/>
     400    </node>
     401    <link client_id="link" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+linka2d6d988-c0d2-410b-910b-419bd175d462" vlantag="1004">
     402        <interface_ref client_id="VM-1:if0"/>
     403        <interface_ref client_id="VM-2:if0"/>
     404        <property dest_id="VM-2:if0" source_id="VM-1:if0"/>
     405        <property dest_id="VM-1:if0" source_id="VM-2:if0"/>
     406    </link>
     407</rspec>
     408
     40916:00:38 INFO     omni:  ------------------------------------------------------------
     41016:00:38 INFO     omni:  Completed createsliver:
     411Args: createsliver lnfed-cust ./gram-2vm-fedora-cust.rspec
     412
     413  Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram
     41416:00:38 INFO     omni:  ============================================================
     415}}}
     416
     417Verified presence of customizations.
     418
     419== Step 4. Define a request RSpec for two VMs with the default Ubuntu image and request a publically routable IP address ==
     420
     421Created the following RSpec which includes each of the two supported syntax described at https://superior.bbn.com/trac/bbn-rack/wiki/UserGuide#RspecExtenstions:
     422{{{
     423<rspec type="request"
     424        xmlns="http://www.geni.net/resources/rspec/3"
     425        xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
     426        xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1"
     427        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     428        xsi:schemaLocation="http://www.geni.net/resources/rspec/3
     429        http://www.geni.net/resources/rspec/3/request.xsd
     430        http://www.protogeni.net/resources/rspec/ext/emulab/1
     431        http://www.protogeni.net/resources/rspec/ext/emulab/1/vtop_extension.xsd"> 
     432
     433 <node client_id="VM-1" component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1">
     434    <emulab:routable_control_ip xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1"/>
     435     <sliver_type name="m1.small" />
     436      <interface client_id="VM-1:if0" >
     437       <ip address="172.16.1.1" netmask="255.255.0.0" />
     438      </interface>
     439 </node>
     440 <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" >
     441     <sliver_type name="m1.small" />
     442      <interface client_id="VM-2:if0" >
     443        <ip address="172.16.1.2" netmask="255.255.0.0" />
     444      </interface>
     445 </node>
     446  <link client_id="link">
     447    <interface_ref client_id="VM-1:if0"/>
     448    <interface_ref client_id="VM-2:if0"/>
     449    <property source_id="VM-1:if0" dest_id="VM-2:if0"/>
     450    <property source_id="VM-2:if0" dest_id="VM-1:if0"/>
     451  </link>
     452</rspec>
     453
     454}}}
     455
     456== Step 5. Create the first slice. ==
     457Created the slice:
     458{{{
     459$  omni.py createslice GR-EXP-2-exp1
     46012:35:19 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
     46112:35:19 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     46212:35:19 INFO     omni: Using control framework portal
     46312:35:19 INFO     omni: Created slice with Name GR-EXP-2-exp1, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-2-exp1, Expiration 2013-12-20 17:35:19
     46412:35:19 INFO     omni:  ------------------------------------------------------------
     46512:35:19 INFO     omni:  Completed createslice:
     466Args: createslice GR-EXP-2-exp1
     467  Result Summary: Created slice with Name GR-EXP-2-exp1, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-2-exp1, Expiration 2013-12-20 17:35:19
     46812:35:19 INFO     omni:  ============================================================
     469}}}
     470
     471== Step 6. Create a sliver ==
     472Create sliver for the the GR-EXP-2-exp1 slice using the RSpec defined in step 4:
     473{{{
     474$ omni.py createsliver GR-EXP-2-exp1 -a gram ./GR-EXP-2-exp1.rspec
     47512:36:39 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
     47612:36:39 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     47712:36:39 INFO     omni: Using control framework portal
     47812: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
     47912:36:39 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-2-exp1 expires on 2013-12-20 17:35:19 UTC
     48012:36:39 INFO     omni: Creating sliver(s) from rspec file ./GR-EXP-2-exp1.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-2-exp1
     48112:48:34 INFO     omni: Got return from CreateSliver for slice GR-EXP-2-exp1 at https://128.89.72.112:5002:
     48212:48:34 INFO     omni: <?xml version="1.0" ?>
     48312:48:34 INFO     omni:   <!-- Reserved resources for:
     484        Slice: GR-EXP-2-exp1
     485        at AM:
     486        URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
     487        URL: https://128.89.72.112:5002
     488 -->
     48912:48:34 INFO     omni:   
     490<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">
     491    <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">
     492        <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">
     493            <ip address="172.16.1.2" type="ip"/>
     494        </interface>
     495        <sliver_type name="m1.small">
     496            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
     497        </sliver_type>
     498        <services>
     499            <login authentication="ssh-keys" hostname="128.89.72.124" port="22" username="lnevers"/>
     500        </services>
     501        <host name="VM-2"/>
     502    </node>
     503    <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">
     504        <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">
     505            <ip address="172.16.1.1" type="ip"/>
     506        </interface>
     507        <sliver_type name="m1.small">
     508            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
     509        </sliver_type>
     510        <services>
     511            <login authentication="ssh-keys" hostname="128.89.72.125" port="22" username="lnevers"/>
     512        </services>
     513        <host name="VM-1"/>
     514    </node>
     515    <link client_id="link" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+link0d3f51ce-5aca-4366-bbee-c2e2865fb4e7" vlantag="1002">
     516        <interface_ref client_id="VM-1:if0"/>
     517        <interface_ref client_id="VM-2:if0"/>
     518        <property dest_id="VM-2:if0" source_id="VM-1:if0"/>
     519        <property dest_id="VM-1:if0" source_id="VM-2:if0"/>
     520    </link>
     521</rspec>
     522
     52312:48:34 INFO     omni:  ------------------------------------------------------------
     52412:48:34 INFO     omni:  Completed createsliver:
     525Args: createsliver GR-EXP-2-exp1 ./GR-EXP-2-exp1.rspec
     526
     527  Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram
     52812:48:34 INFO     omni:  ============================================================
     529}}}
     530
     531
     532Determine login information and verify publically routable IP address assignment:
     533{{{
     534$ readyToLogin.py -a gram GR-EXP-2-exp1
     535 ...
     536================================================================================
     537LOGIN INFO for AM: https://128.89.72.112:5002
     538================================================================================
     539
     540For more login info, see the section entitled:
     541         'Providing a private key to ssh' in 'readyToLogin.py -h'
     542
     543VM-1's geni_status is:  (am_status:)
     544User lnevers logs in to VM-1 using:
     545        ssh -i ~/.ssh/id_rsa lnevers@128.89.72.125
     546
     547VM-2's geni_status is:  (am_status:)
     548User lnevers logs in to VM-2 using:
     549        ssh -i ~/.ssh/id_rsa lnevers@128.89.72.124
     550}}}
     551
     552'''Note''': IP Addresses assigned are routable.
     553
     554== Step 7. Log in to each of the VM and send traffic to the other VM ==
     555
     556Logged into to VM-1 and pinged VM-2:
     557{{{
     558$ ssh -i ~/.ssh/id_rsa lnevers@128.89.72.125
     559Warning: Permanently added '128.89.72.125' (RSA) to the list of known hosts.
     560Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-55-virtual x86_64)
     561
     562 * Documentation:  https://help.ubuntu.com/
     563
     564  System information as of Fri Dec 13 17:55:24 UTC 2013
     565
     566  System load:  0.0               Processes:           62
     567  Usage of /:   3.9% of 19.68GB   Users logged in:     0
     568  Memory usage: 2%                IP address for eth0: 192.168.10.7
     569  Swap usage:   0%                IP address for eth1: 172.16.1.1
     570
     571  Graph this data and manage this system at https://landscape.canonical.com/
     572
     573  Get cloud support with Ubuntu Advantage Cloud Guest:
     574    http://www.ubuntu.com/business/services/cloud
     575
     576  Use Juju to deploy your cloud instances and workloads:
     577    https://juju.ubuntu.com/#cloud-precise
     578
     5790 packages can be updated.
     5800 updates are security updates.
     581
     582
     583The programs included with the Ubuntu system are free software;
     584the exact distribution terms for each program are described in the
     585individual files in /usr/share/doc/*/copyright.
     586
     587Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     588applicable law.
     589
     590lnevers@vm-1:~$ /sbin/ifconfig eth1
     591eth1      Link encap:Ethernet  HWaddr fa:16:3e:53:1f:31 
     592          inet addr:172.16.1.1  Bcast:172.16.255.255  Mask:255.255.0.0
     593          inet6 addr: fe80::f816:3eff:fe53:1f31/64 Scope:Link
     594          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     595          RX packets:122 errors:0 dropped:0 overruns:0 frame:0
     596          TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
     597          collisions:0 txqueuelen:1000
     598          RX bytes:24670 (24.6 KB)  TX bytes:10464 (10.4 KB)
     599
     600lnevers@vm-1:~$ ping -c 60 -q 172.16.1.2
     601PING 172.16.1.2 (172.16.1.2) 56(84) bytes of data.
     602
     603--- 172.16.1.2 ping statistics ---
     60460 packets transmitted, 60 received, 0% packet loss, time 58997ms
     605rtt min/avg/max/mdev = 0.221/0.293/1.216/0.128 ms
     606lnevers@vm-1:~$
     607}}}
     608
     609Logged into to VM-2 and pinged VM-1:
     610{{{
     611$ ssh -i ~/.ssh/id_rsa lnevers@128.89.72.124
     612Warning: Permanently added '128.89.72.124' (RSA) to the list of known hosts.
     613Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-55-virtual x86_64)
     614
     615 * Documentation:  https://help.ubuntu.com/
     616
     617  System information as of Fri Dec 13 17:55:31 UTC 2013
     618
     619  System load:  0.0               Processes:           62
     620  Usage of /:   3.9% of 19.68GB   Users logged in:     0
     621  Memory usage: 2%                IP address for eth0: 192.168.10.6
     622  Swap usage:   0%                IP address for eth1: 172.16.1.2
     623
     624  Graph this data and manage this system at https://landscape.canonical.com/
     625
     626  Get cloud support with Ubuntu Advantage Cloud Guest:
     627    http://www.ubuntu.com/business/services/cloud
     628
     629  Use Juju to deploy your cloud instances and workloads:
     630    https://juju.ubuntu.com/#cloud-precise
     631
     6320 packages can be updated.
     6330 updates are security updates.
     634
     635
     636The programs included with the Ubuntu system are free software;
     637the exact distribution terms for each program are described in the
     638individual files in /usr/share/doc/*/copyright.
     639
     640Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     641applicable law.
     642
     643/sbilnevers@vm-2:~$ /sbin/ifconfig eth1
     644eth1      Link encap:Ethernet  HWaddr fa:16:3e:00:fb:d1 
     645          inet addr:172.16.1.2  Bcast:172.16.255.255  Mask:255.255.0.0
     646          inet6 addr: fe80::f816:3eff:fe00:fbd1/64 Scope:Link
     647          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     648          RX packets:162 errors:0 dropped:0 overruns:0 frame:0
     649          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
     650          collisions:0 txqueuelen:1000
     651          RX bytes:36207 (36.2 KB)  TX bytes:9876 (9.8 KB)
     652
     653lnevers@vm-2:~$ ping -c 60 -q 172.16.1.1
     654PING 172.16.1.1 (172.16.1.1) 56(84) bytes of data.
     655
     656--- 172.16.1.1 ping statistics ---
     65760 packets transmitted, 60 received, 0% packet loss, time 58996ms
     658rtt min/avg/max/mdev = 0.212/0.265/0.577/0.059 ms
     659lnevers@vm-2:~$
     660
     661}}}
     662
     663== 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. ==
     664
     665The following commands are executed:
     666{{{
     667lnevers@vm-2:~$ id
     668uid=1001(lnevers) gid=1001(lnevers) groups=1001(lnevers)
     669lnevers@vm-2:~$ sudo lsmod
     670Module                  Size  Used by
     671isofs                  40257  0
     672psmouse                97519  0
     673virtio_balloon         13108  0
     674serio_raw              13211  0
     675acpiphp                24231  0
     676floppy                 70207  0
     677lnevers@vm-2:~$ sudo modprobe dummy
     678lnevers@vm-2:~$ sudo lsmod |egrep dummy
     679dummy                  12957  0
     680lnevers@vm-2:~$ sudo modprobe -r dummy
     681lnevers@vm-2:~$ sudo lsmod |egrep dummy
     682lnevers@vm-2:~$
     683}}}
     684
     685
     686== Step 9. + 10. Exchange traffic  traffic ==
     687Initial test definition  includes netcat traffic, but was replace by iperf.  The following measurements were collected from VM-2 to VM-1:
     688
     689'''Iperf GRAM BBN-CAM VM-2 to VM-1 (TCP) - TCP window size: 23.5 KByte (default)'''
     690
     691''Collected: 2013-XX-XX''
     692
     693__One Client_
     694{{{
     695[ ID] Interval       Transfer     Bandwidth
     696[  3]  0.0-60.0 sec   121 GBytes  17.4 Gbits/sec
     697}}}
     698
     699__Five Clients__
     700{{{
     701[ ID] Interval       Transfer     Bandwidth
     702[  4]  0.0-60.0 sec  25.0 GBytes  3.59 Gbits/sec
     703[  7]  0.0-60.0 sec  25.0 GBytes  3.58 Gbits/sec
     704[  5]  0.0-60.0 sec  25.0 GBytes  3.58 Gbits/sec
     705[  6]  0.0-60.0 sec  24.9 GBytes  3.57 Gbits/sec
     706[  3]  0.0-60.0 sec  24.9 GBytes  3.56 Gbits/sec
     707[SUM]  0.0-60.0 sec   125 GBytes  17.9 Gbits/sec
     708}}}
     709
     710__Ten Clients__
     711{{{
     712[ ID] Interval       Transfer     Bandwidth
     713[  6]  0.0-60.0 sec  11.5 GBytes  1.65 Gbits/sec
     714[  7]  0.0-60.0 sec  11.6 GBytes  1.66 Gbits/sec
     715[ 12]  0.0-60.0 sec  11.1 GBytes  1.59 Gbits/sec
     716[  8]  0.0-60.0 sec  11.5 GBytes  1.65 Gbits/sec
     717[  9]  0.0-60.0 sec  11.5 GBytes  1.65 Gbits/sec
     718[ 10]  0.0-60.0 sec  11.5 GBytes  1.65 Gbits/sec
     719[  5]  0.0-60.0 sec  11.5 GBytes  1.65 Gbits/sec
     720[  4]  0.0-60.0 sec  11.6 GBytes  1.66 Gbits/sec
     721[ 11]  0.0-60.0 sec  11.1 GBytes  1.58 Gbits/sec
     722[  3]  0.0-60.0 sec  11.5 GBytes  1.65 Gbits/sec
     723[SUM]  0.0-60.0 sec   114 GBytes  16.4 Gbits/sec
     724}}}
     725
     726'''Iperf GRAM BBN-CAM VM-2 to the VM-1 (UDP) - UDP buffer size:  224 KByte (default)'''
     727{{{
     728[ ID] Interval       Transfer     Bandwidth
     729[  3]  0.0-60.0 sec   719 MBytes   101 Mbits/sec
     730[  3] Sent 512821 datagrams
     731[  3] Server Report:
     732[  3]  0.0-60.0 sec   719 MBytes   101 Mbits/sec   0.001 ms    0/512820 (0%)
     733[  3]  0.0-60.0 sec  1 datagrams received out-of-order
     734}}}
     735
     736'''Ping from GRAM BBN-CAM VM-2 to the VM-1 '''
     737{{{
     73860 packets transmitted, 60 received, 0% packet loss, time 58996ms
     739rtt min/avg/max/mdev = 0.212/0.265/0.577/0.059 ms
     740}}}
     741
     742
     743== Step 11. As Experimenter2, request !ListResources from Site2 GRAM.  ==
     744
     745As experimenter lnevers2, issued a listresources for GRAM:
     746{{{
     747lnevers2@arendia:~/gcf-2.4.1$ omni.py listresources -a gram 
     74813:10:29 INFO     omni: Config file '/home/lnevers2/.gcf/agg_nick_cache' or '/home/lnevers2/.gcf/agg_nick_cache' does not exist
     74913: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'.
     75013:10:29 INFO     omni: Loading agg_nick_cache file '/home/lnevers2/.gcf/agg_nick_cache'
     75113:10:29 INFO     omni: Loading config file /home/lnevers2/.gcf/omni_config
     75213:10:29 INFO     omni: Using control framework portal
     75313: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
     75413:10:30 INFO     omni: Listed advertised resources at 1 out of 1 possible aggregates.
     75513:10:30 INFO     omni: <?xml version="1.0" ?>
     75613:10:30 INFO     omni:   <!-- Resources at AM:
     757        URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
     758        URL: https://128.89.72.112:5002
     759 -->
     76013: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"> 
     761  <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">   
     762        <sliver_type name="m1.tiny">     
     763            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     764            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     765            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     766        </sliver_type>     
     767        <sliver_type name="m1.small">     
     768            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     769            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     770            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     771        </sliver_type>     
     772        <sliver_type name="m1.medium">     
     773            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     774            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     775            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     776        </sliver_type>     
     777        <sliver_type name="m1.large">     
     778            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     779            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     780            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     781        </sliver_type>     
     782        <sliver_type name="m1.xlarge">     
     783            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     784            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     785            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     786        </sliver_type>     
     787  </node>   
     788 
     789  <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">   
     790        <sliver_type name="m1.tiny">     
     791            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     792            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     793            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     794        </sliver_type>     
     795        <sliver_type name="m1.small">     
     796            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     797            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     798            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     799        </sliver_type>     
     800        <sliver_type name="m1.medium">     
     801            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     802            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     803            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     804        </sliver_type>     
     805        <sliver_type name="m1.large">     
     806            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     807            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     808            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     809        </sliver_type>     
     810        <sliver_type name="m1.xlarge">     
     811            <disk_image description="" name="fedora-19" os="Linux" version="12"/>     
     812            <disk_image description="" name="ubby" os="Linux" version="12"/>     
     813            <disk_image description="" name="ubuntu-12.04" os="Linux" version="12"/>     
     814        </sliver_type>     
     815  </node>   
     816 
     817  <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">     
     818    <sliver_type name="m1.tiny"/>   
     819    <sliver_type name="m1.small"/>   
     820    <sliver_type name="m1.medium"/>   
     821    <sliver_type name="m1.large"/>   
     822    <sliver_type name="m1.xlarge"/>   
     823    <state name="OPSTATE_GENI_NOT_READY">       
     824      <action name="geni_start" next="OPSTATE_GENI_READY">         
     825        <description>          Boot the node        </description>         
     826      </action>       
     827      <description>        VMs begin powered down or inactive. They must be explicitly booted before use.      </description>       
     828    </state>     
     829  </rspec_opstate>   
     830 
     831  <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">     
     832    <sliver_type name="m1.tiny"/>   
     833    <sliver_type name="m1.small"/>   
     834    <sliver_type name="m1.medium"/>   
     835    <sliver_type name="m1.large"/>   
     836    <sliver_type name="m1.xlarge"/>   
     837    <state name="OPSTATE_GENI_READY">       
     838      <action name="geni_restart" next="OPSTATE_GENI_READY">         
     839        <description>          Reboot the node        </description>         
     840      </action>       
     841      <action name="geni_stop" next="OPSTATE_GENI_READY">         
     842        <description>          The state of the VM        </description>         
     843      </action>       
     844      <description>        The VM has been booted and is ready      </description>       
     845    </state>     
     846  </rspec_opstate>   
     847</rspec>
     84813:10:30 INFO     omni:  ------------------------------------------------------------
     84913:10:30 INFO     omni:  Completed listresources:
     850Args: listresources
     851
     852  Result Summary: Queried resources from 1 of 1 aggregate(s).
     853 
     85413:10:30 INFO     omni:  ============================================================
     855lnevers2@arendia:~/gcf-2.4.1$
     856}}}
     857 
     858
     859== Step 12. Define a request RSpec for two physical nodes==
     860Physical nodes not available, VMs  used:
     861
     862The following RSpec was defined:
     863{{{
     864<rspec type="request"
     865        xmlns="http://www.geni.net/resources/rspec/3"
     866        xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
     867        xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1"
     868        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     869        xsi:schemaLocation="http://www.geni.net/resources/rspec/3
     870        http://www.geni.net/resources/rspec/3/request.xsd">
     871
     872 <node client_id="VM-1" component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1">
     873     <sliver_type name="m1.small" />
     874      <interface client_id="VM-1:if0" >
     875       <ip address="172.16.1.1" netmask="255.255.0.0" />
     876      </interface>
     877 </node>
     878 <node client_id="VM-2" component_id="urn:publicid:IDN+geni:bbn-cam-ctrl-1.bbn.com+node+bbn-cam-cmpe-1">
     879     <sliver_type name="m1.small" />
     880      <interface client_id="VM-2:if0" >
     881        <ip address="172.16.1.2" netmask="255.255.0.0" />
     882      </interface>
     883 </node>
     884  <link client_id="link">
     885    <interface_ref client_id="VM-1:if0"/>
     886    <interface_ref client_id="VM-2:if0"/>
     887    <property source_id="VM-1:if0" dest_id="VM-2:if0"/>
     888    <property source_id="VM-2:if0" dest_id="VM-1:if0"/>
     889  </link>
     890</rspec>
     891
     892
     893}}}
     894
     895== Step 13. Create the second slice.  ==
     896
     897Created slice:
     898{{{
     899$ omni.py createslice GR-EXP-1-exp2
     90013:12:32 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
     90113:12:32 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     90213:12:32 INFO     omni: Using control framework portal
     903
     90413:12:32 INFO     omni: Created slice with Name GR-EXP-1-exp2, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1-exp2, Expiration 2013-12-20 18:12:32
     90513:12:32 INFO     omni:  ------------------------------------------------------------
     90613:12:32 INFO     omni:  Completed createslice:
     907Args: createslice GR-EXP-1-exp2
     908 Result Summary: Created slice with Name GR-EXP-1-exp2, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1-exp2, Expiration 2013-12-20 18:12:32
     90913:12:32 INFO     omni:  ============================================================
     910}}}
     911
     912== Step 14. Create a sliver in the second slice, using the RSpec defined in step 12.  ==
     913
     914Created sliver:
     915{{{
     916$ omni.py createsliver -a gram2 -V2  GR-EXP-1-exp2 ./GR-EXP-2-exp2.rspec
     91713:12:53 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
     91813:12:53 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     91913:12:53 INFO     omni: Using control framework portal
     92013: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
     92113:12:54 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1-exp2 expires on 2013-12-20 18:12:32 UTC
     92213:12:54 INFO     omni: Creating sliver(s) from rspec file ./GR-EXP-2-exp2.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+GR-EXP-1-exp2
     92313:24:06 INFO     omni: Got return from CreateSliver for slice GR-EXP-1-exp2 at https://128.89.72.112:5002:
     92413:24:06 INFO     omni: <?xml version="1.0" ?>
     92513:24:06 INFO     omni:   <!-- Reserved resources for:
     926        Slice: GR-EXP-1-exp2
     927        at AM:
     928        URN: urn:publicid:IDN+geni:bbn-cam-ctrl-1:gcf:gram+authority+am
     929        URL: https://128.89.72.112:5002
     930 -->
     93113:24:06 INFO     omni:   
     932<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">
     933    <link client_id="link" sliver_id="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+sliver+linkaf9f19cb-b0e3-40ed-97b4-29ba5c927763" vlantag="1003">
     934        <interface_ref client_id="VM-1:if0"/>
     935        <interface_ref client_id="VM-2:if0"/>
     936        <property dest_id="VM-2:if0" source_id="VM-1:if0"/>
     937        <property dest_id="VM-1:if0" source_id="VM-2:if0"/>
     938    </link>
     939    <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">
     940        <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">
     941            <ip address="172.16.1.2" type="ip"/>
     942        </interface>
     943        <sliver_type name="m1.small">
     944            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
     945        </sliver_type>
     946        <services>
     947            <login authentication="ssh-keys" hostname="128.89.72.121" port="3005" username="lnevers"/>
     948        </services>
     949        <host name="VM-2"/>
     950    </node>
     951    <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">
     952        <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">
     953            <ip address="172.16.1.1" type="ip"/>
     954        </interface>
     955        <sliver_type name="m1.small">
     956            <disk_image name="urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+imageubuntu-12.04" os="Linux" version="12"/>
     957        </sliver_type>
     958        <services>
     959            <login authentication="ssh-keys" hostname="128.89.72.121" port="3006" username="lnevers"/>
     960        </services>
     961        <host name="VM-1"/>
     962    </node>
     963</rspec>
     964
     96513:24:06 INFO     omni:  ------------------------------------------------------------
     96613:24:06 INFO     omni:  Completed createsliver:
     967Args: createsliver GR-EXP-1-exp2 ./GR-EXP-2-exp2.rspec
     968
     969  Result Summary: Got Reserved resources RSpec from geni-bbn-cam-ctrl-1-gcf-gram
     97013:24:06 INFO     omni:  ============================================================
     971}}}
     972
     973== Step 15. Log in to each of the systems, and send traffic to the other system. ==
     974
     975Determine login:
     976{{{
     977$ readyToLogin.py -a gram  GR-EXP-1-exp2
     978...
     979================================================================================
     980LOGIN INFO for AM: https://128.89.72.112:5002
     981================================================================================
     982
     983For more login info, see the section entitled:
     984         'Providing a private key to ssh' in 'readyToLogin.py -h'
     985
     986VM-1's geni_status is:  (am_status:)
     987User lnevers logs in to VM-1 using:
     988        ssh -p 3006  -i ~/.ssh/id_rsa lnevers@128.89.72.121
     989
     990VM-2's geni_status is:  (am_status:)
     991User lnevers logs in to VM-2 using:
     992        ssh -p 3005  -i ~/.ssh/id_rsa lnevers@128.89.72.121
     993
     994
     995}}}
     996
     997== Step 16. Verify that experimenters 1 and 2 cannot use the control plane to access each other's resources. ==
     998
     999Tried to exchange traffic between host in different slices and access resources as incorrect user, but was not able to find any access issue.
     1000
     1001== Step 17. Review system statistics and VM isolation and network isolation on data plane. ==
     1002
     1003Reviewed system statistics on allocated nodes:
     1004{{{
     1005lnevers2@exp2-host2:~$ vmstat -s
     1006 
     1007
     1008lnevers2@exp2-host2:~$ top
     1009
     1010}}}
     1011
     1012
     1013== Step 18. Verify that each VM has a distinct MAC address for that interface. ==
     1014
     1015Verified that MAC addresses are unique and match the value in the manifest.
     1016
     1017GR-EXP-2-exp1 - VM-1:
     1018{{{
     1019lnevers@vm-1:~$  /sbin/ifconfig|grep HW
     1020eth0      Link encap:Ethernet  HWaddr fa:16:3e:97:ec:da 
     1021eth1      Link encap:Ethernet  HWaddr fa:16:3e:53:1f:31 
     1022lnevers@vm-1:~$
     1023}}}
     1024GR-EXP-2-exp1 - VM-2:
     1025{{{
     1026lnevers@vm-2:~$ /sbin/ifconfig|grep HW
     1027eth0      Link encap:Ethernet  HWaddr fa:16:3e:a3:72:db 
     1028eth1      Link encap:Ethernet  HWaddr fa:16:3e:00:fb:d1 
     1029lnevers@vm-2:~$
     1030}}}
     1031
     1032GR-EXP-2-exp2 - VM-1:
     1033{{{
     1034lnevers@vm-1:~$ /sbin/ifconfig|grep HW
     1035eth0      Link encap:Ethernet  HWaddr fa:16:3e:c2:86:1b 
     1036eth1      Link encap:Ethernet  HWaddr fa:16:3e:d7:5b:71 
     1037lnevers@vm-1:~$
     1038
     1039}}}
     1040GR-EXP-2-exp2 - VM-2:
     1041{{{
     1042lnevers@vm-2:~$ /sbin/ifconfig|grep HW
     1043eth0      Link encap:Ethernet  HWaddr fa:16:3e:e0:92:a3 
     1044eth1      Link encap:Ethernet  HWaddr fa:16:3e:d4:e0:a0 
     1045lnevers@vm-2:~$
     1046
     1047}}}
     1048
     1049
     1050== Step 19. Verify that VMs' MAC addresses are learned on the data plane switch. ==
     1051
     1052Ability to exchange traffic betweent the hosts demonstrates that MAC addresses are learned.
     1053
     1054
     1055== Step 20. Stop traffic and delete slivers. ==
     1056
     1057Deleted the two slivers, one sliver had an active ping, while the other was idle. 
     1058Resources were deleted for the idle sliver, but no deleted for the sliver that had
     1059an active ping.
     1060