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 checked otherwise return null.

list

Str:Obj list(Duration? timeout := 10sec)

List available network interfaces for this device. Blocks until timeout elapses waiting for results. If timeout is null blocks forever.

setup

This setup(Str:Str opts)

Configure a network interface.

status

Str:Obj status(Str name, Duration? timeout := 10sec)

Get the status for given network interface. Blocks until timeout elapses waiting for results. If timeout is null blocks forever.