Module net¶
License: Apache 2.0
Version: 1.0.16
This module requires compiler version 2020.1 or higher
Upstream project: https://github.com/inmanta/net.git
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:
std::none
constrainttrue