ansible.builtin.onyx_pfc_interface (v2.9.27) — module

Manage priority flow control on ONYX network devices

| "added in version" 2.5 of ansible.builtin"

Authors: Samer Deeb (@samerd)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

This module provides declarative management of priority flow control (PFC) on interfaces of Mellanox ONYX network devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: configure PFC
  onyx_pfc_interface:
    name: Eth1/1
    state: enabled

Inputs

    
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.

Outputs

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