QuickRanges - Global

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • The QuickRanges script include provides methods to generate IP network, range, and address entries from a convenient comma-separated input field using conventional Classless Inter-Domain Range (CIDR) network notation, hyphenated range entries, or individual IP addresses.

    You can use this script include with any server-side discovery script.

    QuickRanges - createItem(String table, String id, String type)

    Creates a new discovery range item.

    Tableau 1. Parameters
    Name Type Description
    table String The table where the item will be created.
    id String The identifier to use for the new item.
    type String The type of entries to generate: IP address, IP network, or IP range.
    Tableau 2. Returns
    Type Description
    GlideRecord The created entry

    QuickRanges - onMakeRanges()

    Returns the IP network, range, and address information to use when generating the entries.

    Tableau 3. Parameters
    Name Type Description
    None
    Tableau 4. Returns
    Type Description
    void