Skip to content

Commit f0af80d

Browse files
akinrosslhercot
authored andcommitted
[minor_change] Migrate resource and datasource aci_attachable_access_entity_profile to terraform plugin framework and add resource and datasource for aci_relation_from_attachable_access_entity_profile_to_domain
1 parent bbb98ee commit f0af80d

File tree

53 files changed

+6089
-272
lines changed

Some content is hidden

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

53 files changed

+6089
-272
lines changed

docs/data-sources/application_epg.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,12 @@ 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 (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.
92-
* `annotation` (annotation) - (string) The annotation of the Relation From Application EPG To Attachable Access Entity Profile object.
93-
* `encapsulation` (encap) - (string) The port encapsulation.
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.
92+
* `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'.
9493
* `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).
95-
* `mode` (mode) - (string) The BGP Domain mode.
96-
* `primary_encapsulation` (primaryEncap) - (string) primaryEncap.
97-
* `tn_infra_att_entity_p_name` (tnInfraAttEntityPName) - (string) Name.
94+
* `mode` (mode) - (string) The mode of the Relation From Application EPG To Attachable Access Entity Profile object.
95+
* `primary_encapsulation` (primaryEncap) - (string) The primary encapsulation of the Relation From Application EPG To Attachable Access Entity Profile object. This is used when the class preference is set to 'useg'.
96+
* `attachable_access_entity_profile_name` (tnInfraAttEntityPName) - (string) The name of the Attachable Access Entity Profile object.
9897
* `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.
9998
* `key` (key) - (string) The key used to uniquely identify this configuration object.
10099
* `value` (value) - (string) The value of the property.
@@ -150,7 +149,7 @@ data "aci_application_epg" "example_application_profile" {
150149
* `class_preference` (classPref) - (string) The class preference of the Relation To Domain object. Set 'useg' to allow microsegmentation. This attribute is supported in ACI versions: 1.2(2g) and later.
151150
* `custom_epg_name` (customEpgName) - (string) The display name of the user configured port-group. This attribute is supported in ACI versions: 4.2(3j) and later.
152151
* `delimiter` (delimiter) - (string) The delimiter of the Relation To Domain object. This attribute is supported in ACI versions: 2.0(1m) and later.
153-
* `encapsulation` (encap) - (string) The encapsulation of the Relation To Domain 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'. This attribute is supported in ACI versions: 1.1(1j) and later.
152+
* `encapsulation` (encap) - (string) The encapsulation of the Relation To Domain 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'. This attribute is supported in ACI versions: 1.1(1j) and later.
154153
* `encapsulation_mode` (encapMode) - (string) The encapsulation mode of the Relation To Domain object. This attribute is supported in ACI versions: 2.1(1h) and later.
155154
* `epg_cos` (epgCos) - (string) The class of service (CoS) of the Relation To Domain object. This attribute is supported in ACI versions: 3.0(1k) and later.
156155
* `epg_cos_pref` (epgCosPref) - (string) The class of service (CoS) preference of the Relation To Domain object. This attribute is supported in ACI versions: 3.0(1k) and later.
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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: "Access Policies"
6+
layout: "aci"
7+
page_title: "ACI: aci_attachable_access_entity_profile"
8+
sidebar_current: "docs-aci-data-source-aci_attachable_access_entity_profile"
9+
description: |-
10+
Data source for ACI Attachable Access Entity Profile
11+
---
12+
13+
# aci_attachable_access_entity_profile #
14+
15+
Data source for ACI Attachable Access Entity Profile
16+
17+
## API Information ##
18+
19+
* Class: [infraAttEntityP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraAttEntityP/overview)
20+
21+
* Supported in ACI versions: 1.0(1e) and later.
22+
23+
* Distinguished Name Format: `uni/infra/attentp-{name}`
24+
25+
## GUI Information ##
26+
27+
* Location: `Fabric -> Access Policies -> Policies -> Global -> Attachable Access Entity Profiles`
28+
29+
## Example Usage ##
30+
31+
```hcl
32+
33+
data "aci_attachable_access_entity_profile" "example" {
34+
name = "test_name"
35+
}
36+
37+
```
38+
39+
## Schema ##
40+
41+
### Required ###
42+
43+
* `name` (name) - (string) The name of the Attachable Access Entity Profile object.
44+
45+
### Read-Only ###
46+
47+
* `id` - (string) The distinguished name (DN) of the Attachable Access Entity Profile object.
48+
* `annotation` (annotation) - (string) The annotation of the Attachable Access Entity Profile object. This attribute is supported in ACI versions: 3.2(1l) and later.
49+
* `description` (descr) - (string) The description of the Attachable Access Entity Profile object.
50+
* `name_alias` (nameAlias) - (string) The name alias of the Attachable Access Entity Profile object. This attribute is supported in ACI versions: 2.2(1k) and later.
51+
* `owner_key` (ownerKey) - (string) The key for enabling clients to own their data for entity correlation.
52+
* `owner_tag` (ownerTag) - (string) A tag for enabling clients to add their own data. For example, to indicate who created this object.
53+
54+
* `relation_to_domains` - (list) A list of Relation From Attachable Access Entity Profile To Domains (ACI object [infraRsDomP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraRsDomP/overview)). This relation can point to multiple ACI objects:
55+
- [vmmDomP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/vmmDomP/overview).
56+
- [physDomP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/physDomP/overview).
57+
- [fcDomP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fcDomP/overview).
58+
- [l2extDomP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l2extDomP/overview).
59+
* `annotation` (annotation) - (string) The annotation of the Relation From Attachable Access Entity Profile To Domain object. This attribute is supported in ACI versions: 3.2(1l) and later.
60+
* `target_dn` (tDn) - (string) The distinguished name of the target Domain object.
61+
* `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.
62+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
63+
* `value` (value) - (string) The value of the property.
64+
* `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.
65+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
66+
* `value` (value) - (string) The value of the property.
67+
* `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.
68+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
69+
* `value` (value) - (string) The value of the property.
70+
* `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.
71+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
72+
* `value` (value) - (string) The value of the property.

docs/data-sources/relation_from_application_epg_to_attachable_access_entity_profile.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ Data source for ACI Relation From Application EPG To Attachable Access Entity Pr
3131
```hcl
3232
3333
data "aci_relation_from_application_epg_to_attachable_access_entity_profile" "example_application_epg" {
34-
parent_dn = aci_application_epg.example.id
35-
tn_infra_att_entity_p_name = aci_.example.name
34+
parent_dn = aci_application_epg.example.id
35+
attachable_access_entity_profile_name = aci_attachable_access_entity_profile.example.name
3636
}
3737
3838
```
@@ -43,16 +43,15 @@ data "aci_relation_from_application_epg_to_attachable_access_entity_profile" "ex
4343

4444
* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources:
4545
- [aci_application_epg](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/application_epg) ([fvAEPg](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvAEPg/overview))
46-
* `tn_infra_att_entity_p_name` (tnInfraAttEntityPName) - (string) Name. This attribute can be referenced from a [resource](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/) with `aci_.example.name` or from a [datasource](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/data-sources/) with `data.aci_.example.name`.
46+
* `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`.
4747

4848
### Read-Only ###
4949

5050
* `id` - (string) The distinguished name (DN) of the Relation From Application EPG To Attachable Access Entity Profile object.
51-
* `annotation` (annotation) - (string) The annotation of the Relation From Application EPG To Attachable Access Entity Profile object.
52-
* `encapsulation` (encap) - (string) The port encapsulation.
51+
* `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'.
5352
* `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).
54-
* `mode` (mode) - (string) The BGP Domain mode.
55-
* `primary_encapsulation` (primaryEncap) - (string) primaryEncap.
53+
* `mode` (mode) - (string) The mode of the Relation From Application EPG To Attachable Access Entity Profile object.
54+
* `primary_encapsulation` (primaryEncap) - (string) The primary encapsulation of the Relation From Application EPG To Attachable Access Entity Profile object. This is used when the class preference is set to 'useg'.
5655
* `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.
5756
* `key` (key) - (string) The key used to uniquely identify this configuration object.
5857
* `value` (value) - (string) The value of the property.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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: "Access Policies"
6+
layout: "aci"
7+
page_title: "ACI: aci_relation_from_attachable_access_entity_profile_to_domain"
8+
sidebar_current: "docs-aci-data-source-aci_relation_from_attachable_access_entity_profile_to_domain"
9+
description: |-
10+
Data source for ACI Relation From Attachable Access Entity Profile To Domain
11+
---
12+
13+
# aci_relation_from_attachable_access_entity_profile_to_domain #
14+
15+
Data source for ACI Relation From Attachable Access Entity Profile To Domain
16+
17+
## API Information ##
18+
19+
* Class: [infraRsDomP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraRsDomP/overview)
20+
21+
* Supported in ACI versions: 1.0(1e) and later.
22+
23+
* Distinguished Name Format: `uni/infra/attentp-{name}/rsdomP-[{tDn}]`
24+
25+
## GUI Information ##
26+
27+
* Location: `Fabric -> Access Policies -> Policies -> Global -> Attachable Access Entity Profiles -> Domains`
28+
29+
## Example Usage ##
30+
31+
```hcl
32+
33+
data "aci_relation_from_attachable_access_entity_profile_to_domain" "example_attachable_access_entity_profile" {
34+
parent_dn = aci_attachable_access_entity_profile.example.id
35+
target_dn = aci_physical_domain.example.id
36+
}
37+
38+
```
39+
40+
## Schema ##
41+
42+
### Required ###
43+
44+
* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources:
45+
- [aci_attachable_access_entity_profile](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/attachable_access_entity_profile) ([infraAttEntityP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraAttEntityP/overview))
46+
* `target_dn` (tDn) - (string) The distinguished name of the target Domain object.
47+
48+
### Read-Only ###
49+
50+
* `id` - (string) The distinguished name (DN) of the Relation From Attachable Access Entity Profile To Domain object.
51+
* `annotation` (annotation) - (string) The annotation of the Relation From Attachable Access Entity Profile To Domain object. This attribute is supported in ACI versions: 3.2(1l) and later.
52+
* `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.
53+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
54+
* `value` (value) - (string) The value of the property.
55+
* `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.
56+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
57+
* `value` (value) - (string) The value of the property.

docs/data-sources/relation_to_domain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ data "aci_relation_to_domain" "example_application_epg" {
5353
* `class_preference` (classPref) - (string) The class preference of the Relation To Domain object. Set 'useg' to allow microsegmentation. This attribute is supported in ACI versions: 1.2(2g) and later.
5454
* `custom_epg_name` (customEpgName) - (string) The display name of the user configured port-group. This attribute is supported in ACI versions: 4.2(3j) and later.
5555
* `delimiter` (delimiter) - (string) The delimiter of the Relation To Domain object. This attribute is supported in ACI versions: 2.0(1m) and later.
56-
* `encapsulation` (encap) - (string) The encapsulation of the Relation To Domain 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'. This attribute is supported in ACI versions: 1.1(1j) and later.
56+
* `encapsulation` (encap) - (string) The encapsulation of the Relation To Domain 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'. This attribute is supported in ACI versions: 1.1(1j) and later.
5757
* `encapsulation_mode` (encapMode) - (string) The encapsulation mode of the Relation To Domain object. This attribute is supported in ACI versions: 2.1(1h) and later.
5858
* `epg_cos` (epgCos) - (string) The class of service (CoS) of the Relation To Domain object. This attribute is supported in ACI versions: 3.0(1k) and later.
5959
* `epg_cos_pref` (epgCosPref) - (string) The class of service (CoS) preference of the Relation To Domain object. This attribute is supported in ACI versions: 3.0(1k) and later.

0 commit comments

Comments
 (0)