class

Cl8r::IPAM::ResolvedPlaneAllocation

Inherits Reference < Object

Holds the fully calculated 5-zone IP allocation state for a single network plane.

Constructors

new(plane_name : String, vlan_id : Int32 | Nil, ipv4_cidr : IPv4CIDR | Nil, ipv6_cidr : IPv6CIDR | Nil, gateway_ipv4 : IPv4Address | Nil, gateway_ipv6 : IPv6Address | Nil, zones : Array(AllocationZone) = [] of AllocationZone, vips : Hash(String, VipAllocation) = {} of String => VipAllocation, host_allocations : Hash(String, HostAllocation) = {} of String => HostAllocation, dhcp_pool_ipv4 : IPRange(IPv4Address) | Nil = nil, dhcp_pool_ipv6 : IPRange(IPv6Address) | Nil = nil, reserved_pool_ipv4 : IPRange(IPv4Address) | Nil = nil, reserved_pool_ipv6 : IPRange(IPv6Address) | Nil = nil)

Initializes a ResolvedPlaneAllocation with calculated IPAM records.

Source

Instance methods

dhcp_pool_ipv4
Source
dhcp_pool_ipv6
Source
gateway_ipv4
Source
gateway_ipv6
Source
host_allocations
Source
ipv4_cidr
Source
ipv6_cidr
Source
plane_name
Source
reserved_pool_ipv4
Source
reserved_pool_ipv6
Source
vips
Source
vlan_id
Source
zones
Source