Module net

Source
Expand description

Network testing utility functions for Zebra.

Constants§

ZEBRA_SKIP_IPV6_TESTS 🔒
The name of the env var that skips Zebra’s IPv6 tests.
ZEBRA_SKIP_NETWORK_TESTS 🔒
The name of the env var that skips Zebra tests which need reliable, fast network connectivity.

Functions§

random_known_port
Uses the “magic” port number that tells the operating system to choose a random unallocated port.
random_unallocated_port
Returns the “magic” port number that tells the operating system to choose a random unallocated port.
zebra_skip_ipv6_tests
Should we skip Zebra tests which need a local IPv6 network stack and IPv6 interface addresses?
zebra_skip_network_tests
Should we skip Zebra tests which need reliable, fast network connectivity?