netstack_testing_common

Function setup_network

Source
pub async fn setup_network<'a, N: Netstack>(
    sandbox: &'a TestSandbox,
    name: &'a str,
    metric: Option<u32>,
) -> Result<(TestNetwork<'a>, TestRealm<'a>, TestInterface<'a>, TestFakeEndpoint<'a>)>
Expand description

Sets up a realm with a network with no required services.