Changes between Version 40 and Version 41 of OpenFlow/FOAM/Testing


Ignore:
Timestamp:
06/11/13 11:26:05 (6 years ago)
Author:
Josh Smift
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenFlow/FOAM/Testing

    v40 v41  
    10781078You can run these tests wherever you usually use Omni; they don't need to run on the FOAM/FV server.
    10791079
    1080 As of this writing, the current version of GCF is 2.2.1; some of these steps may need to be different if you have a more recent version than that.
    1081 
    1082 Note that this is a streamlined summary of the full docs for running the GCF GENI AM API Acceptance Test Suite. The full docs for that suite are in .../gcf-2.2.1/acceptance_tests/AM_API/README-accept-AMAPI.txt; there's also more information at http://trac.gpolab.bbn.com/gcf/wiki/AmApiAcceptanceTests.
     1080As of this writing, the current version of GCF is 2.3.1; some of these steps may need to be different if you have a more recent version than that.
     1081
     1082Note that this is a streamlined summary of the full docs for running the GCF GENI AM API Acceptance Test Suite. The full docs for that suite are in .../gcf-2.3.1/acceptance_tests/AM_API/README-accept-AMAPI.txt; there's also more information at http://trac.gpolab.bbn.com/gcf/wiki/AmApiAcceptanceTests.
    10831083
    10841084== Setup ==
     
    10931093
    10941094{{{
    1095 rspec_request1=~/rspecs/request/foam-testing/rspecs/$foamserver/openflow-mac-acedcodefood.rspec
    1096 rspec_request2=~/rspecs/request/foam-testing/rspecs/$foamserver/openflow-mac-cafebeefface.rspec
    1097 rspec_request3=~/rspecs/request/foam-testing/rspecs/$foamserver/openflow-mac-deadbeadfeed.rspec
     1095rspec_request1=~/rspecs/request/foam-testing/rspecs/$foamserver/mac-acedcodefood-vlan-1750.rspec
     1096rspec_request2=~/rspecs/request/foam-testing/rspecs/$foamserver/mac-cafebeefface-vlan-1750.rspec
     1097rspec_request3=~/rspecs/request/foam-testing/rspecs/$foamserver/mac-deadbeadfeed-vlan-1750.rspec
    10981098rspec_manifest1=~/rspecs/manifest/jbs-gpolab-cafebeefface.rspec
    10991099}}}
     
    11031103If you don't already have the latest version of Omni, you can get it from http://www.gpolab.bbn.com/local-sw/.
    11041104
    1105 The rest of these docs assume that you have GCF 2.2.1 in ~/src/gcf-2.2.1.
     1105The rest of these docs assume that you have GCF 2.3.1 in ~/src/gcf-2.3.1.
    11061106
    11071107Change into that directory, set your Python path, and copy in your rspec files:
    11081108
    11091109{{{
    1110 cd ~/src/gcf-2.2.1/acceptance_tests/AM_API
    1111 export PYTHONPATH=~/src/gcf-2.2.1/src
     1110cd ~/src/gcf-2.3.1/acceptance_tests/AM_API
     1111export PYTHONPATH=~/src/gcf-2.3.1/src
    11121112cp $rspec_request1 request1.xml
    11131113cp $rspec_request3 request2.xml