VintageNet.Technology.to_raw_config
You're seeing just the callback
to_raw_config
, go back to VintageNet.Technology module for more information.
Specs
to_raw_config(VintageNet.ifname(), config :: map(), opts :: keyword()) :: VintageNet.Interface.RawConfig.t()
Convert a technology-specific configuration to one for VintageNet
The config
is the normalized configuration map (normalize/1
will have
been called at some point so the technology does not need to call it again).
The opts
parameter contains VintageNet's application environment. This
contains potentially useful file paths and other information.
Configuration errors raise exceptions. Errors should be infrequent, though,
since VintageNet will call normalize/1
first and expects most errors to be
caught by it.