ansible / ansible.builtin / v2.9.27 / module / pn_dscp_map CLI command to create/delete dscp-map | "added in version" 2.8 of ansible.builtin" Authors: Pluribus Networks (@rajaspachipulusu17) preview | supported by communityansible.builtin.pn_dscp_map (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
This module can be used to create a DSCP priority mapping table.
- name: dscp map create pn_dscp_map: pn_cliswitch: "sw01" state: "present" pn_name: "foo" pn_scope: "local"
- name: dscp map delete pn_dscp_map: pn_cliswitch: "sw01" state: "absent" pn_name: "foo"
state: choices: - present - absent description: - State the action to perform. Use C(present) to create dscp-map and C(absent) to delete. required: true type: str pn_name: description: - Name for the DSCP map. required: false type: str pn_scope: choices: - local - fabric description: - Scope for dscp map. required: false pn_cliswitch: description: - Target switch to run the CLI on. 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 dscp-map command. returned: on error type: list stdout: description: set of responses from the dscp-map command. returned: always type: list