VintageNet.configure
You're seeing just the function
configure
, go back to VintageNet module for more information.
Specs
configure(ifname(), map(), configure_options()) :: :ok | {:error, any()}
Update the configuration of a network interface
Configurations are validated and normalized before being applied. This means
that type errors and missing required fields will be caught and old or
redundant ways of specifying configurations will be fixed. Call
get_configuration/1
to see how what changes, if any, were made as part of
the normalization process.
After validation, the configuration is optionally persisted and applied.
See the VintageNet
documentation for configuration examples or your
VintageNet.Technology
provider's docs.
Options:
:persist
- set tofalse
to avoid persisting this configuration. System restarts will revert to the previous configuration.