Skip to content

Commit

Permalink
[minor_change] Add deprecation warning for relation_fv_rs_cust_qos_po…
Browse files Browse the repository at this point in the history
…l in aci_endpoint_security_group (ESG) resource
  • Loading branch information
akinross authored and lhercot committed Apr 30, 2024
1 parent 40e545f commit bf60846
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions aci/resource_aci_fvesg.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ func resourceAciEndpointSecurityGroup() *schema.Resource {
},
},
"relation_fv_rs_cust_qos_pol": {
Type: schema.TypeString,

Type: schema.TypeString,
Optional: true,
Description: "Create relation to qos:CustomPol",
Deprecated: "Remove `relation_fv_rs_cust_qos_pol` configuration as it is not used by ESG configuration. The attribute will be removed in the next major version of the provider.",
},
"relation_fv_rs_intra_epg": {
Type: schema.TypeSet,
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/endpoint_security_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ resource "aci_endpoint_security_group" "example" {
- `prio` - (Optional) The contract interface priority. Allowed values are "level1", "level2", "level3", "level4", "level5", "level6", "unspecified", and default value is "unspecified". Type: String.
- `target_dn` - (Required) The distinguished name of the target contract. Type: String.

- `relation_fv_rs_cust_qos_pol` - (Optional) Represents the relation to a Custom QOS Policy (class qosCustomPol). It is a source relation to a custom QoS policy that enables different levels of service to be assigned to network traffic, including specifications for the Differentiated Services Code Point (DSCP) value(s) and the 802.1p Dot1p priority. Type: String.
- `relation_fv_rs_cust_qos_pol` - (Optional) **WARNING:** This attribute is deprecated and will be removed in the next major version. Represents the relation to a Custom QOS Policy (class qosCustomPol). It is a source relation to a custom QoS policy that enables different levels of service to be assigned to network traffic, including specifications for the Differentiated Services Code Point (DSCP) value(s) and the 802.1p Dot1p priority. Type: String.

- `relation_fv_rs_intra_epg` - (Optional) Represents the relation to an Intra EPg Contract (class vzBrCP). Represents that the EPg is moving from "allow all within epg" mode to a "deny all within epg" mode. The only type of traffic allowed between EPs in this EPg is the one specified by contracts EPg associates to this relation. Type: List.

Expand Down
2 changes: 1 addition & 1 deletion legacy-docs/docs/r/endpoint_security_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ resource "aci_endpoint_security_group" "example" {
- `prio` - (Optional) The contract interface priority. Allowed values are "level1", "level2", "level3", "level4", "level5", "level6", "unspecified", and default value is "unspecified". Type: String.
- `target_dn` - (Required) The distinguished name of the target contract. Type: String.

- `relation_fv_rs_cust_qos_pol` - (Optional) Represents the relation to a Custom QOS Policy (class qosCustomPol). It is a source relation to a custom QoS policy that enables different levels of service to be assigned to network traffic, including specifications for the Differentiated Services Code Point (DSCP) value(s) and the 802.1p Dot1p priority. Type: String.
- `relation_fv_rs_cust_qos_pol` - (Optional) **WARNING:** This attribute is deprecated and will be removed in the next major version. Represents the relation to a Custom QOS Policy (class qosCustomPol). It is a source relation to a custom QoS policy that enables different levels of service to be assigned to network traffic, including specifications for the Differentiated Services Code Point (DSCP) value(s) and the 802.1p Dot1p priority. Type: String.

- `relation_fv_rs_intra_epg` - (Optional) Represents the relation to an Intra EPg Contract (class vzBrCP). Represents that the EPg is moving from "allow all within epg" mode to a "deny all within epg" mode. The only type of traffic allowed between EPs in this EPg is the one specified by contracts EPg associates to this relation. Type: List.

Expand Down

0 comments on commit bf60846

Please sign in to comment.