The CORD Automated Tester Suite is an extensible end-to-end system test suite now targeting CORD in a BOX also.
git clone https://github.com/opencord/cord-tester.git cd cord-tester cd src/test/setup/
Run prerequisites.sh --cord
(It gets you needed dependencies and tools to start)
sudo ./cord-test.py build all
sudo docker pull onosproject/onos:latest
Else setup for test with onos instances (onos-cord and onos-fabric) running in CiaB.
For Onos cord (Access side onos)
sudo ./cord-test.py setup -m manifest-cord.json
sudo ./cord-test.py setup -m manifest-fabric.json
sudo ./cord-test.py run -t tls:eap_auth_exchange.test_eap_tls -c cord-tester1
Help:
sudo ./cord-test.py -h
List test cases for individual modules or list all tests.
sudo ./cord-test.py list -t <module name>/ all
Cleanup:
sudo ./cord-test.py cleanup -m manifest-cord.json
Running test case of indivdual modules, some examples:
sudo ./cord-test.py run -t tls:eap_auth_exchange.test_eap_tls
sudo ./cord-test.py run -t igmp:igmp_exchange.test_igmp_join_verify_traffic
sudo ./cord-test.py run -t vrouter:vrouter_exchange.test_vrouter_with_5_routes
sudo ./cord-test.py run -t dhcp:dhcp_exchange.test_dhcp_1request