Module net#

Typedefs#

typedef net::mac_addr#
  • Base type string

  • Type constraint (std::validate_type('pydantic.constr',self,Dict()) == true)

typedef net::vlan_id#
  • Base type int

  • Type constraint (std::validate_type('pydantic.conint',self,Dict()) == true)

Entities#

entity net::Interface#

Parents: std::Entity

This interface models an ethernet network interface.

attribute net::mac_addr mac=''#
attribute string name#
attribute number mtu=1500#
attribute bool vlan=false#
relation std::Host host [1]#

Host ethernet interface are always placed inside a host

other end: std::Host.ifaces [0:*]

The following implements statements select implementations for this entity: