ansible / ansible.builtin / v2.9.27 / module / pn_port_cos_rate_setting CLI command to modify port-cos-rate-setting | "added in version" 2.8 of ansible.builtin" Authors: Pluribus Networks (@rajaspachipulusu17) preview | supported by communityansible.builtin.pn_port_cos_rate_setting (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
This modules can be used to update the port cos rate limit.
- name: port cos rate modify pn_port_cos_rate_setting: pn_cliswitch: "sw01" state: "update" pn_port: "control-port" pn_cos1_rate: "1000" pn_cos5_rate: "1000" pn_cos2_rate: "1000" pn_cos0_rate: "1000"
- name: port cos rate modify pn_port_cos_rate_setting: pn_cliswitch: "sw01" state: "update" pn_port: "data-port" pn_cos1_rate: "2000" pn_cos5_rate: "2000" pn_cos2_rate: "2000" pn_cos0_rate: "2000"
state: choices: - update description: - State the action to perform. Use C(update) to modify the port-cos-rate-setting. required: true type: str pn_port: choices: - control-port - data-port - span-ports description: - port. required: false type: str pn_cliswitch: description: - Target switch to run the CLI on. required: false type: str pn_cos0_rate: description: - cos0 rate limit (pps) unlimited or 0 to 10000000. required: false type: str pn_cos1_rate: description: - cos1 rate limit (pps) unlimited or 0 to 10000000. required: false type: str pn_cos2_rate: description: - cos2 rate limit (pps) unlimited or 0 to 10000000. required: false type: str pn_cos3_rate: description: - cos3 rate limit (pps) unlimited or 0 to 10000000. required: false type: str pn_cos4_rate: description: - cos4 rate limit (pps) unlimited or 0 to 10000000. required: false type: str pn_cos5_rate: description: - cos5 rate limit (pps) unlimited or 0 to 10000000. required: false type: str pn_cos6_rate: description: - cos6 rate limit (pps) unlimited or 0 to 10000000. required: false type: str pn_cos7_rate: description: - cos7 rate limit (pps) unlimited or 0 to 10000000. 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-rate-setting command. returned: on error type: list stdout: description: set of responses from the port-cos-rate-setting command. returned: always type: list