New in version 2.9.
Parameter | Choices/Defaults | Comments | |
---|---|---|---|
config list / elements=dictionary | The provided configuration | ||
bfd string |
| Enable/Disable Bidirectional Forwarding Detection (BFD) on the interface. | |
echo string |
| Enable/Disable BFD Echo functionality on the interface. | |
name string | The name of the interface. | ||
state string |
| The state of the configuration after module completion |
# Using deleted - name: Configure interfaces nxos_bfd_interfaces: state: deleted # Using merged - name: Configure interfaces nxos_bfd_interfaces: config: - name: Ethernet1/1 bfd: enable echo: enable - name: Ethernet1/2 bfd: disable echo: disable state: merged # Using overridden - name: Configure interfaces nxos_bfd_interfaces: config: - name: Ethernet1/1 bfd: enable echo: enable - name: Ethernet1/2 bfd: disable echo: disable state: overridden # Using replaced - name: Configure interfaces nxos_bfd_interfaces: config: - name: Ethernet1/1 bfd: enable echo: enable - name: Ethernet1/2 bfd: disable echo: disable state: replaced
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
after list | when changed | The configuration as structured data after module completion. Sample: The configuration returned will always be in the same format of the parameters above. |
before list | always | The configuration as structured data prior to module invocation. Sample: The configuration returned will always be in the same format of the parameters above. |
commands list | always | The set of commands pushed to the remote device. Sample: ['interface Ethernet1/1', 'no bfd', 'no bfd echo'] |
More information about Red Hat’s support of this module is available from this Red Hat Knowledge Base article.
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/modules/nxos_bfd_interfaces_module.html