Expand description
Provides utilities for using fuchsia.net.interfaces
and
fuchsia.net.interfaces.admin
in Netstack integration tests.
Traits§
- Test
Interface Ext - 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
.