W3cubDocs

/Ansible 2.10

cisco.ucs.ucs_system_qos – Configures system QoS settings

Note

This plugin is part of the cisco.ucs collection.

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 Choices/Defaults Comments
admin_state
string
    Choices:
  • disabled
  • enabled
Admin state of QoS Policy
cos
string / required
    Choices:
  • any
  • 0-6
CoS setting
drop
string
    Choices:
  • drop
  • no-drop
Set multicast optimization options
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
    Choices:
  • fc
  • normal
  • 0-4294967295
MTU size
multicast_optimize
string
    Choices:
  • false
  • no
  • true
  • yes
Set multicast optimization options
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
    Choices:
  • best-effort
  • bronze
  • fc
  • gold
  • platinum
  • silver
Priority to configure
proxy
string
If use_proxy is no, specfies proxy to be used for connection. e.g. 'http://proxy.xy.z:8080'
use_proxy
boolean
    Choices:
  • no
  • yes
If no, will not use the proxy as defined by system environment variable.
use_ssl
boolean
    Choices:
  • no
  • yes
If no, an HTTP connection will be used instead of the default HTTPS connection.
username
string
Default:
"admin"
Username for Cisco UCS Manager authentication.
weight
string / required
    Choices:
  • best-effort
  • none
  • 0-10
CoS profile weight

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)

© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/cisco/ucs/ucs_system_qos_module.html