netstack_testing_common::devices

Function install_device

Source
pub fn install_device(
    realm: &TestRealm<'_>,
    device: ClientEnd<DeviceMarker>,
) -> DeviceControlProxy
Expand description

Install the given network device into the test realm’s networking stack, returning the created fuchsia.net.interfaces.admin/DeviceControl handle.