auraed icon indicating copy to clipboard operation
auraed copied to clipboard

Waiting for network link to become available

Open Vincinator opened this issue 3 years ago • 0 comments

When setting a network device up (via netlink) the function returns before the network device is actually in state up. Assigning routes to a network device (via netlink) requires the network device to be up.

I think the caller should safely assume that .await for the async function init/network.rs:set_link_up assures that the link is up, so that follow up network configuration steps can safely assume that the link is really up after the call.

In addition, I would like to provide access to the netdevice state during network configuration, so that a config functions relying on a link state can implement safety checks.

Vincinator avatar Oct 03 '22 09:10 Vincinator