check_point.gaia.cp_gaia_physical_interface (5.0.1) — module

Set Physical interface.

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

Authors: Yuval Feiger (@chkp-yuvalfe)

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

Set Physical interface.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set comment field of a physical interface
  check_point.gaia.cp_gaia_physical_interface:
    comments: eth0 interface
    enabled: true
    name: eth0

Inputs

    
mtu:
    description: Interface mtu.
    required: false
    type: int

name:
    description: Interface name.
    required: true
    type: str

speed:
    description: Interface link speed. Speed is not relevant when 'auto-negotiation' is
      enabled.
    required: false
    type: str

duplex:
    description: Duplex for the interface. Duplex is not relevant when 'auto-negotiation'
      is enabled.
    required: false
    type: str

enabled:
    description: Interface State.
    required: false
    type: bool

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

comments:
    description: Interface Comments.
    required: false
    type: str

mac_addr:
    description: Configure hardware address.
    required: false
    type: str

rx_ringsize:
    description: Set receive buffer size for interface.
    required: false
    type: int

tx_ringsize:
    description: Set transmit buffer size for interfaces.
    required: false
    type: int

ipv4_address:
    description: Interface IPv4 address.
    required: false
    type: str

ipv6_address:
    description: Interface IPv6 address.
    required: false
    type: str

monitor_mode:
    description: Set monitor mode for the interface off/on.
    required: false
    type: bool

ipv6_autoconfig:
    description: Configure IPv6 auto-configuration.
    required: false
    type: bool

auto_negotiation:
    description: Activating Auto-Negotiation will skip the speed and duplex configuration.
    required: false
    type: bool

ipv4_mask_length:
    description: Interface IPv4 address mask length.
    required: false
    type: int

ipv6_mask_length:
    description: Interface IPv6 address mask length.
    required: false
    type: int

Outputs

physical_interface:
  description: The updated interface details.
  returned: always.
  type: dict