.. _dellemc.enterprise_sonic.sonic_roce_module: *********************************** dellemc.enterprise_sonic.sonic_roce *********************************** **Manage RoCE QoS configuration on SONiC** Version added: 2.5.0 .. contents:: :local: :depth: 1 Synopsis -------- - This module provides configuration management of RoCE(v2) QoS for devices running SONiC Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
config
dictionary
RoCE QoS configuration
pfc_priority
string
Specifies the PFC priorities to enable RoCEv2 buffer default configuration on
Range 0-7, two priority values separated by comma
Ex. '3,4'
Only configurable when RoCE is enabled
roce_enable
boolean
    Choices:
  • no
  • yes
Enable or disable RoCEv2 default buffer configuration
state
string
    Choices:
  • merged ←
The state of the configuration after module completion.

Notes ----- .. note:: - Tested against Enterprise SONiC Distribution by Dell Technologies. - Supports ``check_mode``. Examples -------- .. code-block:: yaml # Using "merged" state # # Before state: # ------------- # # sonic# show running-configuration | grep roce # (No RoCE configuration present) - name: Enable RoCE for PFC priorities dellemc.enterprise_sonic.sonic_roce: config: roce_enable: true pfc_priorities: '3,4' state: merged # After state: # ------------ # # sonic# show running-configuration | grep roce # roce enable pfc-priority 3,4 Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: .. raw:: html
Key Returned Description
after
list
when changed
The configuration from module invocation.

Sample:
The configuration returned will always be in the same format as the parameters above.
after_generated
list
when check_mode
The generated (simulated) configuration expected from module invocation.

Sample:
The configuration returned will always be in the same format as the parameters above.
before
list
always
The configuration prior to the module invocation.

Sample:
The configuration returned will always be in the same format as the parameters above.
commands
list
always
The set of commands pushed to the remote device.

Sample:
['command 1', 'command 2', 'command 3']


Status ------ Authors ~~~~~~~ - S\. Talabi (@stalabi1)