community / community.general / 0.1.1 / module / pn_cpu_mgmt_class CLI command to modify cpu-mgmt-class Authors: Pluribus Networks (@rajaspachipulusu17) preview | supported by communitycommunity.general.pn_cpu_mgmt_class (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 we used to update mgmt port ingress policers.
- name: cpu mgmt class modify ingress policers pn_cpu_mgmt_class: pn_cliswitch: "sw01" state: "update" pn_name: "icmp" pn_rate_limit: "10000" pn_burst_size: "14000"
- name: cpu mgmt class modify ingress policers pn_cpu_mgmt_class: pn_cliswitch: "sw01" state: "update" pn_name: "snmp" pn_burst_size: "8000" pn_rate_limit: "100000"
- name: cpu mgmt class modify ingress policers pn_cpu_mgmt_class: pn_cliswitch: "sw01" state: "update" pn_name: "web" pn_rate_limit: "10000" pn_burst_size: "1000"
state: choices: - update description: - State the action to perform. Use C(update) to modify cpu-mgmt-class. required: true type: str pn_name: choices: - arp - icmp - ssh - snmp - fabric - bcast - nfs - web - web-ssl - net-api description: - mgmt port ingress traffic class. required: false type: str pn_cliswitch: description: - Target switch to run the CLI on. required: false type: str pn_burst_size: description: - ingress traffic burst size (bytes) or default. required: false type: str pn_rate_limit: description: - ingress rate limit on mgmt port(bps) or unlimited. 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 cpu-mgmt-class command. returned: on error type: list stdout: description: set of responses from the cpu-mgmt-class command. returned: always type: list