Skip to content

Commit

Permalink
Update instructions on how to run VRRP tests
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Lisovskyi <yurii.lisovskyi@plvision.eu>
  • Loading branch information
yuriilisovskyi committed Aug 3, 2023
1 parent 67f44a2 commit e3cd279
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/How_to_start_and_run_testcases.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,28 @@ Here are an example of how to run the VLAN test suite:
-k suite_functional_vlan
```
### Run VRRP tests/suites
Since VRRP tests require testbed with at least 3 devices, they are skipped if running functional test suite. To run it, there are a few steps required to run them:
1. Setup Testbed Server
2. Setup the DentOS SIT topology (only 1 DENT-Aggregator and 2 DENT-Infrastructure DUTs required)
3. Install DentOS on DUT or cleanup configuration if it was used by SIT before.
**VRRP tests require that the DUTs don't have any bridges/bonds/qdiscs or any IP addresses on switching interfaces.**
To cleanup the DUTs see '[Cleanup DUT configuration](#Cleanup DUT configuration)'
5. Optionally, reboot the DUTs and run 'onlpdump' to bring up ports
6. Run the tests
```Shell
./run.sh dentos_testbed_runtests --stdout \
--config configuration/testbed_config/sit/testbed.json \
--config-dir configuration/testbed_config/sit/ \
--discovery-reports-dir /tmp \
--suite-groups suite_group_functional \
-k suite_functional_vrrp
```
7. Check Logs locally at ./DentOS_Framework/DentOsTestbed/logs
**NOTE:**
1. To avoid re-installing of the DentOS framework on each run command just enter the docker container and run multiple commands from inside.
Expand Down

0 comments on commit e3cd279

Please sign in to comment.