cp_gaia_bond_interface.

Synopsis

Modify bond interface.

Parameters

version (False, str, None)

Gaia API version for example 1.6.

state (False, str, present)

Ansible state which can be present or absent.

name (True, str, None)

Interface name with format bond<id>, valid values are bond1, bond2, bond3 .. etc.

ipv4_address (False, str, None)

Interface IPv4 address.

ipv4_mask_length (False, int, None)

Interface IPv4 address mask length.

ipv6_address (False, str, None)

Interface IPv6 address.

ipv6_autoconfig (False, bool, None)

Configure IPv6 auto-configuration.

ipv6_mask_length (False, int, None)

Interface IPv6 address mask length.

comments (False, str, None)

Interface Comments.

enabled (False, bool, None)

Interface State.

dhcp (False, dict, None)

DHCP configuration.

enabled (False, bool, None)

Enable DHCP on this interface.

server_timeout (False, int, 60)

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.

retry (False, int, 300)

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.

leasetime (False, int, None)

Specifies the lease time, in seconds, when requesting for an IP address. Default value is “default” - according to the server.

reacquire_timeout (False, int, 10)

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

mtu (False, int, None)

Interface mtu.

members (False, list, None)

Interfaces members of the bond.

xmit_hash_policy (False, str, None)

Transmit hash policy.

down_delay (False, int, None)

Down delay in milliseconds.

up_delay (False, int, None)

Up delay in milliseconds.

primary (False, str, None)

Primary member of the bond interface.

lacp_rate (False, str, None)

LACP rate.

mode (False, str, None)

Primary member of the bond interface.

mii_interval (False, int, None)

Media monitoring interval, Valid values are 1-5000.

Notes

Note

  • Supports check_mode.

Examples

- name: Set comment field of a bond interface
  check_point.gaia.cp_gaia_bond_interface:
    comments: bond5 interface
    name: bond5
    mode: xor

Return Values

bond_interface (always., dict, )

The updated interface details.

Status

Authors

  • Ameer Asli (@chkp-ameera)