struct

Cl8r::Model::ResolvedInterface

Inherits Struct < Value < Object

Represents a fully-resolved, immutable network interface or bond.

Constructors

new(name : String, mac : String, pci_slot : String | Nil, switch : String | Nil, port : String | Nil, cable_type : String | Nil, bond_master : String | Nil, bond_slaves : Array(String), mtu : Int32, vlans : Array(ResolvedVlanBinding), bridge : String | Nil = nil)

Initializes a ResolvedInterface.

Source

Instance methods

bond?

Returns true if this resolved interface represents a bond.

Source
bond_master
Source
bond_slaves
Source
bridge
Source
cable_type
Source
name
Source
pci_slot
Source
port
Source
switch
Source
vlans
Source