Skip to content

Commit

Permalink
[ignore] Restore intent property for out_of_band_contract
Browse files Browse the repository at this point in the history
  • Loading branch information
akinross committed May 30, 2024
1 parent 9578474 commit 7bc427f
Show file tree
Hide file tree
Showing 9 changed files with 49 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/data-sources/out_of_band_contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ data "aci_out_of_band_contract" "example" {
* `id` - (string) The distinguished name (DN) of the Out Of Band Contract object.
* `annotation` (annotation) - (string) The annotation of the Out Of Band Contract object.
* `description` (descr) - (string) The description of the Out Of Band Contract object.
* `intent` (intent) - (string) The Install Rules or Estimate Number of Rules.
* `name_alias` (nameAlias) - (string) The name alias of the Out Of Band Contract 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.
Expand Down
4 changes: 4 additions & 0 deletions docs/resources/out_of_band_contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ The configuration snippet below shows all possible attributes of the Out Of Band
resource "aci_out_of_band_contract" "full_example" {
annotation = "annotation"
description = "description"
intent = "estimate_add"
name = "test_name"
name_alias = "name_alias"
owner_key = "owner_key"
Expand Down Expand Up @@ -88,6 +89,9 @@ All examples for the Out Of Band Contract resource can be found in the [examples
* `annotation` (annotation) - (string) The annotation of the Out Of Band Contract object.
- Default: `orchestrator:terraform`
* `description` (descr) - (string) The description of the Out Of Band Contract object.
* `intent` (intent) - (string) The Install Rules or Estimate Number of Rules.
- Default: `install`
- Valid Values: `estimate_add`, `estimate_delete`, `install`.
* `name_alias` (nameAlias) - (string) The name alias of the Out Of Band Contract 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
resource "aci_out_of_band_contract" "full_example" {
annotation = "annotation"
description = "description"
intent = "estimate_add"
name = "test_name"
name_alias = "name_alias"
owner_key = "owner_key"
Expand Down
9 changes: 7 additions & 2 deletions gen/definitions/properties.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ global:
Sid: "SR-MPLS Segment ID"
ignores:
- "userdom"
- "intent"

l3extRsRedistributePol:
overwrites:
Expand All @@ -53,6 +52,7 @@ vzOOBBrCP:
documentation:
prio: "The priority of the %s object."
targetDscp: "The target DSCP value of the %s object."
intent: "The Install Rules or Estimate Number of Rules"

mgmtSubnet:
test_values:
Expand Down Expand Up @@ -307,13 +307,17 @@ fvRsScope:
parent_dependency: "fvAp"

fvRsCons:
ignores:
- "intent"
parents:
- class_name: "fvESg"
parent_dependency: "fvAp"
- class_name: "fvAEPg"
parent_dependency: "fvAp"

fvRsProv:
ignores:
- "intent"
parents:
- class_name: "fvESg"
parent_dependency: "fvAp"
Expand All @@ -335,6 +339,8 @@ fvRsProtBy:
parent_dependency: "fvAp"

fvRsIntraEpg:
ignores:
- "intent"
parents:
- class_name: "fvESg"
parent_dependency: "fvAp"
Expand All @@ -351,7 +357,6 @@ fvRsSecInherited:
parent_dependency: "fvAp"
target_classes:
- "fvESg"

targets:
- class_name: "fvESg"
parent_dependency: "fvAp"
Expand Down
2 changes: 2 additions & 0 deletions gen/testvars/vzOOBBrCP.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
default:
annotation: "orchestrator:terraform"
description: ""
intent: "install"
name_alias: ""
owner_key: ""
owner_tag: ""
Expand All @@ -24,6 +25,7 @@ resource_required:
all:
annotation: "annotation"
description: "description"
intent: "estimate_add"
name_alias: "name_alias"
owner_key: "owner_key"
owner_tag: "owner_tag"
Expand Down
4 changes: 4 additions & 0 deletions internal/provider/data_source_aci_out_of_band_contract.go

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.

18 changes: 18 additions & 0 deletions internal/provider/resource_aci_out_of_band_contract.go

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

11 changes: 11 additions & 0 deletions internal/provider/resource_aci_out_of_band_contract_test.go

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

0 comments on commit 7bc427f

Please sign in to comment.