Cl8r::IPAM::ResolvedPlaneAllocation
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.
Instance methods
dhcp_pool_ipv4
Sourcedhcp_pool_ipv6
Sourcegateway_ipv4
Sourcegateway_ipv6
Sourcehost_allocations
Sourceipv4_cidr
Sourceipv6_cidr
Sourceplane_name
Sourcereserved_pool_ipv4
Sourcereserved_pool_ipv6
Sourcevips
Sourcevlan_id
Sourcezones
Source