community.general.onyx_pfc_interface (0.1.1) — module

Manage priority flow control on ONYX network devices

Authors: Samer Deeb (@samerd)

preview | supported by community

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

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