This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
How to run the full suite of aca_tests
Eric Li edited this page Mar 15, 2021
·
5 revisions
Table of Contents
- 1. Setting up OVS for test running:
- 2. Basic tests works on container/VM/Physical machines
- 3. Two machines L2 traffic test works on container/VM/Physical machines
- 4. (GoalStateV2) Two machines L2 traffic test works on container/VM/Physical machines
- 5. Additional one machine tests which only works on VM/Physical machines with docker support
- 6. Additional two machines L3 tests which only works on VM/Physical machines with docker support
- 7. (GoalStateV2) Additional two machines L3 tests which only works on VM/Physical machines with docker support
- 8. Additional two machines ARP tests which only works on VM/Physical machines with docker support
This document explains how to run the full suite of aca_tests
Install OVS on the clean ubuntu 18.04 system
apt install openvswitch-switch
If you start a new container, you will need:
/etc/init.d/openvswitch-switch restart
ovs-vswitchd --pidfile --detach
On Child with IP 10.213.43.188:
./build/tests/aca_tests --gtest_also_run_disabled_tests --gtest_filter=*DISABLED_2_ports_CREATE_test_traffic_CHILD -p 10.213.43.187
On Parent with IP 10.213.43.187:
./build/tests/aca_tests --gtest_also_run_disabled_tests --gtest_filter=*DISABLED_2_ports_CREATE_test_traffic_PARENT -c 10.213.43.188
On Child with IP 10.213.43.188:
./build/tests/aca_tests --gtest_also_run_disabled_tests --gtest_filter=*DISABLED_2_ports_CREATE_test_traffic_CHILD_V2 -p 10.213.43.187
On Parent with IP 10.213.43.187:
./build/tests/aca_tests --gtest_also_run_disabled_tests --gtest_filter=*DISABLED_2_ports_CREATE_test_traffic_PARENT_V2 -c 10.213.43.188
./build/tests/aca_tests --gtest_also_run_disabled_tests --gtest_filter=*DISABLED_l2_dhcp_test
./build/tests/aca_tests --gtest_also_run_disabled_tests --gtest_filter=*DISABLED_l3_dhcp_test
./build/tests/aca_tests --gtest_also_run_disabled_tests --gtest_filter=*DISABLED_2_ports_ROUTING_test_traffic_one_machine -c 10.213.43.187 [IP of its own machine]
./build/tests/aca_tests --gtest_also_run_disabled_tests --gtest_filter=*DISABLED_2_ports_ROUTING_test_traffic_one_machine_V2 -c 10.213.43.187 [IP of its own machine]
On Child with IP 10.213.43.188:
./build/tests/aca_tests --gtest_also_run_disabled_tests --gtest_filter=*DISABLED_2_ports_ROUTING_test_traffic_CHILD -p 10.213.43.187
On Parent with IP 10.213.43.187:
./build/tests/aca_tests --gtest_also_run_disabled_tests --gtest_filter=*DISABLED_2_ports_ROUTING_test_traffic_PARENT -c 10.213.43.188
7. (GoalStateV2) Additional two machines L3 tests which only works on VM/Physical machines with docker support
On Child with IP 10.213.43.188:
./build/tests/aca_tests --gtest_also_run_disabled_tests --gtest_filter=*DISABLED_2_ports_ROUTING_test_traffic_CHILD_V2 -p 10.213.43.187
On Parent with IP 10.213.43.187:
./build/tests/aca_tests --gtest_also_run_disabled_tests --gtest_filter=*DISABLED_2_ports_ROUTING_test_traffic_PARENT_V2 -c 10.213.43.188
On Child with IP 10.213.43.188:
./build/tests/aca_tests --gtest_also_run_disabled_tests --gtest_filter=*DISABLED_l2_arp_test_CHILD -p 10.213.43.187
On Parent with IP 10.213.43.187:
./build/tests/aca_tests --gtest_also_run_disabled_tests --gtest_filter=*DISABLED_l2_arp_test_PARENT -c 10.213.43.188