Skip to content

Commit 772c01e

Browse files
committed
[minor_change] Add resources and datasources for multisite translation mapping classes fvSiteAssociated and fvRemoteId
1 parent c7e11cc commit 772c01e

31 files changed

+6568
-1
lines changed

docs/data-sources/associated_site.md

+92
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
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: "Multi-Site"
6+
layout: "aci"
7+
page_title: "ACI: aci_associated_site"
8+
sidebar_current: "docs-aci-data-source-aci_associated_site"
9+
description: |-
10+
Data source for ACI Associated Site
11+
---
12+
13+
# aci_associated_site #
14+
15+
Data source for ACI Associated Site
16+
17+
## API Information ##
18+
19+
* Class: [fvSiteAssociated](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvSiteAssociated/overview)
20+
21+
* Supported in ACI versions: 3.0(1k) and later.
22+
23+
* Distinguished Name Formats:
24+
- `uni/tn-{name}/BD-{name}/stAsc`
25+
- `uni/tn-{name}/ap-{name}/epg-{name}/stAsc`
26+
- `uni/tn-{name}/ctx-{name}/stAsc`
27+
- `uni/tn-{name}/mscGraphXlateCont/epgDefXlate-[{epgDefDn}]/stAsc`
28+
- `uni/tn-{name}/out-{name}/instP-{name}/stAsc`
29+
30+
## GUI Information ##
31+
32+
* Location: `Not shown in UI`
33+
34+
## Example Usage ##
35+
36+
```hcl
37+
38+
data "aci_associated_site" "example_application_epg" {
39+
parent_dn = aci_application_epg.example.id
40+
}
41+
42+
data "aci_associated_site" "example_bridge_domain" {
43+
parent_dn = aci_bridge_domain.example.id
44+
}
45+
46+
```
47+
48+
## Schema ##
49+
50+
### Required ###
51+
52+
* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources:
53+
- [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))
54+
- [aci_bridge_domain](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/bridge_domain) ([fvBD](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvBD/overview))
55+
- [aci_vrf](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/vrf) ([fvCtx](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvCtx/overview))
56+
- [aci_external_network_instance_profile](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/external_network_instance_profile) ([l3extInstP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l3extInstP/overview))
57+
- The distinguished name (DN) of classes below can be used but currently there is no available resource for it:
58+
- [vnsEpgDefXlate](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/vnsEpgDefXlate/overview)
59+
60+
61+
### Read-Only ###
62+
63+
* `id` - (string) The distinguished name (DN) of the Associated Site object.
64+
* `annotation` (annotation) - (string) The annotation of the Associated Site object.
65+
* `description` (descr) - (string) The description of the Associated Site object.
66+
* `name` (name) - (string) The name of the Associated Site object.
67+
* `name_alias` (nameAlias) - (string) The name alias of the Associated Site object.
68+
* `owner_key` (ownerKey) - (string) The key for enabling clients to own their data for entity correlation.
69+
* `owner_tag` (ownerTag) - (string) A tag for enabling clients to add their own data. For example, to indicate who created this object.
70+
* `site_id` (siteId) - (string) The primary site associated with the object.
71+
* `remote_sites` - (list) A list of Remote Sites (ACI object [fvRemoteId](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRemoteId/overview)).
72+
* `annotation` (annotation) - (string) The annotation of the Remote Site object.
73+
* `description` (descr) - (string) The description of the Remote Site object.
74+
* `name` (name) - (string) The name of the Remote Site object.
75+
* `name_alias` (nameAlias) - (string) The name alias of the Remote Site object.
76+
* `owner_key` (ownerKey) - (string) The key for enabling clients to own their data for entity correlation.
77+
* `owner_tag` (ownerTag) - (string) A tag for enabling clients to add their own data. For example, to indicate who created this object.
78+
* `remote_vrf_pc_tag` (remoteCtxPcTag) - (string) The policy class tag (pcTag) of the remote VRF. This attribute can only be present when the object for site association is a VRF.
79+
* `remote_pc_tag` (remotePcTag) - (string) The policy class tag (pcTag) of the remote object.
80+
* `site_id` (siteId) - (string) The remote site that is associated with the object of the primary site.
81+
* `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.
82+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
83+
* `value` (value) - (string) The value of the property.
84+
* `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.
85+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
86+
* `value` (value) - (string) The value of the property.
87+
* `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.
88+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
89+
* `value` (value) - (string) The value of the property.
90+
* `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.
91+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
92+
* `value` (value) - (string) The value of the property.

docs/data-sources/remote_site.md

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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: "Multi-Site"
6+
layout: "aci"
7+
page_title: "ACI: aci_remote_site"
8+
sidebar_current: "docs-aci-data-source-aci_remote_site"
9+
description: |-
10+
Data source for ACI Remote Site
11+
---
12+
13+
# aci_remote_site #
14+
15+
Data source for ACI Remote Site
16+
17+
## API Information ##
18+
19+
* Class: [fvRemoteId](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRemoteId/overview)
20+
21+
* Supported in ACI versions: 3.0(1k) and later.
22+
23+
* Distinguished Name Formats:
24+
- `uni/tn-{name}/BD-{name}/stAsc/site-{siteId}`
25+
- `uni/tn-{name}/ap-{name}/epg-{name}/stAsc/site-{siteId}`
26+
- `uni/tn-{name}/ctx-{name}/stAsc/site-{siteId}`
27+
- `uni/tn-{name}/mscGraphXlateCont/epgDefXlate-[{epgDefDn}]/stAsc/site-{siteId}`
28+
- `uni/tn-{name}/out-{name}/instP-{name}/stAsc/site-{siteId}`
29+
30+
## GUI Information ##
31+
32+
* Location: `Not shown in UI`
33+
34+
## Example Usage ##
35+
36+
```hcl
37+
38+
data "aci_remote_site" "example_associated_site" {
39+
parent_dn = aci_associated_site.example.id
40+
site_id = "0"
41+
}
42+
43+
```
44+
45+
## Schema ##
46+
47+
### Required ###
48+
49+
* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources:
50+
- [aci_associated_site](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/associated_site) ([fvSiteAssociated](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvSiteAssociated/overview))
51+
* `site_id` (siteId) - (string) The remote site that is associated with the object of the primary site.
52+
53+
### Read-Only ###
54+
55+
* `id` - (string) The distinguished name (DN) of the Remote Site object.
56+
* `annotation` (annotation) - (string) The annotation of the Remote Site object.
57+
* `description` (descr) - (string) The description of the Remote Site object.
58+
* `name` (name) - (string) The name of the Remote Site object.
59+
* `name_alias` (nameAlias) - (string) The name alias of the Remote Site object.
60+
* `owner_key` (ownerKey) - (string) The key for enabling clients to own their data for entity correlation.
61+
* `owner_tag` (ownerTag) - (string) A tag for enabling clients to add their own data. For example, to indicate who created this object.
62+
* `remote_vrf_pc_tag` (remoteCtxPcTag) - (string) The policy class tag (pcTag) of the remote VRF. This attribute can only be present when the object for site association is a VRF.
63+
* `remote_pc_tag` (remotePcTag) - (string) The policy class tag (pcTag) of the remote object.
64+
* `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.
65+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
66+
* `value` (value) - (string) The value of the property.
67+
* `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.
68+
* `key` (key) - (string) The key used to uniquely identify this configuration object.
69+
* `value` (value) - (string) The value of the property.

docs/resources/application_epg.md

+4
Original file line numberDiff line numberDiff line change
@@ -855,3 +855,7 @@ import {
855855
to = aci_application_epg.example_application_profile
856856
}
857857
```
858+
859+
## Child Resources
860+
861+
- [aci_associated_site](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/associated_site)

0 commit comments

Comments
 (0)