arubanetworks.aoscx.aoscx_queue (4.3.2) — module

Create, Update or Delete a Queue on AOS-CX devices.

| "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 Queues on AOS-CX devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
---
- name: Create Queue 5 in 'High-Traffic' Schedule Profile
  aoscx_queue:
    qos_name: High-Traffic
    queue_number: 5
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete Queue 3 in 'High-Traffic' Schedule Profile
  aoscx_queue:
    qos_name: High-Traffic
    queue_number: 3
    state: delete
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create queue 1 in 'High-Traffic' Schedule Profile
  aoscx_queue:
    qos_name: High-Traffic
    queue_number: 1
    algorithm: "dwrr"
    bandwidth: 1024
    burst: 1024
    weight: 127
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set a Guaranteed Minimum Bandwidth of 46 percent for the queue 1
  aoscx_queue:
    qos_name: VOIP_Profile
    queue_number: 1
    gmb_percent: 46
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Remove the Guaranteed Minimum Bandwidth from the queue 4
  aoscx_queue:
    qos_name: VOIP_Profile
    queue_number: 4
    no_gmb_percent: true

Inputs

    
burst:
    description: 'burst size in kilobytes allowed per bandwidth-queue, if not specified
      the default 32KB will be applied.

      '
    required: false
    type: int

state:
    choices:
    - create
    - update
    - delete
    default: create
    description: Create, update or delete the Queue.
    required: false
    type: str

weight:
    description: 'Weight value for a queue. Maximum number is hardware dependent.

      '
    required: false
    type: int

qos_name:
    description: Name to identify a QoS configuration.
    required: true
    type: str

algorithm:
    choices:
    - dwrr
    - strict
    - wfq
    - min-bandwidth
    default: strict
    description: 'Scheduling behavior of the queue, strict will service packets in queue
      before packets in lower numbered queues, dwrr, or Deficit Weighted Round Robin will
      apportion available bandwidth among all non-empty dwrr queues in relation to their
      weight, wfq, or Weighted Fair Queueing will apportion available bandwidth among
      all non-empty wfq queues in relation to their weight.

      '
    required: false
    type: str

bandwidth:
    description: 'Bandwidth limit in kilobits per second to apply to egress traffic, if
      not specified, bandwidth is not limited per queue.

      '
    required: false
    type: int

gmb_percent:
    description: 'The Guaranteed Minimum Bandwidth as a percentage of line rate. This
      option is mutually exclusive with the no_gmb_percent option.

      '
    required: false
    type: int

queue_number:
    description: Number to identify a Queue.
    required: true
    type: int

no_gmb_percent:
    default: false
    description: 'Option to remove the Guaranteed Minimum Bandwidth. This option is mutually
      exclusive with the gmb_percent option.

      '
    required: false
    type: bool