Version 8 (modified by 9 years ago) (diff) | ,
---|
CG-EXP-5: OpenFlow Support
This test uses resources in the NCSU2 Cisco rack. Note the following Omni nick names are used:
ncsu2-eg=urn:publicid:IDN+exogeni.net:ncsu2vmsite+authority+am,https://ncsu2-hn.exogeni.net:11443/orca/xmlrpc ncsu2-eg-of=urn:publicid:IDN+openflow:foam:ncsu2-hn.exogeni.net+authority+am,https://ncsu2-hn.exogeni.net:3626/foam/gapi/2
Test Status
This section captures the status for each step in the acceptance test plan.
OpenFlow Test | State | Tickets/Comments |
!OpenFlow Commands | Color(green,Pass)? | |
Meso-scale Interoperability (EG and IG) | Color(#63B8FF,In Progress)? | Waiting on OpenFlow set-up to OpenFlow Core |
OpenFlow over Stitched connection to remote InstaGENI | Waiting on Stitching set-up to GENI Core | |
OpenFlow over Stitched connection to remote ExoGENI |
State Legend | Description |
Color(green,Pass)? | Test completed and met all criteria |
Color(#98FB98,Pass: most criteria)? | Test completed and met most criteria. Exceptions documented |
Color(red,Fail)? | Test completed and failed to meet criteria. |
Color(yellow,Complete)? | Test completed but will require re-execution due to expected changes |
Color(orange,Blocked)? | Blocked by ticketed issue(s). |
Color(#63B8FF,In Progress)? | Currently under test. |
OpenFlow Commands
Verify OpenFlow Aggregate version:
$ omni getversion -a ncsu2-eg-of 12:17:14 INFO : Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' 12:17:14 INFO : Loading config file '/home/lnevers/.gcf/omni_config' 12:17:14 INFO : Using control framework portal 12:17:14 INFO : Member Authority is https://ch.geni.net/MA (from config) 12:17:14 INFO : Slice Authority is https://ch.geni.net/SA (from config) 12:17:14 INFO : Substituting AM nickname ncsu2-eg-of with URL https://ncsu2-hn.exogeni.net:3626/foam/gapi/2, URN urn:publicid:IDN+openflow:foam:ncsu2-hn.exogeni.net+authority+am 12:17:15 INFO : AM ncsu2-eg-of URN: urn:publicid:IDN+openflow:foam:ncsu2-hn.exogeni.net+authority+am (url: https://ncsu2-hn.exogeni.net:3626/foam/gapi/2) has version: 12:17:15 INFO : { 'flowvisor_version': '0.8.1', 'foam_version': '0.14.0', 'geni_ad_rspec_versions': [ { 'extensions': [ 'http://www.geni.net/resources/rspec/ext/openflow/3', 'http://geni.bssoftworks.com/rspec/ext/topo/1'], 'namespace': 'http://www.geni.net/resources/rspec/3', 'schema': 'http://www.geni.net/resources/rspec/3/ad.xsd', 'type': 'GENI', 'version': '3'}], 'geni_api': 2, 'geni_api_versions': { '1': 'https://152.48.13.190:3626/foam/gapi/1', '2': 'https://152.48.13.190:3626/foam/gapi/2'}, 'geni_request_rspec_versions': [ { 'extensions': [ 'http://www.geni.net/resources/rspec/ext/openflow/3'], 'namespace': 'http://www.geni.net/resources/rspec/3', 'schema': 'http://www.geni.net/resources/rspec/3/request.xsd', 'type': 'GENI', 'version': '3'}], 'openflow_auto_approval': 'disabled', 'site_info': { 'admin-email': 'foam-admin@gpolab.bbn.com'}} 12:17:15 INFO : ------------------------------------------------------ 12:17:15 INFO : Completed getversion: Options as run: aggregate: ['ncsu2-eg-of'] framework: portal noGetVersionCache: True project: ln-test Args: getversion Result Summary: Got version for ncsu2-eg-of 12:17:15 INFO : ======================================================
Note: same version as other ExoGENI FOAM aggregates
Verify OpenFlow Advertisement:
11:31:40 INFO : Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' 11:31:40 INFO : Loading config file '/home/lnevers/.gcf/omni_config' 11:31:40 INFO : Using control framework portal 11:31:40 INFO : Member Authority is https://ch.geni.net/MA (from config) 11:31:40 INFO : Slice Authority is https://ch.geni.net/SA (from config) 11:31:40 INFO : Substituting AM nickname ncsu2-eg-of with URL https://ncsu2-hn.exogeni.net:3626/foam/gapi/2, URN urn:publicid:IDN+openflow:foam:ncsu2-hn.exogeni.net+authority+am 11:31:41 INFO : Listed advertised resources at 1 out of 1 possible aggregates. 11:31:41 INFO : <?xml version="1.0" ?> 11:31:41 INFO : <!-- Resources at AM: URN: urn:publicid:IDN+openflow:foam:ncsu2-hn.exogeni.net+authority+am URL: https://ncsu2-hn.exogeni.net:3626/foam/gapi/2 --> 11:31:41 INFO : <rspec type="advertisement" xmlns="http://www.geni.net/resources/rspec/3" xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3" xmlns:topology="http://geni.bssoftworks.com/rspec/ext/topo/1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/ad.xsd http://www.geni.net/resources/rspec/ext/openflow/3 http://www.geni.net/resources/rspec/ext/openflow/3/of-ad.xsd http://geni.bssoftworks.com/rspec/ext/topo/1 http://geni.bssoftworks.com/rspec/ext/topo/1"> <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:ncsu2-hn.exogeni.net+datapath+00:01:18:e7:28:07:bf:c0" component_manager_id="urn:publicid:IDN+openflow:foam:ncsu2-hn.exogeni.net+authority+am" dpid="00:01:18:e7:28:07:bf:c0"> <openflow:port name="Eth1/32" num="32"/> <openflow:port name="Eth1/35" num="35"/> <openflow:port name="Eth1/44" num="44"/> <openflow:port name="Eth1/33" num="33"/> <openflow:port name="Eth1/34" num="34"/> </openflow:datapath> </rspec> 11:31:41 INFO : ------------------------------------------------------ 11:31:41 INFO : Completed listresources: Options as run: aggregate: ['ncsu2-eg-of'] framework: portal project: ln-test Args: listresources Result Summary: Queried resources from 1 of 1 aggregate(s). 11:31:41 INFO : ======================================================
Ran rspeclint on the list resources output:
$ rspeclint rspec-openflow-foam-ncsu2-hn-exogeni-net.xml Failed to load schema for namespace http://www.geni.net/resources/rspec/ext/openflow/3 from location http://www.geni.net/resources/rspec/ext/openflow/3/of-ad.xsd : Schemas parser error : Failed to locate the main schema resource at 'http://www.geni.net/resources/rspec/ext/openflow/3/of-ad.xsd'.
Note: Fails with a known OpenFlow issue, not a Cisco rack issue.
Meso-scale OpenFlow Connection
A special set up was put in place to allow a shared VLAN between GPO IG and NCSU2 EG. The following were executes to test the setup.
Create a sliver at NCSU2 FOAM Aggregate:
$ omni createsliver -a ncsu2-eg-of CG-CT-4 ./CG-CT-4-openflow-eg-ncsu2.rspec 10:42:04 INFO : Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' 10:42:04 INFO : Loading config file '/home/lnevers/.gcf/omni_config' 10:42:04 INFO : Using control framework portal 10:42:04 INFO : Member Authority is https://ch.geni.net/MA (from config) 10:42:04 INFO : Slice Authority is https://ch.geni.net/SA (from config) 10:42:04 INFO : Substituting AM nickname ncsu2-eg-of with URL https://ncsu2-hn.exogeni.net:3626/foam/gapi/2, URN urn:publicid:IDN+openflow:foam:ncsu2-hn.exogeni.net+authority+am 10:42:05 INFO : Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+CG-CT-4 expires on 2014-12-22 14:39:31 UTC 10:42:05 INFO : Creating sliver(s) from rspec file ./CG-CT-4-openflow-eg-ncsu2.rspec for slice urn:publicid:IDN+ch.geni.net:ln-test+slice+CG-CT-4 10:42:06 INFO : Got return from CreateSliver for slice CG-CT-4 at ncsu2-eg-of: 10:42:06 INFO : <?xml version="1.0" ?> 10:42:06 INFO : <!-- Reserved resources for: Slice: CG-CT-4 at AM: URN: urn:publicid:IDN+openflow:foam:ncsu2-hn.exogeni.net+authority+am URL: https://ncsu2-hn.exogeni.net:3626/foam/gapi/2 --> 10:42:06 INFO : <!-- AM URL https://ncsu2-hn.exogeni.net:3626/foam/gapi/1 --><rspec type="manifest" xmlns="http://www.geni.net/resources/rspec/3" xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd http://www.geni.net/resources/rspec/ext/openflow/3 http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"> <openflow:sliver description="IG-CT-4 over 3716 " email="lnevers@bbn.com"> <openflow:controller type="primary" url="tcp:mallorea.gpolab.bbn.com:33020"/> <openflow:group name="ncsu2-exogeni"> <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:ncsu2-hn.exogeni.net+datapath+00:01:18:e7:28:07:bf:c0" component_manager_id="urn:publicid:IDN+openflow:foam:ncsu2-hn.exogeni.net+authority+am"> </openflow:datapath> </openflow:group> <openflow:match> <openflow:use-group name="ncsu2-exogeni"/> <openflow:packet> <openflow:dl_vlan value="1760"/> <openflow:dl_type value="0x800,0x806"/> <openflow:nw_dst value="10.42.11.0/24"/> <openflow:nw_src value="10.42.11.0/24"/> </openflow:packet> </openflow:match> </openflow:sliver> </rspec> 10:42:06 INFO : ------------------------------------------------------ 10:42:06 INFO : Completed createsliver: Options as run: aggregate: ['ncsu2-eg-of'] framework: portal project: ln-test Args: createsliver CG-CT-4 ./CG-CT-4-openflow-eg-ncsu2.rspec Result Summary: Got Reserved resources RSpec from openflow-foam-ncsu2-hn-exogeni-net 10:42:06 INFO : ======================================================
Create sliver to get compute resources at NCSU2 EG:
$ omni createsliver -a ncsu2-eg CG-CT-4 ./CG-CT-4-eg-ncsu2.rspec 10:43:43 INFO : Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' 10:43:43 INFO : Loading config file '/home/lnevers/.gcf/omni_config' 10:43:43 INFO : Using control framework portal 10:43:43 INFO : Member Authority is https://ch.geni.net/MA (from config) 10:43:43 INFO : Slice Authority is https://ch.geni.net/SA (from config) 10:43:43 INFO : Substituting AM nickname ncsu2-eg with URL https://ncsu2-hn.exogeni.net:11443/orca/xmlrpc, URN urn:publicid:IDN+exogeni.net:ncsu2vmsite+authority+am 10:43:43 INFO : Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+CG-CT-4 expires on 2014-12-22 14:39:31 UTC 10:43:43 INFO : Creating sliver(s) from rspec file ./CG-CT-4-eg-ncsu2.rspec for slice urn:publicid:IDN+ch.geni.net:ln-test+slice+CG-CT-4 10:43:47 INFO : Got return from CreateSliver for slice CG-CT-4 at ncsu2-eg: 10:43:47 INFO : <?xml version="1.0" ?> 10:43:47 INFO : <!-- Reserved resources for: Slice: CG-CT-4 at AM: URN: urn:publicid:IDN+exogeni.net:ncsu2vmsite+authority+am URL: https://ncsu2-hn.exogeni.net:11443/orca/xmlrpc --> 10:43:47 INFO : <rspec type="manifest" xmlns="http://www.geni.net/resources/rspec/3" xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns:ns3="http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1" xmlns:ns4="http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1" xmlns:ns5="http://www.geni.net/resources/rspec/ext/postBootScript/1" xmlns:ns6="http://www.geni.net/resources/rspec/ext/color/2" xmlns:ns7="http://www.geni.net/resources/rspec/ext/storage/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/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1 http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1/slice_info.xsd?format=raw http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1 http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1/sliver_info.xsd?format=raw http://www.geni.net/resources/rspec/ext/postBootScript/1 http://www.geni.net/resources/rspec/ext/postBootScript/1/request.xsd http://www.geni.net/resources/rspec/ext/color/2 http://www.geni.net/resources/rspec/ext/color/2/color.xsdhttp://www.geni.net/resources/rspec/ext/storage/1 http://www.geni.net/resources/rspec/ext/storage/1/storage.xsd"> <node client_id="ncsu2-vm" component_id="urn:publicid:IDN+exogeni.net:ncsu2vmsite+node+orca-vm-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:ncsu2vmsite+authority+am" component_name="orca-vm-cloud" exclusive="false" sliver_id="urn:publicid:IDN+exogeni.net:ncsu2vmsite+sliver+959e94d6-cd16-452f-a610-c8e9cf7be83a:ncsu2-vm"> <location country="unknown" latitude="35.774155" longitude="-78.67714"/> <sliver_type name="m1.small"> <disk_image name="http://geni-images.renci.org/images/standard/ubuntu/ub1404-v1.0.3.xml" version="2d553fdbca830020d7cf13011399d7210dcefe96"/> </sliver_type> <services> <ns5:services_post_boot_script type="velocity"> #!/bin/bash # Automatically generated boot script eval &quot;/bin/sh -c \&quot;hostname ncsu2-vm\&quot;&quot; </ns5:services_post_boot_script> </services> <interface client_id="ncsu2-vm:if0" mac_address="fe:16:3e:00:46:22"> <ip address="10.42.11.210" netmask="255.255.255.0" type="ipv4"/> </interface> <interface client_id="ncsu2-vm:if0"> <ip address="10.42.11.210" netmask="255.255.255.0" type="ipv4"/> </interface> <ns4:geni_sliver_info creation_time="2014-12-15T15:43:45.000Z" creator_urn="lnevers@bbn.com, urn:publicid:IDN+ch.geni.net+user+lnevers" expiration_time="2014-12-22T14:39:31.000Z" start_time="2014-12-15T15:43:45.000Z" state="configuring"/> </node> <node client_id="ncsu2-vm1" component_id="urn:publicid:IDN+exogeni.net:ncsu2vmsite+node+orca-vm-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:ncsu2vmsite+authority+am" component_name="orca-vm-cloud" exclusive="false" sliver_id="urn:publicid:IDN+exogeni.net:ncsu2vmsite+sliver+959e94d6-cd16-452f-a610-c8e9cf7be83a:ncsu2-vm1"> <location country="unknown" latitude="35.774155" longitude="-78.67714"/> <sliver_type name="m1.small"> <disk_image name="http://geni-images.renci.org/images/standard/ubuntu/ub1404-v1.0.3.xml" version="2d553fdbca830020d7cf13011399d7210dcefe96"/> </sliver_type> <services> <ns5:services_post_boot_script type="velocity"> #!/bin/bash # Automatically generated boot script eval &quot;/bin/sh -c \&quot;hostname ncsu2-vm1\&quot;&quot; </ns5:services_post_boot_script> </services> <interface client_id="ncsu2-vm1:if0" mac_address="fe:16:3e:00:73:b7"> <ip address="10.42.11.211" netmask="255.255.255.0" type="ipv4"/> </interface> <interface client_id="ncsu2-vm1:if0"> <ip address="10.42.11.211" netmask="255.255.255.0" type="ipv4"/> </interface> <ns4:geni_sliver_info creation_time="2014-12-15T15:43:45.000Z" creator_urn="lnevers@bbn.com, urn:publicid:IDN+ch.geni.net+user+lnevers" expiration_time="2014-12-22T14:39:31.000Z" start_time="2014-12-15T15:43:45.000Z" state="configuring"/> </node> <link client_id="lan0" sliver_id="urn:publicid:IDN+exogeni.net:ncsu2vmsite+sliver+959e94d6-cd16-452f-a610-c8e9cf7be83a:lan0" vlantag="1760"> <component_manager name="urn:publicid:IDN+exogeni.net:ncsu2vmsite+authority+am"/> <interface_ref client_id="ncsu2-vm1:if0"/> <property capacity="0" dest_id="ncsu2-vm:if0" source_id="ncsu2-vm1:if0"/> <property capacity="0" dest_id="ncsu2-vm1:if0" source_id="ncsu2-vm1:if0"/> <property capacity="0" dest_id="ncsu2-vm:if0" source_id="ncsu2-vm1:if0"/> <interface_ref client_id="ncsu2-vm:if0"/> <property capacity="0" dest_id="ncsu2-vm1:if0" source_id="ncsu2-vm:if0"/> <property capacity="0" dest_id="ncsu2-vm1:if0" source_id="ncsu2-vm:if0"/> <property capacity="0" dest_id="ncsu2-vm:if0" source_id="ncsu2-vm:if0"/> <interface_ref client_id="ncsu2-vm1:if0"/> <property capacity="0" dest_id="ncsu2-vm1:if0" source_id="ncsu2-vm1:if0"/> <property capacity="0" dest_id="ncsu2-vm:if0" source_id="ncsu2-vm1:if0"/> <property capacity="0" dest_id="ncsu2-vm:if0" source_id="ncsu2-vm1:if0"/> <interface_ref client_id="ncsu2-vm:if0"/> <property capacity="0" dest_id="ncsu2-vm1:if0" source_id="ncsu2-vm:if0"/> <property capacity="0" dest_id="ncsu2-vm:if0" source_id="ncsu2-vm:if0"/> <property capacity="0" dest_id="ncsu2-vm1:if0" source_id="ncsu2-vm:if0"/> <ns4:geni_sliver_info creation_time="2014-12-15T15:43:45.000Z" creator_urn="lnevers@bbn.com, urn:publicid:IDN+ch.geni.net+user+lnevers" expiration_time="2014-12-22T14:39:31.000Z" resource_id="1760" start_time="2014-12-15T15:43:45.000Z"/> </link> <ns3:geni_slice_info state="configuring" urn="urn:publicid:IDN+ch.geni.net:ln-test+slice+CG-CT-4" uuid="51162393-a83e-44b4-806a-e7b3483ffedf"/> </rspec> 10:43:47 INFO : ------------------------------------------------------ 10:43:47 INFO : Completed createsliver: Options as run: aggregate: ['ncsu2-eg'] framework: portal project: ln-test Args: createsliver CG-CT-4 ./CG-CT-4-eg-ncsu2.rspec Result Summary: Got Reserved resources RSpec from exogeni-net-ncsu2vmsite 10:43:47 INFO : ======================================================
Create a sliver at the GPO IG FOAM Aggregate:
$ omni createsliver -a gpo-ig-of CG-CT-4 ./CG-CT-4-openflow-ig-gpo.rspec 10:45:05 INFO : Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' 10:45:05 INFO : Loading config file '/home/lnevers/.gcf/omni_config' 10:45:05 INFO : Using control framework portal 10:45:05 INFO : Member Authority is https://ch.geni.net/MA (from config) 10:45:05 INFO : Slice Authority is https://ch.geni.net/SA (from config) 10:45:05 INFO : Substituting AM nickname gpo-ig-of with URL https://foam.instageni.gpolab.bbn.com:3626/foam/gapi/2, URN urn:publicid:IDN+openflow:foam:foam.instageni.gpolab.bbn.com+authority+am 10:45:06 INFO : Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+CG-CT-4 expires on 2014-12-22 14:39:31 UTC 10:45:06 INFO : Creating sliver(s) from rspec file ./CG-CT-4-openflow-ig-gpo.rspec for slice urn:publicid:IDN+ch.geni.net:ln-test+slice+CG-CT-4 10:45:07 INFO : Got return from CreateSliver for slice CG-CT-4 at ig-of-bbn: 10:45:07 INFO : <?xml version="1.0" ?> 10:45:07 INFO : <!-- Reserved resources for: Slice: CG-CT-4 at AM: URN: urn:publicid:IDN+openflow:foam:foam.instageni.gpolab.bbn.com+authority+am URL: https://foam.instageni.gpolab.bbn.com:3626/foam/gapi/2 --> 10:45:07 INFO : <rspec type="manifest" xmlns="http://www.geni.net/resources/rspec/3" xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd http://www.geni.net/resources/rspec/ext/openflow/3 http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"> <openflow:sliver description="New Site Confirmation Test IG-CT-4 "> <openflow:controller type="primary" url="tcp:mallorea.gpolab.bbn.com:33020"/> <openflow:group name="bbn-instageni-1750"> <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.instageni.gpolab.bbn.com+datapath+06:d6:84:34:97:c6:c9:00" component_manager_id="urn:publicid:IDN+openflow:foam:foam.instageni.gpolab.bbn.com+authority+am"/> </openflow:group> <openflow:match> <openflow:use-group name="bbn-instageni-1750"/> <openflow:packet> <openflow:dl_type value="0x800,0x806"/> <openflow:nw_dst value="10.42.11.0/24"/> <openflow:nw_src value="10.42.11.0/24"/> </openflow:packet> </openflow:match> </openflow:sliver> </rspec> 10:45:07 INFO : ------------------------------------------------------ 10:45:07 INFO : Completed createsliver: Options as run: aggregate: ['gpo-ig-of'] framework: portal project: ln-test Args: createsliver CG-CT-4 ./CG-CT-4-openflow-ig-gpo.rspec Result Summary: Got Reserved resources RSpec from openflow-foam-foam-instageni-gpolab-bbn-com 10:45:07 INFO : ======================================================
Create sliver to get compute resources at GPO IG:
$ omni createsliver -a gpo-ig CG-CT-4 ./CG-CT-4-ig-gpo.rspec XXXX