Cl8r::Model::ResolvedCluster
Immutable, fully-resolved topological graph containing indexed cluster state for generators and query engine.
Constructors
new(name : String, environment : String, domain : String, default_mtu : Int32, networks : Hash(String, ResolvedPlane), racks : Array(Rack), switches : Array(Switch), nodes : Array(ResolvedNode), haproxy : HaproxyConfig | Nil, chrony : ChronyConfig | Nil, dns : DnsTopology | Nil, pki : PkiConfig | Nil, ceph : CephConfig | Nil, provisioning : ProvisioningConfig | Nil, security : SecurityPolicy | Nil, wireguard : WireGuardSubsystem | Nil, sysctl : Hash(String, String))
Initializes a ResolvedCluster and constructs fast in-memory lookup indexes.
Instance methods
ceph
Sourcechrony
Sourcedefault_mtu
Sourcedns
Sourcedomain
Sourceenvironment
Sourcehaproxy
Sourceindex_by_mac
Sourceindex_by_node
Sourceindex_by_port
Sourceindex_by_vlan
Sourcename
Sourcenetworks
Sourcenodes
Sourcepki
Sourceprovisioning
Sourceracks
Sourcesecurity
Sourceswitches
Sourcesysctl
Sourcewireguard
Source