Manages the remaining CIDR space during allocation.

Constructors

Methods

  • Updates the remaining space after allocating a CIDR block.

    Parameters

    • remainingSpace: string[]

      Array of available CIDR blocks

    • allocatedCidr: string

      The CIDR block that was just allocated

    Returns string[]

    Updated array of available CIDR blocks