Changes between Version 40 and Version 41 of OpenFlow/FOAM/Testing
- Timestamp:
- 06/11/13 11:26:05 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenFlow/FOAM/Testing
v40 v41 1078 1078 You can run these tests wherever you usually use Omni; they don't need to run on the FOAM/FV server. 1079 1079 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.1080 As 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 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.3.1/acceptance_tests/AM_API/README-accept-AMAPI.txt; there's also more information at http://trac.gpolab.bbn.com/gcf/wiki/AmApiAcceptanceTests. 1083 1083 1084 1084 == Setup == … … 1093 1093 1094 1094 {{{ 1095 rspec_request1=~/rspecs/request/foam-testing/rspecs/$foamserver/ openflow-mac-acedcodefood.rspec1096 rspec_request2=~/rspecs/request/foam-testing/rspecs/$foamserver/ openflow-mac-cafebeefface.rspec1097 rspec_request3=~/rspecs/request/foam-testing/rspecs/$foamserver/ openflow-mac-deadbeadfeed.rspec1095 rspec_request1=~/rspecs/request/foam-testing/rspecs/$foamserver/mac-acedcodefood-vlan-1750.rspec 1096 rspec_request2=~/rspecs/request/foam-testing/rspecs/$foamserver/mac-cafebeefface-vlan-1750.rspec 1097 rspec_request3=~/rspecs/request/foam-testing/rspecs/$foamserver/mac-deadbeadfeed-vlan-1750.rspec 1098 1098 rspec_manifest1=~/rspecs/manifest/jbs-gpolab-cafebeefface.rspec 1099 1099 }}} … … 1103 1103 If you don't already have the latest version of Omni, you can get it from http://www.gpolab.bbn.com/local-sw/. 1104 1104 1105 The rest of these docs assume that you have GCF 2. 2.1 in ~/src/gcf-2.2.1.1105 The rest of these docs assume that you have GCF 2.3.1 in ~/src/gcf-2.3.1. 1106 1106 1107 1107 Change into that directory, set your Python path, and copy in your rspec files: 1108 1108 1109 1109 {{{ 1110 cd ~/src/gcf-2. 2.1/acceptance_tests/AM_API1111 export PYTHONPATH=~/src/gcf-2. 2.1/src1110 cd ~/src/gcf-2.3.1/acceptance_tests/AM_API 1111 export PYTHONPATH=~/src/gcf-2.3.1/src 1112 1112 cp $rspec_request1 request1.xml 1113 1113 cp $rspec_request3 request2.xml