f5os_qos_meter_group – Manage QoS meter groups on F5OS¶
New in version 1.0.0.
Parameters¶
| Parameter | Choices/Defaults | Configuration | Comments | |
|---|---|---|---|---|
|
interfaces
list
/ elements=string
|
Specifies the interfaces to associate with the meter group.
|
|||
|
meters
list
/ elements=dictionary
|
Specifies the list of traffic priorities and weights that together make a meter.
|
|||
|
name
string
/ required
|
Specifies the name of the traffic priority.
|
|||
|
weight
integer
/ required
|
Specifies the weight to associate with the traffic priority.
|
|||
|
name
string
/ required
|
Specifies the name of the meter group.
|
|||
|
state
string
|
|
If
present, this option creates qkview file on specified remote host.If
absent, this option deletes qkview file on the device (if it exists).When deleting a traffic priority make sure it is not the default for any QoS.
|
||
Examples¶
- name: Create QoS meter group
f5os_qos_meter_group:
name: test_meter
meters:
- name: tp1
weight: 2
- name: tp2
weight: 3
interfaces:
- "1.0"
- "lag-prod"
- name: Remove QoS meter group
f5os_qos_meter_group:
name: test_meter
state: absent
Return Values¶
The following are the fields unique to this module:
| Key | Returned | Description |
|---|---|---|
|
interfaces
list
|
changed |
List of interfaces that associate with the meter group.
Sample:
['1.0', '2.0']
|
|
meters
list
|
changed |
List of traffic priorities and their weights.
Sample:
[{'name': 'traffic_priority_1', 'weight': 2}]
|
|
name
string
|
changed |
The name of the meter group.
Sample:
meter_group_1
|