check_point.gaia.cp_gaia_routes_direct_facts (5.0.1) — module

Show active Interface routes.

| "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 active Interface routes.


Requirements

Usage examples

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

Inputs

    
limit:
    default: 50
    description: The maximum number of returned results.
    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).
    required: false
    type: str

offset:
    default: 0
    description: The number of results to initially skip.
    required: false
    type: int

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

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