Note
This plugin is part of the mellanox.onyx collection (version 1.0.0).
To install it use: ansible-galaxy collection install mellanox.onyx
.
To use it in a playbook, specify: mellanox.onyx.onyx_pfc_interface
.
Parameter | Choices/Defaults | Comments |
---|---|---|
aggregate string | List of interfaces PFC should be configured on. | |
name string | Name of the interface PFC should be configured on. | |
purge boolean |
| Purge interfaces not defined in the aggregate parameter. |
state string |
| State of the PFC configuration. |
Note
- name: Configure PFC onyx_pfc_interface: name: Eth1/1 state: enabled
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
commands list / elements=string | always | The list of configuration mode commands to send to the device. Sample: ['interface ethernet 1/17 dcb priority-flow-control mode on'] |
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.11/collections/mellanox/onyx/onyx_pfc_interface_module.html