mellanox.onyx.onyx_traffic_class – Configures Traffic Class¶
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_traffic_class
.
Synopsis¶
This module provides declarative management of Traffic Class configuration on Mellanox ONYX network devices.
Parameters¶
Examples¶
- name: Configure traffic class
onyx_traffic_class:
interfaces:
- Eth1/1
- Eth1/2
tc: 3
congestion_control:
control: ecn
threshold_mode: absolute
min_threshold: 500
max_threshold: 1500
dcb:
mode: strict
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Anas Badaha (@anasb)