host.interface

Runtime record for one named network device on a host.

The host.interfaces map is keyed by the netdev name (eth0, eth1.100, …) so link impairment/capture can address the device directly; the value object is deliberately extensible (future: mac, cidr, role, …).

class otto.host.interface.Interface(ip: str)

Bases: object

One named network device on a host.

ip : str

Address assigned to this interface.