Use the cord-setup.sh bash script to run the tests for your test environment.
sudo ./cord-setup.sh -o onos:latest -a freeradius:latest -b onos:runtest -t dhcp-igmp
The above would build a docker container called onos:runtest before running the test. Otherwise it tries to spawn an existing test container called, onos:nosetest to run the tests.
To start the cord-tester, make sure you have onos and radius containers started and running.
Then you can start it with the container id or tag like below:
sudo ./cord-setup.sh -o onos:latest -a freeradius:latest -t dhcp
The above would spawn a test container and run the dhcp test.
If you want to run a list of tests, just separate them with hypens.
sudo ./cord-setup.sh -o onos:latest -a freeradius:latest -t dhcp-igmp-tls
sudo ./cord-setup.sh -o onos:latest -a freeradius:latest -t dhcp:dhcp_exchange.test_dhcp_1request-igmp:test_igmp_1group_join_latency
sudo ./cord-setup.sh -o onos:latest -a freeradius:latest -t dhcp -k
sudo ./cord-setup.sh -o onos:latest -C onos:nosetest