One network interface inside a pod's network namespace.
mode—:macvlan(v1);:bridge/:ipvlanare modelled for later.parent— the host uplink to attach to, or:autoto resolve it viaTank.Host.ip—{address, prefix}for a static address (v1), or:dhcp(later).gateway— optional default-route next hop for this NIC.
Loopback is always raised by the runtime and is not listed here.
Summary
Functions
Build a validated NIC from a map or keyword list.
Like new/1 but raises ArgumentError on invalid input.