f5networks.f5_modules.bigip_network_globals – Manage network global settings on BIG-IP
Note
This plugin is part of the f5networks.f5_modules collection (version 1.13.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 version 1.0.0: of f5networks.f5_modules
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: 443 |
|
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: “hash/dictionary of values” |
|
Specifies whether SPDAG or IPv6 prefix DAG should be used to disaggregate IPv6 traffic. Returned: changed Sample: 128 |
|
Specifies the ICMP hash for the ICMP echo request and ICMP echo reply in SW DAG. Returned: changed Sample: “ipicmp” |
|
The mode of operation of the DAG on a blade. Returned: changed Sample: “local” |
|
Manage multicast traffic configuration options. Returned: changed Sample: “hash/dictionary of values” |
|
The current status of LLDP. Returned: changed Sample: true |
|
The maximum number of neighbors per port. Returned: changed Sample: 128 |
|
The maximum number of seconds to wait before resetting the TTL timer after reaching the TTL interval. Returned: changed Sample: 30 |
|
The number of seconds to wait for LLDP to initialize on an interface before sending LLDP message. Returned: changed Sample: 500 |
|
The multiplier that determines the LLDP Time to Live. Returned: changed Sample: 10 |
|
The interval devices use to send LLDP information from each of their interfaces. Returned: changed Sample: 240 |
|
Manage multicast traffic configuration options. Returned: changed Sample: “hash/dictionary of values” |
|
The maximum number of packet queued on behalf of a single incomplete MFC entry. Returned: changed Sample: 3000 |
|
The number of incomplete MFC entries each TMM will allow to exist at one time. Returned: changed Sample: 50 |
|
Enables DB variable control over multicast packet per second rate limiting in the switch. Returned: changed Sample: true |
|
The maximum lifetime of an incomplete MFC entry, in seconds. Returned: changed Sample: 20 |
|
Manages self_allow system wide settings. Returned: changed Sample: “hash/dictionary of values” |
|
Allows all or none ports and protocols as a system wide self_allow setting. Returned: changed Sample: true |
|
The default set of protocols and ports allowed by a self IP. Returned: changed Sample: “hash/dictionary of values” |
|
The port number to be set. Returned: changed Sample: 443 |
|
The protocol name to be set. Returned: changed Sample: “tcp” |
|
Manage global settings for STP on BIG-IP. Returned: changed Sample: “hash/dictionary of values” |
|
The configuration name. Returned: changed Sample: “foobar” |
|
The revision level of the MSTP configuration. Returned: changed Sample: 2 |
|
User-defined description. Returned: changed Sample: “My description” |
|
The number of seconds for which an interface was blocked from forwarding network traffic. Returned: changed Sample: 4 |
|
The time interval at seconds between the periodic transmissions of spanning tree information. Returned: changed Sample: 2 |
|
The number of seconds that spanning tree information received from other bridges is considered valid. Returned: changed Sample: 30 |
|
The maximum number of hops an MSTP packet may travel before it is discarded. Returned: changed Sample: 15 |
|
The spanning tree mode. Returned: changed Sample: “mstp” |
|
The limit on the number of STP the traffic management system may transmit on a port in any hello time interval. Returned: changed Sample: 5 |
Authors
Wojciech Wypior (@wojtek0806)