wiki:GENIRacksHome/CiscoGENIRacks/AcceptanceTestStatus/CG-EXP-5

Version 6 (modified by lnevers@bbn.com, 5 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 CommandsColor(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:

$ omni listresources -a ncsu2-eg-of -o
12:14:54 INFO    : Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
12:14:54 INFO    : Loading config file '/home/lnevers/.gcf/omni_config'
12:14:54 INFO    : Using control framework portal
12:14:54 INFO    : Member Authority is https://ch.geni.net/MA (from config)
12:14:54 INFO    : Slice Authority is https://ch.geni.net/SA (from config)
12:14:54 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:14:54 INFO    : Saving output to a file.
12:14:55 INFO    : Listed advertised resources at 1 out of 1 possible aggregates.
12:14:55 INFO    : Writing to 'rspec-openflow-foam-ncsu2-hn-exogeni-net.xml'
12:14:55 INFO    :  ------------------------------------------------------
12:14:55 INFO    :  Completed listresources:

  Options as run:
		aggregate: ['ncsu2-eg-of']
		framework: portal
		output: True
		project: ln-test

  Args: listresources

  Result Summary: Queried resources from 1 of 1 aggregate(s).
Wrote rspecs from 1 aggregate(s) to 1 file(s)
Saved listresources RSpec from 'urn:publicid:IDN+openflow:foam:ncsu2-hn.exogeni.net+authority+am' (url 'https://ncsu2-hn.exogeni.net:3626/foam/gapi/2') to file rspec-openflow-foam-ncsu2-hn-exogeni-net.xml;  
12:14:55 INFO    :  ======================================================

$ 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.