vintage_net v0.8.0 VintageNet.InterfaceRenamer behaviour View Source

Wrapper around the ip command for renaming interfaces

Link to this section Summary

Link to this section Functions

Link to this function

rename(ifname, rename_to)

View Source

Renames an interface

Link to this section Callbacks

Link to this callback

rename_interface(arg1, arg2)

View Source

Specs

rename_interface(VintageNet.ifname(), VintageNet.ifname()) ::
  :ok | {:error, String.t()}