check_point / check_point.gaia / 5.0.1 / module / cp_gaia_bridge_interface Modify bridge interface. | "added in version" 3.0.0 of check_point.gaia" Authors: Ameer Asli (@chkp-ameera)check_point.gaia.cp_gaia_bridge_interface (5.0.1) — module
Install with ansible-galaxy collection install check_point.gaia:==5.0.1
collections: - name: check_point.gaia version: 5.0.1
Modify bridge interface.
- name: Add new bridge interface check_point.gaia.cp_gaia_bridge_interface: comments: bridge5 interface name: br5 members: ['eth3', 'eth4']
mtu: description: Interface mtu. required: false type: int dhcp: description: DHCP configuration. required: false suboptions: enabled: description: Enable DHCP on this interface. required: false type: bool leasetime: description: - Specifies the lease time, in seconds, when requesting for an IP address. Default value is C(default) - according to the server. required: false type: int reacquire_timeout: default: 10 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. required: false type: int retry: default: 300 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. required: false type: int server_timeout: default: 60 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. required: false type: int type: dict name: description: - Interface name with format C(br<id>), valid values are br1, br2, br3 .. etc. required: true type: str state: choices: - present - absent default: present description: Ansible state which can be C(present) or C(absent). required: false type: str enabled: description: Interface State. required: false type: bool members: description: Interfaces members of the bridge. elements: str required: false type: list version: description: Gaia API version for example 1.6. required: false type: str comments: description: Interface Comments. required: false type: str ipv4_address: description: Interface IPv4 address. required: false type: str ipv6_address: description: Interface IPv6 address. required: false type: str ipv6_autoconfig: description: Configure IPv6 auto-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
bridge_interface: description: The updated interface details. returned: always. type: dict