const classstuds::Networkd
sys::Obj studs::Daemon studs::Networkd
Networking support in Studs is provided by the Networkd daemon.
See Networking chapter for details.
- cur
static Networkd? cur(Bool checked := true)Get the Networkd instance for this VM. If an instance is not found, throw Err if
checkedotherwise return null.- list
Str:Obj list(Duration? timeout := 10sec)List available network interfaces for this device. Blocks until
timeoutelapses waiting for results. Iftimeoutisnullblocks forever.- setup
Configure a network interface.
- status
Str:Obj status(Str name, Duration? timeout := 10sec)Get the status for given network interface. Blocks until
timeoutelapses waiting for results. Iftimeoutisnullblocks forever.