arubanetworks.aoscx.aoscx_qos_dscp (4.3.2) — module

Create or Delete QoS DSCP trust modes on AOS-CX.

| "added in version" 4.0.0 of arubanetworks.aoscx"

Authors: Aruba Networks (@ArubaNetworks)

preview | supported by certified

Install collection

Install with ansible-galaxy collection install arubanetworks.aoscx:==4.3.2


Add to requirements.yml

  collections:
    - name: arubanetworks.aoscx
      version: 4.3.2

Description

This module provides configuration management of QoS DSCP trust type on AOS-CX devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
---
- name: Update description of QoS DSCP trust type map entry with code point 3
  aoscx_qos_dscp:
   code_point: 3
   description: QoS DSCP 3 - Engineering Department
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Update color of QoS DSCP trust type map entry with code point 5
  aoscx_qos_dscp:
    code_point: 5
    color: yellow
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: >
    Update color and local priority of QoS DSCP trust type map entry with code
    point 5
  aoscx_qos_dscp:
    code_point: 5
    color: yellow
    local_priority: 3
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Update description of a QoS DSCP entry in an access platform switch
  aoscx_qos_dscp:
    code_point: 1
    description: New description
    cos: 2

Inputs

    
cos:
    description: 'Priority Code Point (PCP) that will be assigned to any IP packet with
      the specified DSCP codepoint, if that packet''s ingress port has an effective trust
      mode of DSCP. The new PCP is used when the packet is transmitted out of a port or
      trunk with a VLAN tag. If the key is not specified, then no remark will occur.

      '
    required: false
    type: int

color:
    choices:
    - green
    - yellow
    - red
    description: 'String to identify the color which may be used later in the pipeline
      in packet-drop decision points.

      '
    required: false
    type: str

code_point:
    description: '6-bit integer value used to mark packets for different per-hop behavior
      as defined by IETF RFC2474. It is carried within the Differentiated Services (DS)
      field of the IPv4 or IPv6 header. Used as an identifier.

      '
    type: int

description:
    description: String used for customer documentation.
    required: false
    type: str

local_priority:
    description: 'Integer to represent an internal meta-data value that will be associated
      with the packet. This value will be used later to select the egress queue for the
      packet.

      '
    required: false
    type: int