Skip to content

Commit c5ac90b

Browse files
akinrosslhercot
authored andcommitted
[ignore] change relationship of monitoring policy for ap, bd and epg resource to be consistent
1 parent ebf639a commit c5ac90b

27 files changed

+367
-363
lines changed

docs/data-sources/application_epg.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ data "aci_application_epg" "example_application_profile" {
7979
* `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.
8080
* `key` (key) - (string) The key used to uniquely identify this configuration object.
8181
* `value` (value) - (string) The value of the property.
82-
* `relation_to_application_epg_monitoring_policy` - (map) A map of Relation To Application EPG Monitoring Policy (ACI object [fvRsAEPgMonPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsAEPgMonPol/overview)) pointing to Monitoring Policy (ACI Object [monEPGPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/monEPGPol/overview)).
83-
* `annotation` (annotation) - (string) The annotation of the Relation To Application EPG Monitoring Policy object.
82+
* `relation_to_monitoring_policy` - (map) A map of Relation From Application EPG To Monitoring Policy (ACI object [fvRsAEPgMonPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsAEPgMonPol/overview)) pointing to Monitoring Policy (ACI Object [monEPGPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/monEPGPol/overview)).
83+
* `annotation` (annotation) - (string) The annotation of the Relation From Application EPG To Monitoring Policy object.
8484
* `monitoring_policy_name` (tnMonEPGPolName) - (string) The name of the monitoring policy.
8585
* `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.
8686
* `key` (key) - (string) The key used to uniquely identify this configuration object.

docs/data-sources/application_profile.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ data "aci_application_profile" "example_tenant" {
5454
* `owner_key` (ownerKey) - (string) The key for enabling clients to own their data for entity correlation.
5555
* `owner_tag` (ownerTag) - (string) A tag for enabling clients to add their own data. For example, to indicate who created this object.
5656
* `priority` (prio) - (string) The Quality of Service (QoS) priority class ID. QoS refers to the capability of a network to provide better service to selected network traffic over various technologies. The primary goal of QoS is to provide priority including dedicated bandwidth, controlled jitter and latency (required by some real-time and interactive traffic), and improved loss characteristics. You can configure the bandwidth of each QoS level using QoS profiles.
57-
* `relation_to_application_profile_monitoring_policy` - (map) A map of Relation To Application Profile Monitoring Policy (ACI object [fvRsApMonPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsApMonPol/overview)) pointing to Monitoring Policy (ACI Object [monEPGPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/monEPGPol/overview)).
58-
* `annotation` (annotation) - (string) The annotation of the Relation To Application Profile Monitoring Policy object.
57+
* `relation_to_monitoring_policy` - (map) A map of Relation From Application Profile To Monitoring Policy (ACI object [fvRsApMonPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsApMonPol/overview)) pointing to Monitoring Policy (ACI Object [monEPGPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/monEPGPol/overview)).
58+
* `annotation` (annotation) - (string) The annotation of the Relation From Application Profile To Monitoring Policy object.
5959
* `monitoring_policy_name` (tnMonEPGPolName) - (string) The name of the monitoring policy.
6060
* `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.
6161
* `key` (key) - (string) The key used to uniquely identify this configuration object.

docs/data-sources/bridge_domain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ data "aci_bridge_domain" "example_tenant" {
105105
* `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.
106106
* `key` (key) - (string) The key used to uniquely identify this configuration object.
107107
* `value` (value) - (string) The value of the property.
108-
* `relation_to_monitor_policy` - (map) A map of Relation From Bridge Domain To Monitoring Policy (ACI object [fvRsABDPolMonPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsABDPolMonPol/overview)) pointing to Monitoring Policy (ACI Object [monEPGPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/monEPGPol/overview)).
108+
* `relation_to_monitoring_policy` - (map) A map of Relation From Bridge Domain To Monitoring Policy (ACI object [fvRsABDPolMonPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsABDPolMonPol/overview)) pointing to Monitoring Policy (ACI Object [monEPGPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/monEPGPol/overview)).
109109
* `annotation` (annotation) - (string) The annotation of the Relation From Bridge Domain To Monitoring Policy object.
110110
* `monitoring_policy_name` (tnMonEPGPolName) - (string) The name of the Monitoring Policy object.
111111
* `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.

docs/resources/application_epg.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ resource "aci_application_epg" "full_example_application_profile" {
8585
}
8686
]
8787
}
88-
relation_to_application_epg_monitoring_policy = {
88+
relation_to_monitoring_policy = {
8989
annotation = "annotation_1"
9090
monitoring_policy_name = aci_monitoring_policy.example.name
9191
annotations = [
@@ -478,10 +478,10 @@ All examples for the Application EPG resource can be found in the [examples](htt
478478

479479
* `key` (key) - (string) The key used to uniquely identify this configuration object.
480480
* `value` (value) - (string) The value of the property.
481-
* `relation_to_application_epg_monitoring_policy` - (map) A map of Relation To Application EPG Monitoring Policy (ACI object [fvRsAEPgMonPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsAEPgMonPol/overview)) pointing to Monitoring Policy (ACI Object [monEPGPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/monEPGPol/overview)) which can be configured using the [aci_monitoring_policy](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/monitoring_policy) resource.
481+
* `relation_to_monitoring_policy` - (map) A map of Relation From Application EPG To Monitoring Policy (ACI object [fvRsAEPgMonPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsAEPgMonPol/overview)) pointing to Monitoring Policy (ACI Object [monEPGPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/monEPGPol/overview)) which can be configured using the [aci_monitoring_policy](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/monitoring_policy) resource.
482482
#### Optional ####
483483

484-
* `annotation` (annotation) - (string) The annotation of the Relation To Application EPG Monitoring Policy object.
484+
* `annotation` (annotation) - (string) The annotation of the Relation From Application EPG To Monitoring Policy object.
485485
- Default: `orchestrator:terraform`
486486
* `monitoring_policy_name` (tnMonEPGPolName) - (string) The name of the monitoring policy.
487487
* `annotations` - (list) A list of Annotations (ACI object [tagAnnotation](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagAnnotation/overview)). Annotations can also be configured using a separate [aci_annotation](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/annotation) resource. This attribute is supported in ACI versions: 3.2(1l) and later.

docs/resources/application_profile.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ resource "aci_application_profile" "full_example_tenant" {
5555
owner_key = "owner_key_1"
5656
owner_tag = "owner_tag_1"
5757
priority = "level1"
58-
relation_to_application_profile_monitoring_policy = {
58+
relation_to_monitoring_policy = {
5959
annotation = "annotation_1"
6060
monitoring_policy_name = aci_monitoring_policy.example.name
6161
annotations = [
@@ -114,10 +114,10 @@ All examples for the Application Profile resource can be found in the [examples]
114114
- Valid Values:
115115
* `level1`, `level2`, `level3`, `level4`, `level5`, `level6`, `unspecified`.
116116
* Or a value in the range of `0` to `9`.
117-
* `relation_to_application_profile_monitoring_policy` - (map) A map of Relation To Application Profile Monitoring Policy (ACI object [fvRsApMonPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsApMonPol/overview)) pointing to Monitoring Policy (ACI Object [monEPGPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/monEPGPol/overview)) which can be configured using the [aci_monitoring_policy](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/monitoring_policy) resource.
117+
* `relation_to_monitoring_policy` - (map) A map of Relation From Application Profile To Monitoring Policy (ACI object [fvRsApMonPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsApMonPol/overview)) pointing to Monitoring Policy (ACI Object [monEPGPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/monEPGPol/overview)) which can be configured using the [aci_monitoring_policy](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/monitoring_policy) resource.
118118
#### Optional ####
119119

120-
* `annotation` (annotation) - (string) The annotation of the Relation To Application Profile Monitoring Policy object.
120+
* `annotation` (annotation) - (string) The annotation of the Relation From Application Profile To Monitoring Policy object.
121121
- Default: `orchestrator:terraform`
122122
* `monitoring_policy_name` (tnMonEPGPolName) - (string) The name of the monitoring policy.
123123
* `annotations` - (list) A list of Annotations (ACI object [tagAnnotation](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagAnnotation/overview)). Annotations can also be configured using a separate [aci_annotation](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/annotation) resource. This attribute is supported in ACI versions: 3.2(1l) and later.

docs/resources/bridge_domain.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ resource "aci_bridge_domain" "full_example_tenant" {
119119
]
120120
}
121121
]
122-
relation_to_monitor_policy = {
122+
relation_to_monitoring_policy = {
123123
annotation = "annotation_1"
124124
monitoring_policy_name = aci_monitoring_policy.example.name
125125
annotations = [
@@ -452,7 +452,7 @@ All examples for the Bridge Domain resource can be found in the [examples](https
452452

453453
* `key` (key) - (string) The key used to uniquely identify this configuration object.
454454
* `value` (value) - (string) The value of the property.
455-
* `relation_to_monitor_policy` - (map) A map of Relation From Bridge Domain To Monitoring Policy (ACI object [fvRsABDPolMonPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsABDPolMonPol/overview)) pointing to Monitoring Policy (ACI Object [monEPGPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/monEPGPol/overview)) which can be configured using the [aci_monitoring_policy](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/monitoring_policy) resource.
455+
* `relation_to_monitoring_policy` - (map) A map of Relation From Bridge Domain To Monitoring Policy (ACI object [fvRsABDPolMonPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsABDPolMonPol/overview)) pointing to Monitoring Policy (ACI Object [monEPGPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/monEPGPol/overview)) which can be configured using the [aci_monitoring_policy](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/monitoring_policy) resource.
456456
#### Optional ####
457457

458458
* `annotation` (annotation) - (string) The annotation of the Relation From Bridge Domain To Monitoring Policy object.

examples/resources/aci_application_epg/resource-all-attributes.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ resource "aci_application_epg" "full_example_application_profile" {
3838
}
3939
]
4040
}
41-
relation_to_application_epg_monitoring_policy = {
41+
relation_to_monitoring_policy = {
4242
annotation = "annotation_1"
4343
monitoring_policy_name = aci_monitoring_policy.example.name
4444
annotations = [

examples/resources/aci_application_profile/resource-all-attributes.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resource "aci_application_profile" "full_example_tenant" {
88
owner_key = "owner_key_1"
99
owner_tag = "owner_tag_1"
1010
priority = "level1"
11-
relation_to_application_profile_monitoring_policy = {
11+
relation_to_monitoring_policy = {
1212
annotation = "annotation_1"
1313
monitoring_policy_name = aci_monitoring_policy.example.name
1414
annotations = [

examples/resources/aci_bridge_domain/resource-all-attributes.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ resource "aci_bridge_domain" "full_example_tenant" {
7272
]
7373
}
7474
]
75-
relation_to_monitor_policy = {
75+
relation_to_monitoring_policy = {
7676
annotation = "annotation_1"
7777
monitoring_policy_name = aci_monitoring_policy.example.name
7878
annotations = [

gen/definitions/classes.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ fvAEPg:
4949
fvRsProtBy:
5050
relation_fv_rs_prot_by: relation_to_taboo_contracts.taboo_contract_name
5151
fvRsAEPgMonPol:
52-
relation_fv_rs_aepg_mon_pol: relation_to_application_epg_monitoring_policy.monitoring_policy_name
52+
relation_fv_rs_aepg_mon_pol: relation_from_application_epg_to_monitoring_policy.monitoring_policy_name
5353
fvRsIntraEpg:
5454
relation_fv_rs_intra_epg: relation_to_intra_epg_contracts.contract_name
5555
fvRsNodeAtt:
@@ -61,7 +61,7 @@ fvAEPg:
6161
mode: relation_to_static_leafs.mode
6262

6363
fvRsAEPgMonPol:
64-
resource_name: "relation_to_application_epg_monitoring_policy"
64+
resource_name: "relation_from_application_epg_to_monitoring_policy"
6565

6666
fvRsBd:
6767
resource_name: "relation_to_bridge_domain"
@@ -153,10 +153,10 @@ fvAp:
153153
tenant_dn: parent_dn
154154
prio: priority
155155
fvRsApMonPol:
156-
relation_fv_rs_ap_mon_pol: relation_to_application_profile_monitoring_policy.monitoring_policy_name
156+
relation_fv_rs_ap_mon_pol: relation_from_application_profile_to_monitoring_policy.monitoring_policy_name
157157

158158
fvRsApMonPol:
159-
resource_name: "relation_to_application_profile_monitoring_policy"
159+
resource_name: "relation_from_application_profile_to_monitoring_policy"
160160

161161
fvCtx:
162162
resource_name: "vrf"
@@ -726,21 +726,21 @@ fvBD:
726726
vmac: virtual_mac_address
727727
intersite_bum_traffic_allow: enable_intersite_bum_traffic
728728
fvRsABDPolMonPol:
729-
relation_fv_rs_abd_pol_mon_pol: relation_to_monitor_policy.monitoring_policy_name
729+
relation_fv_rs_abd_pol_mon_pol: relation_from_bridge_domain_to_monitoring_policy.monitoring_policy_name
730730
fvRsBdToEpRet:
731-
relation_fv_rs_bd_to_ep_ret: relation_to_end_point_retention_policy.end_point_retention_policy_name
731+
relation_fv_rs_bd_to_ep_ret: relation_from_bridge_domain_to_end_point_retention_policy.end_point_retention_policy_name
732732
fvRsBDToFhs:
733-
relation_fv_rs_bd_to_fhs: relation_to_first_hop_security_policy.first_hop_security_policy_name
733+
relation_fv_rs_bd_to_fhs: relation_from_bridge_domain_to_first_hop_security_policy.first_hop_security_policy_name
734734
fvRsBDToNdP:
735-
relation_fv_rs_bd_to_nd_p: relation_to_neighbor_discovery_interface_policy.neighbor_discovery_interface_policy_name
735+
relation_fv_rs_bd_to_nd_p: relation_from_bridge_domain_to_neighbor_discovery_interface_policy.neighbor_discovery_interface_policy_name
736736
fvRsBDToNetflowMonitorPol:
737-
relation_fv_rs_bd_to_netflow_monitor_pol: relation_to_netflow_monitor_policies
737+
relation_fv_rs_bd_to_netflow_monitor_pol: relation_from_bridge_domain_to_netflow_monitor_policy
738738
tn_netflow_monitor_pol_name: relation_to_netflow_monitor_policies.netflow_monitor_policy_name
739739
flt_type: relation_to_netflow_monitor_policies.filter_type
740740
fvRsBDToOut:
741-
relation_fv_rs_bd_to_out: relation_to_l3_outsides.l3_outside_name
741+
relation_fv_rs_bd_to_out: relation_from_bridge_domain_to_l3_outsides.l3_outside_name
742742
fvRsBDToRelayP:
743-
relation_fv_rs_bd_to_relay_p: relation_to_dhcp_relay_policy.dhcp_relay_policy_name
743+
relation_fv_rs_bd_to_relay_p: relation_from_bridge_domain_to_dhcp_relay_policy.dhcp_relay_policy_name
744744
fvRsCtx:
745745
relation_fv_rs_ctx: relation_to_vrf.vrf_name
746746
fvRsIgmpsn:

0 commit comments

Comments
 (0)