Expand description
Utilities for interacting with devices during integration tests.
Constants§
- Default port ID when creating a tun device pair.
Functions§
- Add a pure IP interface to the given device/port, returning the created
fuchsia.net.interfaces.admin/Control
handle. - Create a Tun device pair with an Ethernet port.
- Creates a port on the given Tun device that supports the Ethernet frame type.
- Creates a port on the given Tun device that supports IPv4 and IPv6 frame types.
- Create a Tun device, returning handles to the created
fuchsia.net.tun/Device
and the underlying network device. - Create a Tun device with the provided config and return its handles.
- Create a Tun device pair with the provided configurations, returning handles to the created
fuchsia.net.tun/DevicePair
and both underlying ports. - Create a port on the given Tun device, returning handles to the created
fuchsia.net.tun/Port
and the underlying network port. - Install the given network device into the test realm’s networking stack, returning the created
fuchsia.net.interfaces.admin/DeviceControl
handle.