community / community.general / 0.1.1 / module / onyx_pfc_interface Manage priority flow control on ONYX network devices Authors: Samer Deeb (@samerd) preview | supported by communitycommunity.general.onyx_pfc_interface (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
This module provides declarative management of priority flow control (PFC) on interfaces of Mellanox ONYX network devices.
- name: configure PFC onyx_pfc_interface: name: Eth1/1 state: enabled
name: description: - Name of the interface PFC should be configured on. purge: default: false description: - Purge interfaces not defined in the aggregate parameter. type: bool state: choices: - enabled - disabled default: enabled description: - State of the PFC configuration. aggregate: description: List of interfaces PFC should be configured on.
commands: description: The list of configuration mode commands to send to the device. returned: always sample: - interface ethernet 1/17 dcb priority-flow-control mode on type: list