ansible / ansible.builtin / v2.9.27 / module / onyx_pfc_interface Manage priority flow control on ONYX network devices | "added in version" 2.5 of ansible.builtin" Authors: Samer Deeb (@samerd) preview | supported by communityansible.builtin.onyx_pfc_interface (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
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