cisco.ucs.ucs_system_qos module – Configures system QoS settings

Note

This module is part of the cisco.ucs collection (version 1.8.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install cisco.ucs.

To use it in a playbook, specify: cisco.ucs.ucs_system_qos.

New in version 2.1: of cisco.ucs

Synopsis

  • Configures system QoS settings

Requirements

The below requirements are needed on the host that executes this module.

  • ucsmsdk

Parameters

Parameter

Comments

admin_state

string

Admin state of QoS Policy

Choices:

  • disabled

  • enabled ← (default)

cos

string / required

CoS setting

Choices:

  • any

  • 0-6

drop

string

Set multicast optimization options

Choices:

  • drop ← (default)

  • no-drop

hostname

string / required

IP address or hostname of Cisco UCS Manager.

Modules can be used with the UCS Platform Emulator https://cs.co/ucspe

mtu

string

MTU size

Choices:

  • fc

  • normal ← (default)

  • 0-4294967295

multicast_optimize

string

Set multicast optimization options

Choices:

  • false

  • no

  • true

  • yes

password

string / required

Password for Cisco UCS Manager authentication.

port

integer

Port number to be used during connection (by default uses 443 for https and 80 for http connection).

priority

string / required

Priority to configure

Choices:

  • best-effort

  • bronze

  • fc

  • gold

  • platinum

  • silver

proxy

string

If use_proxy is no, specfies proxy to be used for connection. e.g. ‘http://proxy.xy.z:8080

use_proxy

boolean

If no, will not use the proxy as defined by system environment variable.

Choices:

  • no

  • yes ← (default)

use_ssl

boolean

If no, an HTTP connection will be used instead of the default HTTPS connection.

Choices:

  • no

  • yes ← (default)

username

string

Username for Cisco UCS Manager authentication.

Default: “admin”

weight

string / required

CoS profile weight

Choices:

  • best-effort

  • none

  • 0-10

Examples

- name:
  cisco.ucs.ucs_system_qos:
    priority: platinum
    admin_state: enabled
    multicast_optimize: no
    cos: '5'
    weight: '10'
    mtu: '9216'
    hostname: 192.168.99.100
    username: admin
    password: password

Authors

  • Brett Johnson (@sdbrett)