Skip to content

Commit

Permalink
[minor_changes] Fixed more documentation for fvRemoteId
Browse files Browse the repository at this point in the history
  • Loading branch information
abrahammughal committed Jun 10, 2024
1 parent 0153650 commit 74094a3
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 33 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/remote_site_id_mappings.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ data "aci_remote_site_id_mappings" "example_associated_site" {
* `name_alias` (nameAlias) - (string) The name alias of the Remote Site Id Mappings 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.
* `remote_ctx_pc_tag` (remoteCtxPcTag) - (string) Remote context's *pcTag*, mapping required for default route case.
* `remote_vrf_pc_tag` (remoteCtxPcTag) - (string) Remote context's *pcTag*, mapping required for default route case.
* `remote_pc_tag` (remotePcTag) - (string) Remote Class ID.

* `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.
Expand Down
6 changes: 3 additions & 3 deletions docs/resources/remote_site_id_mappings.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ resource "aci_remote_site_id_mappings" "full_example_associated_site" {
name_alias = "name_alias"
owner_key = "owner_key"
owner_tag = "owner_tag"
remote_ctx_pc_tag = "remote_ctx_pc_tag"
remote_pc_tag = "remote_pc_tag"
remote_vrf_pc_tag = "0"
remote_pc_tag = "0"
site_id = "0"
annotations = [
{
Expand Down Expand Up @@ -96,7 +96,7 @@ All examples for the Remote Site Id Mappings resource can be found in the [examp
* `name_alias` (nameAlias) - (string) The name alias of the Remote Site Id Mappings 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.
* `remote_ctx_pc_tag` (remoteCtxPcTag) - (string) Remote context's *pcTag*, mapping required for default route case.
* `remote_vrf_pc_tag` (remoteCtxPcTag) - (string) Remote context's *pcTag*, mapping required for default route case.
- Valid Values: `any`.
* `remote_pc_tag` (remotePcTag) - (string) Remote Class ID.
- Valid Values: `any`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ resource "aci_remote_site_id_mappings" "full_example_associated_site" {
name_alias = "name_alias"
owner_key = "owner_key"
owner_tag = "owner_tag"
remote_ctx_pc_tag = "remote_ctx_pc_tag"
remote_pc_tag = "remote_pc_tag"
remote_vrf_pc_tag = "0"
remote_pc_tag = "0"
site_id = "0"
annotations = [
{
Expand Down
7 changes: 6 additions & 1 deletion gen/definitions/properties.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,18 @@ fvSiteAssociated:
fvRemoteId:
overwrites:
siteId: "site_id"
remote_ctx_pc_tag: "remote_vrf_pc_tag"
documentation:
siteId: "A number between 0 and 1000 to identify the remote site being associated with the primary site"
test_values:
all:
site_id: "0"
site_id: "0"
remote_vrf_pc_tag: "0"
remote_pc_tag: "0"
default:
site_id: "0"
remote_vrf_pc_tag: "0"
remote_pc_tag: "0"
resource_required:
site_id: "0"
resource_required:
Expand Down
8 changes: 4 additions & 4 deletions gen/testvars/fvRemoteId.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ default:
name_alias: ""
owner_key: ""
owner_tag: ""
remote_ctx_pc_tag: ""
remote_pc_tag: ""
remote_vrf_pc_tag: "0"
remote_pc_tag: "0"
site_id: "0"

datasource_non_existing:
Expand All @@ -29,8 +29,8 @@ all:
name_alias: "name_alias"
owner_key: "owner_key"
owner_tag: "owner_tag"
remote_ctx_pc_tag: "remote_ctx_pc_tag"
remote_pc_tag: "remote_pc_tag"
remote_vrf_pc_tag: "0"
remote_pc_tag: "0"
site_id: "0"

children:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions internal/provider/provider.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion internal/provider/resource_aci_associated_site.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/provider/resource_aci_remote_site_id_mappings.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions internal/provider/resource_aci_remote_site_id_mappings_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 74094a3

Please sign in to comment.