Skip to content

Commit 3436ac4

Browse files
committed
[ignore] rename attribute from qinq to q_in_q for l2_interface_policy
1 parent 5017511 commit 3436ac4

File tree

10 files changed

+58
-24
lines changed

10 files changed

+58
-24
lines changed

docs/data-sources/l2_interface_policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ data "aci_l2_interface_policy" "example" {
5050
* `name_alias` (nameAlias) - (string) The name alias of the L2 Interface Policy object. This attribute is supported in ACI versions: 2.2(1k) and later.
5151
* `owner_key` (ownerKey) - (string) The key for enabling clients to own their data for entity correlation.
5252
* `owner_tag` (ownerTag) - (string) A tag for enabling clients to add their own data. For example, to indicate who created this object.
53-
* `qinq` (qinq) - (string) The QinQ port type of the L2 Interface Policy object. This attribute is supported in ACI versions: 2.2(1k) and later.
53+
* `q_in_q` (qinq) - (string) The QinQ port type of the L2 Interface Policy object. This attribute is supported in ACI versions: 2.2(1k) and later.
5454
* `reflective_relay` (vepa) - (string) The reflective relay (802.1Qbg) state of the L2 Interface Policy object. This attribute is supported in ACI versions: 2.3(1e) and later.
5555
* `vlan_scope` (vlanScope) - (string) The vlan scope of the L2 Interface Policy object.
5656
* `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.

docs/resources/l2_interface_policy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ resource "aci_l2_interface_policy" "full_example" {
5353
name_alias = "name_alias_1"
5454
owner_key = "owner_key_1"
5555
owner_tag = "owner_tag_1"
56-
qinq = "corePort"
56+
q_in_q = "corePort"
5757
reflective_relay = "enabled"
5858
vlan_scope = "portlocal"
5959
annotations = [
@@ -92,7 +92,7 @@ All examples for the L2 Interface Policy resource can be found in the [examples]
9292
* `name_alias` (nameAlias) - (string) The name alias of the L2 Interface Policy object. This attribute is supported in ACI versions: 2.2(1k) and later.
9393
* `owner_key` (ownerKey) - (string) The key for enabling clients to own their data for entity correlation.
9494
* `owner_tag` (ownerTag) - (string) A tag for enabling clients to add their own data. For example, to indicate who created this object.
95-
* `qinq` (qinq) - (string) The QinQ port type of the L2 Interface Policy object. This attribute is supported in ACI versions: 2.2(1k) and later.
95+
* `q_in_q` (qinq) - (string) The QinQ port type of the L2 Interface Policy object. This attribute is supported in ACI versions: 2.2(1k) and later.
9696
- Default: `"disabled"`
9797
- Valid Values: `"corePort"`, `"disabled"`, `"doubleQtagPort"`, `"edgePort"`.
9898
* `reflective_relay` (vepa) - (string) The reflective relay (802.1Qbg) state of the L2 Interface Policy object. This attribute is supported in ACI versions: 2.3(1e) and later.

examples/resources/aci_l2_interface_policy/resource-all-attributes.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ resource "aci_l2_interface_policy" "full_example" {
66
name_alias = "name_alias_1"
77
owner_key = "owner_key_1"
88
owner_tag = "owner_tag_1"
9-
qinq = "corePort"
9+
q_in_q = "corePort"
1010
reflective_relay = "enabled"
1111
vlan_scope = "portlocal"
1212
annotations = [

gen/definitions/classes/l2IfPol.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ contained_by:
33
migration_blocks:
44
l2IfPol:
55
vepa: reflective_relay
6+
qinq: q_in_q
67
migration_version: 1
78
resource_name: l2_interface_policy
89
rn_prepend: infra

gen/definitions/properties/l2IfPol.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ documentation:
44
vlanScope: The vlan scope of the %s object.
55
overwrites:
66
vepa: reflective_relay
7+
qinq: q_in_q
78
test_values:
89
all:
910
reflective_relay: enabled

gen/testvars/l2IfPol.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# In order to regenerate this file execute `go generate` from the repository root.
33
# More details can be found in the [README](https://github.com/CiscoDevNet/terraform-provider-aci/blob/master/README.md).
44
legacy_attributes:
5+
qinq: "corePort"
56
vepa: "disabled"
67

78

@@ -11,7 +12,7 @@ default:
1112
name_alias: ""
1213
owner_key: ""
1314
owner_tag: ""
14-
qinq: "disabled"
15+
q_in_q: "disabled"
1516
reflective_relay: "disabled"
1617
vlan_scope: "global"
1718

@@ -30,7 +31,7 @@ all:
3031
name_alias: "name_alias_1"
3132
owner_key: "owner_key_1"
3233
owner_tag: "owner_tag_1"
33-
qinq: "corePort"
34+
q_in_q: "corePort"
3435
reflective_relay: "enabled"
3536
vlan_scope: "portlocal"
3637

internal/provider/data_source_aci_l2_interface_policy.go

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/provider/data_source_aci_l2_interface_policy_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/provider/resource_aci_l2_interface_policy.go

Lines changed: 28 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/provider/resource_aci_l2_interface_policy_test.go

Lines changed: 15 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)