check_point / check_point.gaia / 5.0.1 / module / cp_gaia_bond_interface Modify bond interface. | "added in version" 3.0.0 of check_point.gaia" Authors: Ameer Asli (@chkp-ameera)check_point.gaia.cp_gaia_bond_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 bond interface.
- name: Set comment field of a bond interface check_point.gaia.cp_gaia_bond_interface: comments: bond5 interface name: bond5 mode: xor
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 "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 mode: choices: - round-robin - active-backup - xor - 8023AD description: Primary member of the bond interface. required: false type: str name: description: - Interface name with format C(bond<id>), valid values are bond1, bond2, bond3 .. 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 bond. elements: str required: false type: list primary: description: Primary member of the bond interface. required: false type: str version: description: Gaia API version for example 1.6. required: false type: str comments: description: Interface Comments. required: false type: str up_delay: description: Up delay in milliseconds. required: false type: int lacp_rate: choices: - slow - fast description: LACP rate. required: false type: str down_delay: description: Down delay in milliseconds. required: false type: int ipv4_address: description: Interface IPv4 address. required: false type: str ipv6_address: description: Interface IPv6 address. required: false type: str mii_interval: description: Media monitoring interval, Valid values are C(1-5000). required: false type: int 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 xmit_hash_policy: choices: - layer2 - layer3+4 description: Transmit hash policy. required: false type: str
bond_interface: description: The updated interface details. returned: always. type: dict