Skip to content

Commit db8e810

Browse files
akinrosslhercot
authored andcommitted
[ignore] change child attribute name in epg
1 parent f0af80d commit db8e810

File tree

8 files changed

+67
-65
lines changed

8 files changed

+67
-65
lines changed

docs/data-sources/application_epg.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ data "aci_application_epg" "example_application_profile" {
8888
* `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.
8989
* `key` (key) - (string) The key used to uniquely identify this configuration object.
9090
* `value` (value) - (string) The value of the property.
91-
* `relation_from_application_epg_to_attachable_access_entity_profiles` - (list) A list of Relation From Application EPG To Attachable Access Entity Profiles (ACI object [fvRsAepAtt](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsAepAtt/overview)) pointing to Attachable Access Entity Profile (ACI Object [infraAttEntityP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraAttEntityP/overview)). This attribute is supported in ACI versions: 6.1(3f) and later.
91+
* `relation_to_attachable_access_entity_profiles` - (list) A list of Relation From Application EPG To Attachable Access Entity Profiles (ACI object [fvRsAepAtt](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsAepAtt/overview)) pointing to Attachable Access Entity Profile (ACI Object [infraAttEntityP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraAttEntityP/overview)). This attribute is supported in ACI versions: 6.1(3f) and later.
9292
* `encapsulation` (encap) - (string) The encapsulation of the Relation From Application EPG To Attachable Access Entity Profile object. The encapsulation refers to the EPG VLAN when class preference is set to 'encap', or to the Secondary VLAN when class preference is set to 'useg'.
9393
* `deployment_immediacy` (instrImedcy) - (string) The deployment immediacy of the Relation From Application EPG To Attachable Access Entity Profile object. Specifies when the policy is pushed into the hardware policy content-addressable memory (CAM).
9494
* `mode` (mode) - (string) The mode of the Relation From Application EPG To Attachable Access Entity Profile object.

docs/resources/application_epg.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ resource "aci_application_epg" "full_example_application_profile" {
102102
}
103103
]
104104
}
105-
relation_from_application_epg_to_attachable_access_entity_profiles = [
105+
relation_to_attachable_access_entity_profiles = [
106106
{
107107
encapsulation = "vlan-100"
108108
deployment_immediacy = "immediate"
@@ -538,7 +538,7 @@ All examples for the Application EPG resource can be found in the [examples](htt
538538

539539
* `key` (key) - (string) The key used to uniquely identify this configuration object.
540540
* `value` (value) - (string) The value of the property.
541-
* `relation_from_application_epg_to_attachable_access_entity_profiles` - (list) A list of Relation From Application EPG To Attachable Access Entity Profiles (ACI object [fvRsAepAtt](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsAepAtt/overview)) pointing to Attachable Access Entity Profile (ACI Object [infraAttEntityP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraAttEntityP/overview)) which can be configured using the [aci_attachable_access_entity_profile](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/attachable_access_entity_profile) resource. This attribute is supported in ACI versions: 6.1(3f) and later.
541+
* `relation_to_attachable_access_entity_profiles` - (list) A list of Relation From Application EPG To Attachable Access Entity Profiles (ACI object [fvRsAepAtt](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsAepAtt/overview)) pointing to Attachable Access Entity Profile (ACI Object [infraAttEntityP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraAttEntityP/overview)) which can be configured using the [aci_attachable_access_entity_profile](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/attachable_access_entity_profile) resource. This attribute is supported in ACI versions: 6.1(3f) and later.
542542
#### Required ####
543543

544544
* `attachable_access_entity_profile_name` (tnInfraAttEntityPName) - (string) The name of the Attachable Access Entity Profile object. This attribute can be referenced from a [resource](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/attachable_access_entity_profile) with `aci_attachable_access_entity_profile.example.name` or from a [datasource](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/data-sources/attachable_access_entity_profile) with `data.aci_attachable_access_entity_profile.example.name`.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ resource "aci_application_epg" "full_example_application_profile" {
5454
}
5555
]
5656
}
57-
relation_from_application_epg_to_attachable_access_entity_profiles = [
57+
relation_to_attachable_access_entity_profiles = [
5858
{
5959
encapsulation = "vlan-100"
6060
deployment_immediacy = "immediate"

gen/definitions/properties.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,8 @@ infraRsDomP:
837837
name: "physical_domain_1"
838838

839839
fvRsAepAtt:
840+
overwrites:
841+
relation_from_application_epg_to_attachable_access_entity_profiles: "relation_to_attachable_access_entity_profiles"
840842
ignores:
841843
- "annotation"
842844
default_values:

gen/testvars/fvAEPg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ children:
136136
- key: "key_1"
137137
value: "test_value"
138138

139-
relation_from_application_epg_to_attachable_access_entity_profiles:
139+
relation_to_attachable_access_entity_profiles:
140140
- encapsulation: "vlan-100"
141141
deployment_immediacy: "immediate"
142142
mode: "native"

internal/provider/data_source_aci_application_epg.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_application_epg.go

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

0 commit comments

Comments
 (0)