f5os_qos_mapping – Manage QoS Mappings on F5OS¶
New in version 1.16.0.
Parameters¶
| Parameter | Choices/Defaults | Configuration | Comments |
|---|---|---|---|
|
mapping_type
string
/ required
|
|
Specifies the type of the standard that is to be mapped to the traffic priority.
|
|
|
mapping_values
list
/ elements=string
|
A list of values where where every element is either an individual value or two numerical values separated by a
- denoting a range.Valid values for
802.1p are 0-7, inclusive.Valid values for
dscp are 0-63, inclusive. |
||
|
state
string
|
|
If
present, creates the specified object if it does not exist, or updates the existing object.If
absent, deletes the object if it exists. |
|
|
traffic_priority
string
/ required
|
Specify one of the existing traffic priorities.
|
Examples¶
- name: Create QoS 8021p mapping
f5os_qos_mapping:
mapping_type: "802.1p"
traffic_priority: "test_tp"
mapping_values:
- "2-3"
- "5"
- name: Create QoS dscp mapping
f5os_qos_mapping:
mapping_type: "dscp"
traffic_priority: "test_tp"
mapping_values:
- "33-34"
- "37"
- name: Remove QoS dscp mapping
f5os_qos_mapping:
mapping_type: "dscp"
traffic_priority: "test_tp"
state: absent
Return Values¶
The following are the fields unique to this module:
| Key | Returned | Description |
|---|---|---|
|
mapping_type
string
|
changed |
Specifies the type of the standard that is to be mapped to the traffic priority.
Sample:
dscp
|
|
mapping_values
list
|
changed |
A list of values where where every element is either an individual value or two numerical values.
Sample:
['30-40', '41']
|
|
traffic_priority
string
|
changed |
Specify one of the existing traffic priorities.
Sample:
test_tp
|