e2e_tests.test_egress package¶
Submodules¶
e2e_tests.test_egress.test_config_consumer_egress module¶
- e2e_tests.test_egress.test_config_consumer_egress.get_available_colos(registration_id: str, token: str) list[str]¶
Get all available colos
- Parameters:
registration_id (str) – Consumer registration id
token (str) – Consumer registration token
- e2e_tests.test_egress.test_config_consumer_egress.set_configurable_egress(registration_id: str)¶
Set the consumer egress to be configurable
- Parameters:
registration_id (str) – Consumer registration id
- e2e_tests.test_egress.test_config_consumer_egress.set_egress_colo(registration_id: str, colo: str, token: str)¶
Set the consumer egress to be a specific colo
- Parameters:
registration_id (str) – Consumer registration id
colo (str) – Egress colo to
token (str) – Consumer registration token
- e2e_tests.test_egress.test_config_consumer_egress.test_set_consumer_egress_colo(warp: WarpActions)¶
Test that setting the egress colo for consumer WARP through admin.cloudflareclient.com is successful
- Steps:
Create consumer WARP registration
Set WARP tunnel protocol to WireGuard
Set the egress colo to configurable
Iterate over 5 random colos from the reported available colos
Set the egress colo
Connect WARP
Verify appropriate connectivity and that colo matches the set colo
Disconnect WARP
Clear registration
Register a new consumer WARP registration
Repeat steps 3-10 for remaining randomly selected colos