ansible / ansible.builtin / v2.8.19 / module / pn_port_cos_bw CLI command to modify port-cos-bw | "added in version" 2.8 of ansible.builtin" Authors: Pluribus Networks (@rajaspachipulusu17) preview | supported by communityansible.builtin.pn_port_cos_bw (v2.8.19) — module
pip
Install with pip install ansible==2.8.19
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