f5networks.f5_modules.bigip_network_globals module – Manage network global settings on BIG-IP
Note
This module is part of the f5networks.f5_modules collection (version 1.21.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install f5networks.f5_modules
.
To use it in a playbook, specify: f5networks.f5_modules.bigip_network_globals
.
New in f5networks.f5_modules 1.0.0
Synopsis
Module to manage STP, Multicast, DAG, LLDP and Self Allow global settings on a BIG-IP.
Parameters
Parameter |
Comments |
---|---|
Manage global disaggregation settings. |
|
Specifies whether SPDAG or IPv6 prefix DAG should be used to disaggregate IPv6 traffic when vlan cmp hash is set to The valid value range is 0 - 128, with This option is only available in TMOS version |
|
Specifies the ICMP hash for ICMP echo request and ICMP echo reply in SW DAG. When When This option is only available in Choices:
|
|
Specifies whether the round robin disaggregator (DAG) on a blade can disaggregate packets to all the TMMs in the system or only to the TMMs local to the blade. When When Choices:
|
|
Manage LLDP configuration options. |
|
Specifies the current status of LLDP. When When Choices:
|
|
Specifies the maximum number of neighbors per port. The valid value range is 0 - 65535. |
|
Specifies the maximum number of seconds to wait after reaching the TTL interval before resetting TTL timer. The valid value range is 0 - 65535. |
|
Specifies the number of seconds to wait for LLDP to initialize on an interface before sending LLDP message. The valid value range is 0 - 65535. |
|
Specifies the multiplier that determines the LLDP Time to Live (TTL). TTL is determined by multiplying this value and The valid value range is 0 - 65535. |
|
Specifies the interval devices use to send LLDP information from each of their interfaces. The valid value range is 0 - 65535. |
|
Manage multicast traffic configuration options. |
|
Specifies the maximum number of packet queued on behalf of a single incomplete MFC entry. The valid range is 0 - 4294967295. |
|
Specifies the number of incomplete MFC entries each TMM will allow to exist at one time. The valid range is 0 - 4294967295. |
|
When Choices:
|
|
Specifies maximum lifetime of an incomplete MFC entry, in seconds. The valid range is 0 - 4294967295. |
|
A dict object containing connection details. |
|
Configures the auth provider for to obtain authentication tokens from the remote device. This option is really used when working with BIG-IQ devices. |
|
If You may omit this option by setting the environment variable Previously used variable Choices:
|
|
The password for the user account used to connect to the BIG-IP. You may omit this option by setting the environment variable |
|
The BIG-IP host. You may omit this option by setting the environment variable |
|
The BIG-IP server port. You may omit this option by setting the environment variable Default: |
|
Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands. If the timeout is exceeded before the operation is completed, the module will error. |
|
Configures the transport connection to use when connecting to the remote device. Choices:
|
|
The username to connect to the BIG-IP with. This user must have administrative privileges on the device. You may omit this option by setting the environment variable |
|
If You may omit this option by setting the environment variable Choices:
|
|
Manage Self Allow global configuration options. |
|
Sets all or none ports and protocols as a system wide When When Choices:
|
|
The default set of protocols and ports allowed by a self IP if the self IP allow-service setting is default. |
|
The port number to be set. The valid value range is 0 - 65535. |
|
The protocol name to be set. |
|
Manage global settings for STP on BIG-IP. |
|
Specifies the configuration name. The accepted length is from 1 to 32 characters. Only has effect when the |
|
Specifies the revision level of the MSTP configuration, when You must specify a number in the range of 0 to 65535. |
|
User-defined description. |
|
The number of seconds for which an interface was blocked from forwarding network traffic after a reconfiguration of the spanning tree topology. This parameter has no effect when If any legacy STP bridges are present, neighboring bridges must fall back to the old protocol, whose reconfiguration time is affected by the forward delay value. The valid range is 4 to 30. |
|
Specifies the time interval in seconds between the periodic transmissions that communicate spanning tree information to the adjacent bridges in the network. The hello time set by default on the device is optimal in virtually all cases. F5 recommends that you do not change the hello time. The valid range is 1 to 10. |
|
Specifies the number of seconds for which spanning tree information received from other bridges is considered valid. The valid range is 6 to 40 seconds. |
|
Specifies the maximum number of hops an MSTP packet may travel before it is discarded. This option only takes effect when The number of hops must be in the range of 1 to 255. |
|
Specifies the spanning tree mode. The Choices:
|
|
Specifies the absolute limit on the number of spanning tree protocol packets the traffic management system may transmit on a port in any hello time interval. The valid range is 1 to 10 packets. |
Notes
Note
For more information on using Ansible to manage F5 Networks devices see https://www.ansible.com/integrations/networks/f5.
Requires BIG-IP software version >= 12.
The F5 modules only manipulate the running configuration of the F5 product. To ensure that BIG-IP specific configuration persists to disk, be sure to include at least one task that uses the f5networks.f5_modules.bigip_config module to save the running configuration. Refer to the module’s documentation for the correct usage of the module to save your running configuration.
Examples
- name: Update STP settings
bigip_network_globals:
stp:
config_name: foobar
config_revision: 1
max_hops: 20
mode: mstp
provider:
password: secret
server: lb.mydomain.com
user: admin
delegate_to: localhost
- name: Update DAG settings
bigip_network_globals:
dag:
icmp_hash: ipicmp
round_robin_mode: local
provider:
password: secret
server: lb.mydomain.com
user: admin
delegate_to: localhost
- name: Update multiple settings
bigip_network_globals:
stp:
config_name: foobar
config_revision: 1
max_hops: 20
mode: mstp
dag:
icmp_hash: ipicmp
round_robin_mode: local
provider:
password: secret
server: lb.mydomain.com
user: admin
delegate_to: localhost
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Manage multicast traffic configuration options. Returned: changed Sample: |
|
Specifies whether SPDAG or IPv6 prefix DAG should be used to disaggregate IPv6 traffic. Returned: changed Sample: |
|
Specifies the ICMP hash for the ICMP echo request and ICMP echo reply in SW DAG. Returned: changed Sample: |
|
The mode of operation of the DAG on a blade. Returned: changed Sample: |
|
Manage multicast traffic configuration options. Returned: changed Sample: |
|
The current status of LLDP. Returned: changed Sample: |
|
The maximum number of neighbors per port. Returned: changed Sample: |
|
The maximum number of seconds to wait before resetting the TTL timer after reaching the TTL interval. Returned: changed Sample: |
|
The number of seconds to wait for LLDP to initialize on an interface before sending LLDP message. Returned: changed Sample: |
|
The multiplier that determines the LLDP Time to Live. Returned: changed Sample: |
|
The interval devices use to send LLDP information from each of their interfaces. Returned: changed Sample: |
|
Manage multicast traffic configuration options. Returned: changed Sample: |
|
The maximum number of packet queued on behalf of a single incomplete MFC entry. Returned: changed Sample: |
|
The number of incomplete MFC entries each TMM will allow to exist at one time. Returned: changed Sample: |
|
Enables DB variable control over multicast packet per second rate limiting in the switch. Returned: changed Sample: |
|
The maximum lifetime of an incomplete MFC entry, in seconds. Returned: changed Sample: |
|
Manages self_allow system wide settings. Returned: changed Sample: |
|
Allows all or none ports and protocols as a system wide self_allow setting. Returned: changed Sample: |
|
The default set of protocols and ports allowed by a self IP. Returned: changed Sample: |
|
The port number to be set. Returned: changed Sample: |
|
The protocol name to be set. Returned: changed Sample: |
|
Manage global settings for STP on BIG-IP. Returned: changed Sample: |
|
The configuration name. Returned: changed Sample: |
|
The revision level of the MSTP configuration. Returned: changed Sample: |
|
User-defined description. Returned: changed Sample: |
|
The number of seconds for which an interface was blocked from forwarding network traffic. Returned: changed Sample: |
|
The time interval at seconds between the periodic transmissions of spanning tree information. Returned: changed Sample: |
|
The number of seconds that spanning tree information received from other bridges is considered valid. Returned: changed Sample: |
|
The maximum number of hops an MSTP packet may travel before it is discarded. Returned: changed Sample: |
|
The spanning tree mode. Returned: changed Sample: |
|
The limit on the number of STP the traffic management system may transmit on a port in any hello time interval. Returned: changed Sample: |