Custom QoS Policy
NDOLocation in GUI:
Tenant Template » Tenant Policies » Custom QoS Policy
Diagram
Section titled “Diagram”Classes
Section titled “Classes”tenant_policies (ndo.tenant_templates)
Section titled “tenant_policies (ndo.tenant_templates)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| custom_qos_policies | List | [custom_qos_policies] | No |
custom_qos_policies (ndo.tenant_templates.tenant_policies)
Section titled “custom_qos_policies (ndo.tenant_templates.tenant_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
| dscp_mappings | List | [dscp_mappings] | No | |
| cos_mappings | List | [cos_mappings] | No |
dscp_mappings (ndo.tenant_templates.tenant_policies.custom_qos_policies)
Section titled “dscp_mappings (ndo.tenant_templates.tenant_policies.custom_qos_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| dscp_from | Choice | unspecified, af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs0, cs1, cs2, cs3, cs4, cs5, cs6, cs7, expedited_forwarding, voice_admit | No | unspecified |
| dscp_to | Choice | unspecified, af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs0, cs1, cs2, cs3, cs4, cs5, cs6, cs7, expedited_forwarding, voice_admit | No | unspecified |
| dscp_target | Choice | unspecified, af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs0, cs1, cs2, cs3, cs4, cs5, cs6, cs7, expedited_forwarding, voice_admit | No | unspecified |
| cos_target | Any | Integer[min: 0, max: 7] or Choice[unspecified, background, best_effort, excellent_effort, critical_applications, video, voice, internetwork_control, network_control] | No | unspecified |
| priority | Choice | unspecified, level1, level2, level3, level4, level5, level6 | No | unspecified |
cos_mappings (ndo.tenant_templates.tenant_policies.custom_qos_policies)
Section titled “cos_mappings (ndo.tenant_templates.tenant_policies.custom_qos_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| dot1p_from | Any | Integer[min: 0, max: 7] or Choice[unspecified, background, best_effort, excellent_effort, critical_applications, video, voice, internetwork_control, network_control] | No | unspecified |
| dot1p_to | Any | Integer[min: 0, max: 7] or Choice[unspecified, background, best_effort, excellent_effort, critical_applications, video, voice, internetwork_control, network_control] | No | unspecified |
| dscp_target | Choice | unspecified, af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs0, cs1, cs2, cs3, cs4, cs5, cs6, cs7, expedited_forwarding, voice_admit | No | unspecified |
| cos_target | Any | Integer[min: 0, max: 7] or Choice[unspecified, background, best_effort, excellent_effort, critical_applications, video, voice, internetwork_control, network_control] | No | unspecified |
| priority | Choice | unspecified, level1, level2, level3, level4, level5, level6 | No | unspecified |
Examples
Section titled “Examples”Example-1: The example below shows a tenant policy template called TP1 that is created under the tenant NDO1 and the site APIC1. The custom QoS policy QOS1 is configured with DSCP mappings and CoS mappings.
ndo: tenant_templates: tenant_policies: - name: TP1 tenant: NDO1 sites: - APIC1 custom_qos_policies: - name: QOS1 description: Custom QoS Policy 1 dscp_mappings: - dscp_from: af11 dscp_to: af12 dscp_target: af13 cos_target: voice priority: level1 cos_mappings: - dot1p_from: voice dot1p_to: video dscp_target: af21 cos_target: 5 priority: level2