Skip to content

Commit

Permalink
[minor_change] Add relation_from_l3out_consumer_label_to_external_net…
Browse files Browse the repository at this point in the history
…work_instance_profile and relation_from_l3out_consumer_label_to_route_control_profile resources (DCNE-153) (#1277)
  • Loading branch information
sajagana authored Sep 6, 2024
1 parent 8058e84 commit 3b34aed
Show file tree
Hide file tree
Showing 55 changed files with 5,488 additions and 157 deletions.
25 changes: 17 additions & 8 deletions docs/data-sources/l3out_consumer_label.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ layout: "aci"
page_title: "ACI: aci_l3out_consumer_label"
sidebar_current: "docs-aci-data-source-aci_l3out_consumer_label"
description: |-
Data source for ACI L3out Consumer Label
Data source for ACI L3Out Consumer Label
---

# aci_l3out_consumer_label #

Data source for ACI L3out Consumer Label
Data source for ACI L3Out Consumer Label

## API Information ##

Expand Down Expand Up @@ -45,19 +45,28 @@ data "aci_l3out_consumer_label" "example_l3_outside" {

* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources:
- [aci_l3_outside](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/l3_outside) ([l3extOut](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l3extOut/overview))
* `name` (name) - (string) The name of the L3out Consumer Label object.
* `name` (name) - (string) The name of the L3Out Consumer Label object.

### Read-Only ###

* `id` - (string) The distinguished name (DN) of the L3out Consumer Label object.
* `annotation` (annotation) - (string) The annotation of the L3out Consumer Label object.
* `description` (descr) - (string) The description of the L3out Consumer Label object.
* `name_alias` (nameAlias) - (string) The name alias of the L3out Consumer Label object.
* `owner` (owner) - (string) The owner of the L3out Consumer Label object.
* `id` - (string) The distinguished name (DN) of the L3Out Consumer Label object.
* `annotation` (annotation) - (string) The annotation of the L3Out Consumer Label object.
* `description` (descr) - (string) The description of the L3Out Consumer Label object.
* `name_alias` (nameAlias) - (string) The name alias of the L3Out Consumer Label object.
* `owner` (owner) - (string) The owner of the L3Out Consumer Label object.
* `owner_key` (ownerKey) - (string) The key for enabling clients to own their data for entity correlation.
* `owner_tag` (ownerTag) - (string) A tag for enabling clients to add their own data. For example, to indicate who created this object.
* `tag` (tag) - (string) Specifies the color of a policy label.

* `relation_to_external_epgs` - (list) A list of Relation From L3Out Consumer Label To External EPGs (ACI object [l3extRsLblToInstP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l3extRsLblToInstP/overview)) pointing to External EPG (ACI Object [l3extInstP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l3extInstP/overview)). This attribute is supported in ACI versions: 5.0(1k) and later.
* `annotation` (annotation) - (string) The annotation of the Relation From L3Out Consumer Label To External EPG object.
* `target_dn` (tDn) - (string) The distinguished name (DN) of the External EPG object.

* `relation_to_route_control_profiles` - (list) A list of Relation From L3Out Consumer Label To Route Control Profiles (ACI object [l3extRsLblToProfile](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l3extRsLblToProfile/overview)) pointing to Route Control Profile (ACI Object [rtctrlProfile](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/rtctrlProfile/overview)). This attribute is supported in ACI versions: 5.0(1k) and later.
* `annotation` (annotation) - (string) The annotation of the Relation From L3Out Consumer Label To Route Control Profile object.
* `direction` (direction) - (string) The connector direction.
* `target_dn` (tDn) - (string) The distinguished name (DN) of the Route Control Profile object.

* `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.
* `key` (key) - (string) The key used to uniquely identify this configuration object.
* `value` (value) - (string) The value of the property.
Expand Down
18 changes: 9 additions & 9 deletions docs/data-sources/l3out_node_sid_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ layout: "aci"
page_title: "ACI: aci_l3out_node_sid_profile"
sidebar_current: "docs-aci-data-source-aci_l3out_node_sid_profile"
description: |-
Data source for ACI L3out Node SR-MPLS Segment ID Profile
Data source for ACI L3Out Node SR-MPLS Segment ID Profile
---

# aci_l3out_node_sid_profile #

Data source for ACI L3out Node SR-MPLS Segment ID Profile
Data source for ACI L3Out Node SR-MPLS Segment ID Profile

## API Information ##

Expand Down Expand Up @@ -43,16 +43,16 @@ data "aci_l3out_node_sid_profile" "example_l3out_loopback_interface_profile" {

* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources:
- [aci_l3out_loopback_interface_profile](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/l3out_loopback_interface_profile) ([l3extLoopBackIfP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l3extLoopBackIfP/overview))
* `segment_id` (sidoffset) - (string) The segment ID of the L3out Node SR-MPLS Segment ID Profile object.
* `segment_id` (sidoffset) - (string) The segment ID of the L3Out Node SR-MPLS Segment ID Profile object.

### Read-Only ###

* `id` - (string) The distinguished name (DN) of the L3out Node SR-MPLS Segment ID Profile object.
* `annotation` (annotation) - (string) The annotation of the L3out Node SR-MPLS Segment ID Profile object.
* `description` (descr) - (string) The description of the L3out Node SR-MPLS Segment ID Profile object.
* `loopback_address` (loopbackAddr) - (string) The loopback address of the L3out Node SR-MPLS Segment ID Profile object.
* `name` (name) - (string) The name of the L3out Node SR-MPLS Segment ID Profile object.
* `name_alias` (nameAlias) - (string) The name alias of the L3out Node SR-MPLS Segment ID Profile object.
* `id` - (string) The distinguished name (DN) of the L3Out Node SR-MPLS Segment ID Profile object.
* `annotation` (annotation) - (string) The annotation of the L3Out Node SR-MPLS Segment ID Profile object.
* `description` (descr) - (string) The description of the L3Out Node SR-MPLS Segment ID Profile object.
* `loopback_address` (loopbackAddr) - (string) The loopback address of the L3Out Node SR-MPLS Segment ID Profile object.
* `name` (name) - (string) The name of the L3Out Node SR-MPLS Segment ID Profile object.
* `name_alias` (nameAlias) - (string) The name alias of the L3Out Node SR-MPLS Segment ID Profile object.

* `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.
* `key` (key) - (string) The key used to uniquely identify this configuration object.
Expand Down
14 changes: 7 additions & 7 deletions docs/data-sources/l3out_provider_label.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ layout: "aci"
page_title: "ACI: aci_l3out_provider_label"
sidebar_current: "docs-aci-data-source-aci_l3out_provider_label"
description: |-
Data source for ACI L3out Provider Label
Data source for ACI L3Out Provider Label
---

# aci_l3out_provider_label #

Data source for ACI L3out Provider Label
Data source for ACI L3Out Provider Label

## API Information ##

Expand Down Expand Up @@ -43,14 +43,14 @@ data "aci_l3out_provider_label" "example_l3_outside" {

* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources:
- [aci_l3_outside](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/l3_outside) ([l3extOut](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l3extOut/overview))
* `name` (name) - (string) The name of the L3out Provider Label object.
* `name` (name) - (string) The name of the L3Out Provider Label object.

### Read-Only ###

* `id` - (string) The distinguished name (DN) of the L3out Provider Label object.
* `annotation` (annotation) - (string) The annotation of the L3out Provider Label object.
* `description` (descr) - (string) The description of the L3out Provider Label object.
* `name_alias` (nameAlias) - (string) The name alias of the L3out Provider Label object.
* `id` - (string) The distinguished name (DN) of the L3Out Provider Label object.
* `annotation` (annotation) - (string) The annotation of the L3Out Provider Label object.
* `description` (descr) - (string) The description of the L3Out Provider Label object.
* `name_alias` (nameAlias) - (string) The name alias of the L3Out Provider Label object.
* `owner_key` (ownerKey) - (string) The key for enabling clients to own their data for entity correlation.
* `owner_tag` (ownerTag) - (string) A tag for enabling clients to add their own data. For example, to indicate who created this object.
* `tag` (tag) - (string) Specifies the color of a policy label.
Expand Down
10 changes: 5 additions & 5 deletions docs/data-sources/l3out_redistribute_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ layout: "aci"
page_title: "ACI: aci_l3out_redistribute_policy"
sidebar_current: "docs-aci-data-source-aci_l3out_redistribute_policy"
description: |-
Data source for ACI L3out Redistribute Policy
Data source for ACI L3Out Redistribute Policy
---

# aci_l3out_redistribute_policy #

Data source for ACI L3out Redistribute Policy
Data source for ACI L3Out Redistribute Policy

## API Information ##

Expand Down Expand Up @@ -44,14 +44,14 @@ data "aci_l3out_redistribute_policy" "example_l3_outside" {

* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources:
- [aci_l3_outside](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/l3_outside) ([l3extOut](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l3extOut/overview))
* `source` (src) - (string) The source of the L3out Redistribute Policy object.
* `source` (src) - (string) The source of the L3Out Redistribute Policy object.
- Valid Values: `attached-host`, `direct`, `static`.
* `route_control_profile_name` (tnRtctrlProfileName) - (string) The name of the Route Control Profile object. This attribute can be referenced from a [resource](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/route_control_profile) with `aci_route_control_profile.example.name` or from a [datasource](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/data-sources/route_control_profile) with `data.aci_route_control_profile.example.name`.

### Read-Only ###

* `id` - (string) The distinguished name (DN) of the L3out Redistribute Policy object.
* `annotation` (annotation) - (string) The annotation of the L3out Redistribute Policy object.
* `id` - (string) The distinguished name (DN) of the L3Out Redistribute Policy object.
* `annotation` (annotation) - (string) The annotation of the L3Out Redistribute Policy object.

* `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.
* `key` (key) - (string) The key used to uniquely identify this configuration object.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
# Documentation generated by "gen/generator.go"; DO NOT EDIT.
# In order to regenerate this file execute `go generate` from the repository root.
# More details can be found in the [README](https://github.com/CiscoDevNet/terraform-provider-aci/blob/master/README.md).
subcategory: "L3Out"
layout: "aci"
page_title: "ACI: aci_relation_from_l3out_consumer_label_to_external_epg"
sidebar_current: "docs-aci-data-source-aci_relation_from_l3out_consumer_label_to_external_epg"
description: |-
Data source for ACI Relation From L3Out Consumer Label To External EPG
---

# aci_relation_from_l3out_consumer_label_to_external_epg #

Data source for ACI Relation From L3Out Consumer Label To External EPG

## API Information ##

* Class: [l3extRsLblToInstP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l3extRsLblToInstP/overview)

* Supported in ACI versions: 5.0(1k) and later.

* Distinguished Name Format: `uni/tn-{name}/out-{name}/conslbl-{name}/rslblToInstP-[{tDn}]`

## GUI Information ##

* Location: `Tenants -> Networking -> L3Outs -> Policy -> Main -> Consumer Label`

## Example Usage ##

```hcl
data "aci_relation_from_l3out_consumer_label_to_external_epg" "example_l3out_consumer_label" {
parent_dn = aci_l3out_consumer_label.example.id
target_dn = "uni/tn-example_tenant/out-example_l3_outside/instP-inst_profile_2"
}
```

## Schema ##

### Required ###

* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources:
- [aci_l3out_consumer_label](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/l3out_consumer_label) ([l3extConsLbl](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l3extConsLbl/overview))
- The distinguished name (DN) of classes below can be used but currently there is no available resource for it:
- [l3extConsLblDef](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l3extConsLblDef/overview)

* `target_dn` (tDn) - (string) The distinguished name (DN) of the External EPG object.

### Read-Only ###

* `id` - (string) The distinguished name (DN) of the Relation From L3Out Consumer Label To External EPG object.
* `annotation` (annotation) - (string) The annotation of the Relation From L3Out Consumer Label To External EPG object.

* `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.
* `key` (key) - (string) The key used to uniquely identify this configuration object.
* `value` (value) - (string) The value of the property.

* `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.
* `key` (key) - (string) The key used to uniquely identify this configuration object.
* `value` (value) - (string) The value of the property.
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
# Documentation generated by "gen/generator.go"; DO NOT EDIT.
# In order to regenerate this file execute `go generate` from the repository root.
# More details can be found in the [README](https://github.com/CiscoDevNet/terraform-provider-aci/blob/master/README.md).
subcategory: "L3Out"
layout: "aci"
page_title: "ACI: aci_relation_from_l3out_consumer_label_to_route_control_profile"
sidebar_current: "docs-aci-data-source-aci_relation_from_l3out_consumer_label_to_route_control_profile"
description: |-
Data source for ACI Relation From L3Out Consumer Label To Route Control Profile
---

# aci_relation_from_l3out_consumer_label_to_route_control_profile #

Data source for ACI Relation From L3Out Consumer Label To Route Control Profile

## API Information ##

* Class: [l3extRsLblToProfile](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l3extRsLblToProfile/overview)

* Supported in ACI versions: 5.0(1k) and later.

* Distinguished Name Format: `uni/tn-{name}/out-{name}/conslbl-{name}/rslblToProfile-[{tDn}]-{direction}`

## GUI Information ##

* Location: `Tenants -> Networking -> L3Outs -> Policy -> Main -> Consumer Label`

## Example Usage ##

```hcl
data "aci_relation_from_l3out_consumer_label_to_route_control_profile" "example_l3out_consumer_label" {
parent_dn = aci_l3out_consumer_label.example.id
direction = "import"
target_dn = "uni/tn-example_tenant/prof-rt_ctrl_profile_2"
}
```

## Schema ##

### Required ###

* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources:
- [aci_l3out_consumer_label](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/l3out_consumer_label) ([l3extConsLbl](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l3extConsLbl/overview))
- The distinguished name (DN) of classes below can be used but currently there is no available resource for it:
- [l3extConsLblDef](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/l3extConsLblDef/overview)

* `direction` (direction) - (string) The connector direction.
- Valid Values: `export`, `import`.
* `target_dn` (tDn) - (string) The distinguished name (DN) of the Route Control Profile object.

### Read-Only ###

* `id` - (string) The distinguished name (DN) of the Relation From L3Out Consumer Label To Route Control Profile object.
* `annotation` (annotation) - (string) The annotation of the Relation From L3Out Consumer Label To Route Control Profile object.

* `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.
* `key` (key) - (string) The key used to uniquely identify this configuration object.
* `value` (value) - (string) The value of the property.

* `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.
* `key` (key) - (string) The key used to uniquely identify this configuration object.
* `value` (value) - (string) The value of the property.
Loading

0 comments on commit 3b34aed

Please sign in to comment.