Cl8r::Model::Interface
Inherits YAML::Serializable < Reference < Object
Models physical network interface cards (NICs), 802.3ad LACP bonds, and switch port bindings.
Constructors
new(name : String = "", mac : String | Nil = nil, pci_slot : String | Nil = nil, switch : String | Nil = nil, port : String | Nil = nil, cable_type : String | Nil = nil, bond_master : String | Nil = nil, bond_mode : String | Nil = "802.3ad", bond_xmit_hash_policy : String | Nil = "layer3+4", bond_lacp_rate : String | Nil = "fast", bond_miimon : Int32 | Nil = 100, bond_slaves : Array(String) | Nil = nil, mtu : Int32 | Nil = nil, bridge : String | Nil = nil, vlans : Array(VlanBinding) = [] of VlanBinding)
Initializes an Interface with networking, bonding, bridge, and VLAN parameters.
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceInstance methods
bond_lacp_rate
Sourcebond_master
Sourcebond_miimon
Sourcebond_mode
Sourcebond_slaves
Sourcebond_xmit_hash_policy
Sourcebridge
Sourcecable_type
Sourcemac
Sourcemtu
Sourcename
Sourcepci_slot
Sourceport
Sourceswitch
Sourcevlans
Source