mellanox.onyx.onyx_bfd module – Configures BFD parameters
Note
This module is part of the mellanox.onyx collection (version 1.0.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 mellanox.onyx
.
To use it in a playbook, specify: mellanox.onyx.onyx_bfd
.
New in mellanox.onyx 0.2.0
Synopsis
This module provides declarative management of BFD protocol params on Mellanox ONYX network devices.
Parameters
Parameter |
Comments |
---|---|
Minimum desired receive rate, should be between 50 and 6000. |
|
Desired detection multiplier, should be between 3 and 50. |
|
Minimum desired transmit rate, should be between 50 and 60000. |
|
Configures the mask length of the ip route network prefix, e.g 24. |
|
Configures the ip route network prefix, e.g 1.1.1.1. |
|
Configures the ip route next hop, e.g 2.2.2.2. |
|
Administratively shut down BFD protection. Choices:
|
|
Specifys the vrf name. |
Examples
- name: Configures bfd
onyx_bfd:
shutdown: yes
vrf: 5
interval_min_rx: 55
interval_multiplier: 8
interval_transmit_rate: 88
iproute_network_prefix: 1.1.1.0
iproute_mask_length: 24
iproute_next_hop: 3.2.2.2
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The list of configuration mode commands to send to the device. Returned: always Sample: |