vintage_net v0.7.3 VintageNet.Interface.Supervisor View Source

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Clear out children and child_specs from a technology

Add child_specs provided by technologies to supervision

Start the interface supervisor

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

clear_technology(ifname)

View Source
clear_technology(VintageNet.ifname()) :: :ok

Clear out children and child_specs from a technology

Link to this function

set_technology(ifname, restart_strategy, child_specs)

View Source
set_technology(VintageNet.ifname(), Supervisor.strategy(), [
  :supervisor.child_spec() | {module(), term()} | module()
]) :: :ok

Add child_specs provided by technologies to supervision

Link to this function

start_link(ifname)

View Source
start_link(VintageNet.ifname()) :: :ignore | {:error, any()} | {:ok, pid()}

Start the interface supervisor