Tracks all allocated CIDR blocks and provides methods to check for overlaps.

Constructors

Methods

  • Checks if a CIDR is already allocated or overlaps with an allocated CIDR.

    Parameters

    • cidr: string

      The CIDR to check

    Returns boolean

    True if the CIDR is already allocated or overlaps with an allocated CIDR