check_point.gaia.cp_gaia_static_route_facts (5.0.1) — module

Show the configuration of static route.

| "added in version" 3.0.0 of check_point.gaia"

Authors: Ameer Asli (@chkp-ameera)

Install collection

Install with ansible-galaxy collection install check_point.gaia:==5.0.1


Add to requirements.yml

  collections:
    - name: check_point.gaia
      version: 5.0.1

Description

Show the configuration of static route.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Show active static routes
  check_point.gaia.cp_gaia_static_route_facts:

Inputs

    
limit:
    default: 50
    description: The maximum number of returned results. relevant in case facts for all
      routes.
    required: false
    type: int

order:
    choices:
    - ASC
    - DESC
    default: ASC
    description:
    - Sorts the routes by either ascending or descending order. Valid values are C(ASC)
      C(DESC). relevant in case facts for all routes.
    required: false
    type: str

offset:
    default: 0
    description: The number of results to initially skip. relevant in case facts for all
      routes.
    required: false
    type: int

address:
    description: Existing IPv4 address, required in case fact for single route.
    required: false
    type: str

version:
    description: Gaia API version for example 1.6.
    required: false
    type: str

mask_length:
    description: Existing mask length address.Valid values are 0-32, required in case
      fact for single route.
    required: false
    type: int

Outputs

ansible_facts:
  contains:
    from:
      description: From which route the query was done.
      returned: always
      type: int
    objects:
      description: List of all aggregate routes.
      elements: dict
      returned: always
      type: list
    to:
      description: To which route the query was done.
      returned: always
      type: int
    total:
      description: Total number of routes.
      returned: always
      type: int
  description: The checkpoint object facts.
  returned: always.
  type: dict