Resolves the primary IPv4 address (from management or default gateway interface).
Cl8r::Model::ResolvedNode
Represents a fully-resolved, immutable cluster node with non-nil FQDN and verified interfaces.
Constructors
new(hostname : String, fqdn : String, roles : Array(String), rack : String | Nil, rack_unit_start : Int32 | Nil, rack_unit_height : Int32, bmc_ip : String | Nil, bmc_mac : String | Nil, bmc_switch : String | Nil, bmc_port : String | Nil, disks : Array(DiskSpec), interfaces : Array(ResolvedInterface), sysctl : Hash(String, String), kind : String = "baremetal", host : String | Nil = nil, vcpus : Int32 | Nil = nil, memory_mb : Int32 | Nil = nil)
Initializes a ResolvedNode.
Instance methods
bmc_ip
Sourcebmc_mac
Sourcebmc_port
Sourcebmc_switch
Sourcedisks
Sourcefqdn
SourceReturns true if the node is assigned the specified role (matching both '_' and '-' variants).
host
Sourcehostname
Sourceinterfaces
SourceResolves the IPv4 address assigned to this node on the specified network plane.
Resolves the IPv6 address assigned to this node on the specified network plane.
kind
Sourcememory_mb
Sourceprimary_ipv4
Source
rack
Sourcerack_unit_height
Sourcerack_unit_start
Sourceroles
Sourcesysctl
Sourcevcpus
Source