Skip to content

Commit

Permalink
[major_change] Add stateupgrader logic to support the type change of …
Browse files Browse the repository at this point in the history
…already released attributes with SetNestedAttribute that should be SingleNestedAttribute. This requires a configuration change when the relation_to_netflow_record attribute is defined for already existing aci_netflow_monitor_policy resources
  • Loading branch information
akinross authored and lhercot committed Sep 13, 2024
1 parent 8fa86f4 commit 3722887
Show file tree
Hide file tree
Showing 55 changed files with 3,008 additions and 1,805 deletions.
4 changes: 2 additions & 2 deletions docs/data-sources/access_interface_override.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ data "aci_access_interface_override" "example" {
* `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.

* `relation_to_host_path` - (list) A list of Relation To Host Path (ACI object [infraRsHPathAtt](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraRsHPathAtt/overview)) pointing to (ACI Object [fabricPathEp](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fabricPathEp/overview)).
* `relation_to_host_path` - (map) A map of Relation To Host Path (ACI object [infraRsHPathAtt](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraRsHPathAtt/overview)) pointing to Fabric Path Endpoint (ACI Object [fabricPathEp](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fabricPathEp/overview)).
* `annotation` (annotation) - (string) The annotation of the Relation To Host Path object.
* `target_dn` (tDn) - (string) The distinguished name of the target.

* `relation_to_access_interface_policy_group` - (list) A list of Relation To Access Interface Policy Group (ACI object [infraRsPathToAccBaseGrp](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraRsPathToAccBaseGrp/overview)) pointing to (ACI Object [infraAccBaseGrp](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraAccBaseGrp/overview)).
* `relation_to_access_interface_policy_group` - (map) A map of Relation To Access Interface Policy Group (ACI object [infraRsPathToAccBaseGrp](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraRsPathToAccBaseGrp/overview)) pointing to Access Interface Policy Group (ACI Object [infraAccBaseGrp](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraAccBaseGrp/overview)).
* `annotation` (annotation) - (string) The annotation of the Relation To Access Interface Policy Group object.
* `target_dn` (tDn) - (string) The distinguished name of the target.

Expand Down
16 changes: 8 additions & 8 deletions docs/data-sources/application_epg.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ data "aci_application_epg" "example_application_profile" {
* `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.
* `admin_state` (shutdown) - (string) Withdraw AEPg Configuration from all Nodes in the Fabric.

* `epg_useg_block_statement` - (list) A list of EPG uSeg Block Statement (ACI object [fvCrtrn](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvCrtrn/overview)). This attribute is supported in ACI versions: 1.1(1j) and later.
* `epg_useg_block_statement` - (map) A map of EPG uSeg Block Statement (ACI object [fvCrtrn](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvCrtrn/overview)). This attribute is supported in ACI versions: 1.1(1j) and later.
* `annotation` (annotation) - (string) The annotation of the EPG uSeg Block Statement object.
* `description` (descr) - (string) The description of the EPG uSeg Block Statement object.
* `match` (match) - (string) The Matching Rule Type of the EPG uSeg Block Statement object.
Expand All @@ -74,11 +74,11 @@ data "aci_application_epg" "example_application_profile" {
* `precedence` (prec) - (string) The precedence of the EPG uSeg Block Statement object.
* `scope` (scope) - (string) The scope of the EPG uSeg Block Statement object.

* `relation_to_application_epg_monitoring_policy` - (list) A list 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)).
* `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)).
* `annotation` (annotation) - (string) The annotation of the Relation To Application EPG Monitoring Policy object.
* `monitoring_policy_name` (tnMonEPGPolName) - (string) The name of the monitoring policy.

* `relation_to_bridge_domain` - (list) A list of Relation To Bridge Domain (ACI object [fvRsBd](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsBd/overview)) pointing to Bridge Domain (ACI Object [fvBD](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvBD/overview)).
* `relation_to_bridge_domain` - (map) A map of Relation To Bridge Domain (ACI object [fvRsBd](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsBd/overview)) pointing to Bridge Domain (ACI Object [fvBD](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvBD/overview)).
* `annotation` (annotation) - (string) The annotation of the Relation To Bridge Domain object.
* `bridge_domain_name` (tnFvBDName) - (string) The name of the bridge domain associated with this EPG.

Expand All @@ -92,7 +92,7 @@ data "aci_application_epg" "example_application_profile" {
* `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.
* `imported_contract_name` (tnVzCPIfName) - (string) The contract interface name.

* `relation_to_custom_qos_policy` - (list) A list of Relation To Custom Qos Policy (ACI object [fvRsCustQosPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsCustQosPol/overview)) pointing to Custom Qos Policy (ACI Object [qosCustomPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/qosCustomPol/overview)).
* `relation_to_custom_qos_policy` - (map) A map of Relation To Custom Qos Policy (ACI object [fvRsCustQosPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsCustQosPol/overview)) pointing to Custom Qos Policy (ACI Object [qosCustomPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/qosCustomPol/overview)).
* `annotation` (annotation) - (string) The annotation of the Relation To Custom Qos Policy object.
* `custom_qos_policy_name` (tnQosCustomPolName) - (string) The Custom QoS traffic policy name.

Expand Down Expand Up @@ -129,11 +129,11 @@ data "aci_application_epg" "example_application_profile" {
* `untagged` (untagged) - (string) The untagged status of the Relation To Domain object.
* `vnet_only` (vnetOnly) - (string) The VNET only status of the Relation To Domain object.

* `relation_to_data_plane_policing_policy` - (list) A list of Relation To Data Plane Policing Policy (ACI object [fvRsDppPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsDppPol/overview)) pointing to Data Plane Policing Policy (ACI Object [qosDppPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/qosDppPol/overview)). This attribute is supported in ACI versions: 3.0(1k) and later.
* `relation_to_data_plane_policing_policy` - (map) A map of Relation To Data Plane Policing Policy (ACI object [fvRsDppPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsDppPol/overview)) pointing to Data Plane Policing Policy (ACI Object [qosDppPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/qosDppPol/overview)). This attribute is supported in ACI versions: 3.0(1k) and later.
* `annotation` (annotation) - (string) The annotation of the Relation To Data Plane Policing Policy object.
* `data_plane_policing_policy_name` (tnQosDppPolName) - (string) Name.

* `relation_to_fibre_channel_paths` - (list) A list of Relation To Fibre Channel Paths (ACI object [fvRsFcPathAtt](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsFcPathAtt/overview)) pointing to (ACI Object [fabricPathEp](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fabricPathEp/overview)). This attribute is supported in ACI versions: 2.0(1m) and later.
* `relation_to_fibre_channel_paths` - (list) A list of Relation To Fibre Channel Paths (ACI object [fvRsFcPathAtt](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsFcPathAtt/overview)) pointing to Fabric Path Endpoint (ACI Object [fabricPathEp](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fabricPathEp/overview)). This attribute is supported in ACI versions: 2.0(1m) and later.
* `annotation` (annotation) - (string) The annotation of the Relation To Fibre Channel Path object.
* `description` (descr) - (string) The description of the Relation To Fibre Channel Path object.
* `target_dn` (tDn) - (string) The distinguished name of the target.
Expand All @@ -152,7 +152,7 @@ data "aci_application_epg" "example_application_profile" {
* `mode` (mode) - (string) The static association mode with the path of the Relation To Static Leaf object.
* `target_dn` (tDn) - (string) The distinguished name of the target of this static binding.

* `relation_to_static_paths` - (list) A list of Relation To Static Paths (ACI object [fvRsPathAtt](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsPathAtt/overview)) pointing to (ACI Object [fabricPathEp](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fabricPathEp/overview)).
* `relation_to_static_paths` - (list) A list of Relation To Static Paths (ACI object [fvRsPathAtt](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsPathAtt/overview)) pointing to Fabric Path Endpoint (ACI Object [fabricPathEp](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fabricPathEp/overview)).
* `annotation` (annotation) - (string) The annotation of the Relation To Static Path object.
* `description` (descr) - (string) The description of the Relation To Static Path object.
* `encapsulation` (encap) - (string) The VLAN encapsulation of the Relation To Static Path object.
Expand All @@ -175,7 +175,7 @@ data "aci_application_epg" "example_application_profile" {
* `annotation` (annotation) - (string) The annotation of the Relation To Contract Master object.
* `target_dn` (tDn) - (string) The distinguished name of the target.

* `relation_to_trust_control_policy` - (list) A list of Relation To Trust Control Policy (ACI object [fvRsTrustCtrl](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsTrustCtrl/overview)) pointing to Trust Control Policy (ACI Object [fhsTrustCtrlPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fhsTrustCtrlPol/overview)). This attribute is supported in ACI versions: 3.0(1k) and later.
* `relation_to_trust_control_policy` - (map) A map of Relation To Trust Control Policy (ACI object [fvRsTrustCtrl](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsTrustCtrl/overview)) pointing to Trust Control Policy (ACI Object [fhsTrustCtrlPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fhsTrustCtrlPol/overview)). This attribute is supported in ACI versions: 3.0(1k) and later.
* `annotation` (annotation) - (string) The annotation of the Relation To Trust Control Policy object.
* `trust_control_policy_name` (tnFhsTrustCtrlPolName) - (string) Name.

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/endpoint_security_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ data "aci_endpoint_security_group" "example_application_profile" {
* `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.
* `contract_name` (tnVzBrCPName) - (string) The provider contract name.

* `relation_to_vrf` - (list) A list of Relation To VRF (ACI object [fvRsScope](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsScope/overview)) pointing to VRF (ACI Object [fvCtx](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvCtx/overview)).
* `relation_to_vrf` - (map) A map of Relation To VRF (ACI object [fvRsScope](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsScope/overview)) pointing to VRF (ACI Object [fvCtx](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvCtx/overview)).
* `annotation` (annotation) - (string) The annotation of the Relation To VRF object.
* `vrf_name` (tnFvCtxName) - (string) The name of the VRF object.

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/netflow_exporter_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ data "aci_netflow_exporter_policy" "example_tenant" {
* `source_ip_address` (srcAddr) - (string) The source IP address.
* `version` (ver) - (string) The NetFlow Exporter Version of the NetFlow Exporter Policy object.

* `relation_to_vrf` - (list) A list of Relation From NetFlow Exporter To VRF (ACI object [netflowRsExporterToCtx](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/netflowRsExporterToCtx/overview)) pointing to VRF (ACI Object [fvCtx](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvCtx/overview)).
* `relation_to_vrf` - (map) A map of Relation From NetFlow Exporter To VRF (ACI object [netflowRsExporterToCtx](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/netflowRsExporterToCtx/overview)) pointing to VRF (ACI Object [fvCtx](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvCtx/overview)).
* `annotation` (annotation) - (string) The annotation of the Relation From NetFlow Exporter To VRF object.
* `target_dn` (tDn) - (string) The distinguished name of the target.

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/netflow_monitor_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ data "aci_netflow_monitor_policy" "example_tenant" {
* `annotation` (annotation) - (string) The annotation of the Relation To NetFlow Exporter object.
* `netflow_exporter_policy_name` (tnNetflowExporterPolName) - (string) Name.

* `relation_to_netflow_record` - (list) A list of Relation To NetFlow Record (ACI object [netflowRsMonitorToRecord](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/netflowRsMonitorToRecord/overview)) pointing to NetFlow Record Policy (ACI Object [netflowRecordPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/netflowRecordPol/overview)).
* `relation_to_netflow_record` - (map) A map of Relation To NetFlow Record (ACI object [netflowRsMonitorToRecord](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/netflowRsMonitorToRecord/overview)) pointing to NetFlow Record Policy (ACI Object [netflowRecordPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/netflowRecordPol/overview)).
* `annotation` (annotation) - (string) The annotation of the Relation To NetFlow Record object.
* `netflow_record_policy_name` (tnNetflowRecordPolName) - (string) Name.

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/vrf_fallback_route_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ data "aci_vrf_fallback_route_group" "example_vrf" {
* `name_alias` (nameAlias) - (string) The name alias of the VRF Fallback Route Group Member object.
* `fallback_member` (rnhAddr) - (string) The address of the VRF Fallback Route Group Member object.

* `vrf_fallback_routes` - (list) A list of VRF Fallback Routes (ACI object [fvFBRoute](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvFBRoute/overview)).
* `vrf_fallback_route` - (map) A map of VRF Fallback Route (ACI object [fvFBRoute](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvFBRoute/overview)).
* `annotation` (annotation) - (string) The annotation of the VRF Fallback Route object.
* `description` (descr) - (string) The description of the VRF Fallback Route object.
* `prefix_address` (fbrPrefix) - (string) The prefix address of the VRF Fallback Route object.
Expand Down
Loading

0 comments on commit 3722887

Please sign in to comment.