Module net¶
License: Apache 2.0
Version: 1.1.3
Typedefs¶
- typedef net::mac_addr¶
Base type
string
Type constraint
std::validate_type('pydantic.constr',self,{'regex': '^([0-9a-fA-F]{2})(:[0-9a-fA-F]{2}){5}|$', 'strict': True})
- typedef net::vlan_id¶
Base type
int
Type constraint
std::validate_type('pydantic.conint',self,{'ge': 0, 'lt': 4096})
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:
std::none
constrainttrue