community / community.general / 0.1.1 / module / pn_port_cos_bw CLI command to modify port-cos-bw Authors: Pluribus Networks (@rajaspachipulusu17) preview | supported by communitycommunity.general.pn_port_cos_bw (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
This module can be used to update bw settings for CoS queues.
- name: port cos bw modify pn_port_cos_bw: pn_cliswitch: "sw01" state: "update" pn_port: "1" pn_cos: "0" pn_min_bw_guarantee: "60"
- name: port cos bw modify pn_port_cos_bw: pn_cliswitch: "sw01" state: "update" pn_port: "all" pn_cos: "0" pn_weight: "priority"
state: choices: - update description: - State the action to perform. Use C(update) to modify the port-cos-bw. required: true type: str pn_cos: description: - CoS priority. required: false type: str pn_port: description: - physical port number. required: false type: str pn_weight: choices: - priority - no-priority description: - Scheduling weight (1 to 127) after b/w guarantee met. required: false type: str pn_cliswitch: description: - Target switch to run the CLI on. required: false type: str pn_max_bw_limit: description: - Maximum b/w in percentage. required: false type: str pn_min_bw_guarantee: description: - Minimum b/w in percentage. required: false type: str
changed: description: indicates whether the CLI caused changes on the target. returned: always type: bool command: description: the CLI command run on the target node. returned: always type: str stderr: description: set of error responses from the port-cos-bw command. returned: on error type: list stdout: description: set of responses from the port-cos-bw command. returned: always type: list