View Source VintageNet.Persistence behaviour (vintage_net v0.13.5)
Customize the way VintageNet saves and loads configurations
Summary
Callbacks
Clear out a previously saved configuration
Enumerate the interfaces that have saved configurations
Load the configuration of an interface
Save the configuration for the specified interface
Callbacks
@callback clear(ifname :: String.t()) :: :ok
Clear out a previously saved configuration
@callback enumerate() :: [String.t()]
Enumerate the interfaces that have saved configurations
This returns a list of interface names.
Load the configuration of an interface
Save the configuration for the specified interface