Skip to content

Commit 820339a

Browse files
akinrosslhercot
authored andcommitted
[minor_change] Add resources and datasources to support qosDot1PClass and qosDscpClass and expose them in aci_custom_qos_policy resource and datasource as children
1 parent fc60930 commit 820339a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+9814
-4
lines changed

docs/data-sources/custom_qos_policy.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,38 @@ data "aci_custom_qos_policy" "example_tenant" {
5353
* `name_alias` (nameAlias) - (string) The name alias of the Custom Qos Policy object.
5454
* `owner_key` (ownerKey) - (string) The key for enabling clients to own their data for entity correlation.
5555
* `owner_tag` (ownerTag) - (string) A tag for enabling clients to add their own data. For example, to indicate who created this object.
56+
* `dot1p_classifiers` - (list) A list of Dot1p Classifiers (ACI object [qosDot1PClass](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/qosDot1PClass/overview)).
57+
* `annotation` (annotation) - (string) The annotation of the Dot1p Classifier object.
58+
* `description` (descr) - (string) The description of the Dot1p Classifier object.
59+
* `from` (from) - (string) The Dot1p priority range starting value.
60+
* `name` (name) - (string) The name of the Dot1p Classifier object.
61+
* `name_alias` (nameAlias) - (string) The name alias of the Dot1p Classifier object.
62+
* `priority` (prio) - (string) The Quality of Service (QoS) priority class ID. QoS refers to the capability of a network to provide better service to selected network traffic over various technologies. The primary goal of QoS is to provide priority including dedicated bandwidth, controlled jitter and latency (required by some real-time and interactive traffic), and improved loss characteristics. You can configure the bandwidth of each QoS level using QoS profiles.
63+
* `target` (target) - (string) The target of the Dot1p Classifier object. This Fabric only supports DSCP mutation, Dot1P mutation is not supported.
64+
* `target_cos` (targetCos) - (string) Target COS to be driven based on the range of input values of DSCP coming into the fabric.
65+
* `to` (to) - (string) The Dot1p priority range ending value.
66+
* `annotations` - (list) A list of Annotations (ACI object [tagAnnotation](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagAnnotation/overview)). This attribute is supported in ACI versions: 3.2(1l) and later.
67+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
68+
* `value` (value) - (string) The value of the property.
69+
* `tags` - (list) A list of Tags (ACI object [tagTag](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagTag/overview)). This attribute is supported in ACI versions: 3.2(1l) and later.
70+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
71+
* `value` (value) - (string) The value of the property.
72+
* `dscp_to_priority_maps` - (list) A list of DSCP to Priority Maps (ACI object [qosDscpClass](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/qosDscpClass/overview)).
73+
* `annotation` (annotation) - (string) The annotation of the DSCP to Priority Map object.
74+
* `description` (descr) - (string) The description of the DSCP to Priority Map object.
75+
* `from` (from) - (string) The DSCP range starting value.
76+
* `name` (name) - (string) The name of the DSCP to Priority Map object.
77+
* `name_alias` (nameAlias) - (string) The name alias of the DSCP to Priority Map object.
78+
* `priority` (prio) - (string) The Quality of Service (QoS) priority class ID. QoS refers to the capability of a network to provide better service to selected network traffic over various technologies. The primary goal of QoS is to provide priority including dedicated bandwidth, controlled jitter and latency (required by some real-time and interactive traffic), and improved loss characteristics. You can configure the bandwidth of each QoS level using QoS profiles.
79+
* `target` (target) - (string) The target of the DSCP to Priority Map object. This Fabric only supports DSCP mutation, Dot1P mutation is not supported.
80+
* `target_cos` (targetCos) - (string) Target COS to be driven based on the range of input values of DSCP coming into the fabric.
81+
* `to` (to) - (string) The DSCP range ending value.
82+
* `annotations` - (list) A list of Annotations (ACI object [tagAnnotation](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagAnnotation/overview)). This attribute is supported in ACI versions: 3.2(1l) and later.
83+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
84+
* `value` (value) - (string) The value of the property.
85+
* `tags` - (list) A list of Tags (ACI object [tagTag](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagTag/overview)). This attribute is supported in ACI versions: 3.2(1l) and later.
86+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
87+
* `value` (value) - (string) The value of the property.
5688
* `annotations` - (list) A list of Annotations (ACI object [tagAnnotation](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagAnnotation/overview)). This attribute is supported in ACI versions: 3.2(1l) and later.
5789
* `key` (key) - (string) The key used to uniquely identify this configuration object.
5890
* `value` (value) - (string) The value of the property.
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
# Documentation generated by "gen/generator.go"; DO NOT EDIT.
3+
# In order to regenerate this file execute `go generate` from the repository root.
4+
# More details can be found in the [README](https://github.com/CiscoDevNet/terraform-provider-aci/blob/master/README.md).
5+
subcategory: "Tenant Policies"
6+
layout: "aci"
7+
page_title: "ACI: aci_dot1p_classifier"
8+
sidebar_current: "docs-aci-data-source-aci_dot1p_classifier"
9+
description: |-
10+
Data source for ACI Dot1p Classifier
11+
---
12+
13+
# aci_dot1p_classifier #
14+
15+
Data source for ACI Dot1p Classifier
16+
17+
## API Information ##
18+
19+
* Class: [qosDot1PClass](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/qosDot1PClass/overview)
20+
21+
* Supported in ACI versions: 1.0(1e) and later.
22+
23+
* Distinguished Name Format: `uni/tn-{name}/qoscustom-{name}/dot1P-{from}-{to}`
24+
25+
## GUI Information ##
26+
27+
* Location: `Tenants -> Policies -> Protocol -> Custom QoS -> Dot1p Classifiers`
28+
29+
## Example Usage ##
30+
31+
```hcl
32+
33+
data "aci_dot1p_classifier" "example_custom_qos_policy" {
34+
parent_dn = aci_custom_qos_policy.example.id
35+
from = "1"
36+
to = "2"
37+
}
38+
39+
```
40+
41+
## Schema ##
42+
43+
### Required ###
44+
45+
* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources:
46+
- [aci_custom_qos_policy](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/custom_qos_policy) ([qosCustomPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/qosCustomPol/overview))
47+
* `from` (from) - (string) The Dot1p priority range starting value.
48+
- Valid Values: `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `unspecified`.
49+
* `to` (to) - (string) The Dot1p priority range ending value.
50+
- Valid Values: `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `unspecified`.
51+
52+
### Read-Only ###
53+
54+
* `id` - (string) The distinguished name (DN) of the Dot1p Classifier object.
55+
* `annotation` (annotation) - (string) The annotation of the Dot1p Classifier object.
56+
* `description` (descr) - (string) The description of the Dot1p Classifier object.
57+
* `name` (name) - (string) The name of the Dot1p Classifier object.
58+
* `name_alias` (nameAlias) - (string) The name alias of the Dot1p Classifier object.
59+
* `priority` (prio) - (string) The Quality of Service (QoS) priority class ID. QoS refers to the capability of a network to provide better service to selected network traffic over various technologies. The primary goal of QoS is to provide priority including dedicated bandwidth, controlled jitter and latency (required by some real-time and interactive traffic), and improved loss characteristics. You can configure the bandwidth of each QoS level using QoS profiles.
60+
* `target` (target) - (string) The target of the Dot1p Classifier object. This Fabric only supports DSCP mutation, Dot1P mutation is not supported.
61+
* `target_cos` (targetCos) - (string) Target COS to be driven based on the range of input values of DSCP coming into the fabric.
62+
* `annotations` - (list) A list of Annotations (ACI object [tagAnnotation](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagAnnotation/overview)). This attribute is supported in ACI versions: 3.2(1l) and later.
63+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
64+
* `value` (value) - (string) The value of the property.
65+
* `tags` - (list) A list of Tags (ACI object [tagTag](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagTag/overview)). This attribute is supported in ACI versions: 3.2(1l) and later.
66+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
67+
* `value` (value) - (string) The value of the property.
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
# Documentation generated by "gen/generator.go"; DO NOT EDIT.
3+
# In order to regenerate this file execute `go generate` from the repository root.
4+
# More details can be found in the [README](https://github.com/CiscoDevNet/terraform-provider-aci/blob/master/README.md).
5+
subcategory: "Tenant Policies"
6+
layout: "aci"
7+
page_title: "ACI: aci_dscp_to_priority_map"
8+
sidebar_current: "docs-aci-data-source-aci_dscp_to_priority_map"
9+
description: |-
10+
Data source for ACI DSCP to Priority Map
11+
---
12+
13+
# aci_dscp_to_priority_map #
14+
15+
Data source for ACI DSCP to Priority Map
16+
17+
## API Information ##
18+
19+
* Class: [qosDscpClass](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/qosDscpClass/overview)
20+
21+
* Supported in ACI versions: 1.0(1e) and later.
22+
23+
* Distinguished Name Format: `uni/tn-{name}/qoscustom-{name}/dcsp-{from}-{to}`
24+
25+
## GUI Information ##
26+
27+
* Location: `Tenants -> Policies -> Protocol -> Custom QoS -> DSCP to priority map`
28+
29+
## Example Usage ##
30+
31+
```hcl
32+
33+
data "aci_dscp_to_priority_map" "example_custom_qos_policy" {
34+
parent_dn = aci_custom_qos_policy.example.id
35+
from = "AF11"
36+
to = "AF22"
37+
}
38+
39+
```
40+
41+
## Schema ##
42+
43+
### Required ###
44+
45+
* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources:
46+
- [aci_custom_qos_policy](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/custom_qos_policy) ([qosCustomPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/qosCustomPol/overview))
47+
* `from` (from) - (string) The DSCP range starting value.
48+
- Valid Values: `AF11`, `AF12`, `AF13`, `AF21`, `AF22`, `AF23`, `AF31`, `AF32`, `AF33`, `AF41`, `AF42`, `AF43`, `CS0`, `CS1`, `CS2`, `CS3`, `CS4`, `CS5`, `CS6`, `CS7`, `EF`, `VA`.
49+
* `to` (to) - (string) The DSCP range ending value.
50+
- Valid Values: `AF11`, `AF12`, `AF13`, `AF21`, `AF22`, `AF23`, `AF31`, `AF32`, `AF33`, `AF41`, `AF42`, `AF43`, `CS0`, `CS1`, `CS2`, `CS3`, `CS4`, `CS5`, `CS6`, `CS7`, `EF`, `VA`.
51+
52+
### Read-Only ###
53+
54+
* `id` - (string) The distinguished name (DN) of the DSCP to Priority Map object.
55+
* `annotation` (annotation) - (string) The annotation of the DSCP to Priority Map object.
56+
* `description` (descr) - (string) The description of the DSCP to Priority Map object.
57+
* `name` (name) - (string) The name of the DSCP to Priority Map object.
58+
* `name_alias` (nameAlias) - (string) The name alias of the DSCP to Priority Map object.
59+
* `priority` (prio) - (string) The Quality of Service (QoS) priority class ID. QoS refers to the capability of a network to provide better service to selected network traffic over various technologies. The primary goal of QoS is to provide priority including dedicated bandwidth, controlled jitter and latency (required by some real-time and interactive traffic), and improved loss characteristics. You can configure the bandwidth of each QoS level using QoS profiles.
60+
* `target` (target) - (string) The target of the DSCP to Priority Map object. This Fabric only supports DSCP mutation, Dot1P mutation is not supported.
61+
* `target_cos` (targetCos) - (string) Target COS to be driven based on the range of input values of DSCP coming into the fabric.
62+
* `annotations` - (list) A list of Annotations (ACI object [tagAnnotation](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagAnnotation/overview)). This attribute is supported in ACI versions: 3.2(1l) and later.
63+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
64+
* `value` (value) - (string) The value of the property.
65+
* `tags` - (list) A list of Tags (ACI object [tagTag](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagTag/overview)). This attribute is supported in ACI versions: 3.2(1l) and later.
66+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
67+
* `value` (value) - (string) The value of the property.

0 commit comments

Comments
 (0)