check_point.gaia.cp_gaia_bond_interface_facts (5.0.1) — module

Show bond interface/s.

| "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 bond interface.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Show bond interface
  check_point.gaia.cp_gaia_bond_interface_facts:
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Show bond interface by specifying it's name
  cp_gaia_bond_interface_facts:
    name: bond1

Inputs

    
name:
    description: Interface name to show. If not specified, all bond interfaces information
      is returned.
    required: false
    type: str

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

Outputs

ansible_facts:
  contains:
    objects:
      contains:
        comments:
          description: Interface Comments.
          returned: always
          type: str
        dhcp:
          contains:
            enabled:
              description: Enable DHCP on this interface.
              returned: always
              type: bool
            leasetime:
              description:
              - Specifies the lease time, in seconds, when requesting for an IP address.
                Default value is "default" - according to the server.
              returned: always
              type: int
            reacquire_timeout:
              description:
              - When trying to reacquire the last ip address, The reacquire-timeout
                statement sets the time, in seconds, that must elapse after the first
                try to reacquire the old address before it gives up and tries to discover
                a new address.
              returned: always
              type: int
            retry:
              description: Specifies the time, in seconds, that must pass after the
                interface has determined that there is no DHCP server present before
                it tries again to contact a DHCP server.
              returned: always
              type: int
            server_timeout:
              description: Specifies the amount of time, in seconds, that must pass
                between the time that the interface begins to try to determine its
                address and the time that it decides that it's not going to be able
                to contact a server.
              returned: always
              type: int
          description: DHCP configuration.
          returned: always
          type: dict
        down_delay:
          description: Down delay in milliseconds.
          returned: always
          type: int
        enabled:
          description: Interface State.
          returned: always
          type: bool
        ipv4_address:
          description: Interface IPv4 address.
          returned: always
          type: str
        ipv4_mask_length:
          description: Interface IPv4 address mask length.
          returned: always
          type: int
        ipv6_address:
          description: Interface IPv6 address.
          returned: always
          type: str
        ipv6_autoconfig:
          description: Configure IPv6 auto-configuration.
          returned: always
          type: bool
        ipv6_local_link_address:
          description: Interface ipv6 local link address.
          returned: always
          type: str
        ipv6_mask_length:
          description: Interface IPv6 address mask length.
          returned: always
          type: int
        lacp_rate:
          description: LACP rate.
          returned: always
          type: str
        members:
          description: Interfaces members of the bond.
          elements: str
          returned: always
          type: list
        mii_interval:
          description: Media monitoring interval, Valid values are C(1-5000).
          returned: always
          type: int
        mode:
          description: Primary member of the bond interface.
          returned: always
          type: str
        mtu:
          description: Interface mtu.
          returned: always
          type: int
        name:
          description:
          - Interface name.
          returned: always
          type: str
        primary:
          description: Primary member of the bond interface.
          returned: always
          type: str
        status:
          contains:
            duplex:
              description: Duplex.
              returned: always
              type: str
            link_state:
              description: Link status.
              returned: always
              type: bool
            rx_bytes:
              description: RX bytes.
              returned: always
              type: int
            rx_packets:
              description: RX packets.
              returned: always
              type: int
            speed:
              description: Speed.
              returned: always
              type: str
            tx_bytes:
              description: TX bytes.
              returned: always
              type: int
            tx_packets:
              description: TX packets.
              returned: always
              type: int
          description: Interface data.
          returned: always
          type: dict
        up_delay:
          description: Up delay in milliseconds.
          returned: always
          type: int
        xmit_hash_policy:
          description: Transmit hash policy.
          returned: always
          type: str
      description:
      - List of interfaces.
      elements: dict
      returned: always
      type: list
  description: The interface/s facts.
  returned: always.
  type: dict