Module interfaces

Source
Expand description

Provides utilities for using fuchsia.net.interfaces and fuchsia.net.interfaces.admin in Netstack integration tests.

Traits§

TestInterfaceExt
Helpers for netemul::TestInterface.

Functions§

add_address_wait_assigned
Add an address, returning once the assignment state is Assigned.
remove_subnet_address_and_route
Remove a subnet address and route, returning true if the address was removed.
wait_for_addresses
Wait until the given interface has a set of assigned addresses that matches the given predicate.
wait_for_non_loopback_interface_up
Waits for a non-loopback interface to come up with an ID not in exclude_ids.
wait_for_online
Wait until the interface’s online property matches want_online.
wait_for_v4_and_v6_ll
Wait until there is an IPv4 and an IPv6 link-local address assigned to the interface identified by id.
wait_for_v6_ll
Wait until there is an IPv6 link-local address assigned to the interface identified by id.