Skip to content

Commit a1ebbb0

Browse files
Add application awareness on interconnect (#14321) (#23567)
[upstream:4dbe4ee02ee2b46ba0752521416ed3baed5d3f1f] Signed-off-by: Modular Magician <[email protected]>
1 parent 2892815 commit a1ebbb0

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed

.changelog/14321.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
compute: added `applicationAwareInterconnect` and `aaiEnabled` field in `google_compute_interconnect` resource
3+
```

website/docs/r/compute_interconnect.html.markdown

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,16 @@ The following arguments are supported:
144144
does not work with the API, and will be removed in an upcoming major version.
145145
Each value may be one of: `MACSEC`, `CROSS_SITE_NETWORK`, `IF_MACSEC`.
146146

147+
* `aai_enabled` -
148+
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
149+
Enable or disable the Application Aware Interconnect(AAI) feature on this interconnect.
150+
151+
* `application_aware_interconnect` -
152+
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
153+
Configuration that enables Media Access Control security (MACsec) on the Cloud
154+
Interconnect connection between Google and your on-premises router.
155+
Structure is [documented below](#nested_application_aware_interconnect).
156+
147157
* `project` - (Optional) The ID of the project in which the resource belongs.
148158
If it is not provided, the provider project is used.
149159

@@ -196,6 +206,62 @@ The following arguments are supported:
196206

197207
~> **Warning:** `failOpen` is deprecated and will be removed in a future major release. Use other `failOpen` instead.
198208

209+
<a name="nested_application_aware_interconnect"></a>The `application_aware_interconnect` block supports:
210+
211+
* `profile_description` -
212+
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
213+
A description for the AAI profile on this interconnect.
214+
215+
* `strict_priority_policy` -
216+
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
217+
Specify configuration for StrictPriorityPolicy.
218+
219+
* `bandwidth_percentage_policy` -
220+
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
221+
Bandwidth Percentage policy allows you to have granular control over how your Interconnect
222+
bandwidth is utilized among your workloads mapping to different traffic classes.
223+
Structure is [documented below](#nested_application_aware_interconnect_bandwidth_percentage_policy).
224+
225+
* `shape_average_percentage` -
226+
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
227+
Optional field to specify a list of shape average percentages to be
228+
applied in conjunction with StrictPriorityPolicy or BandwidthPercentagePolicy
229+
Structure is [documented below](#nested_application_aware_interconnect_shape_average_percentage).
230+
231+
232+
<a name="nested_application_aware_interconnect_bandwidth_percentage_policy"></a>The `bandwidth_percentage_policy` block supports:
233+
234+
* `bandwidth_percentage` -
235+
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
236+
Specify bandwidth percentages for various traffic classes for queuing
237+
type Bandwidth Percent.
238+
Structure is [documented below](#nested_application_aware_interconnect_bandwidth_percentage_policy_bandwidth_percentage).
239+
240+
241+
<a name="nested_application_aware_interconnect_bandwidth_percentage_policy_bandwidth_percentage"></a>The `bandwidth_percentage` block supports:
242+
243+
* `traffic_class` -
244+
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
245+
Enum representing the various traffic classes offered by AAI.
246+
Default value is `TC_UNSPECIFIED`.
247+
Possible values are: `TC_UNSPECIFIED`, `TC1`, `TC2`, `TC3`, `TC4`, `TC5`, `TC6`.
248+
249+
* `percentage` -
250+
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
251+
Bandwidth percentage for a specific traffic class.
252+
253+
<a name="nested_application_aware_interconnect_shape_average_percentage"></a>The `shape_average_percentage` block supports:
254+
255+
* `traffic_class` -
256+
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
257+
Enum representing the various traffic classes offered by AAI.
258+
Default value is `TC_UNSPECIFIED`.
259+
Possible values are: `TC_UNSPECIFIED`, `TC1`, `TC2`, `TC3`, `TC4`, `TC5`, `TC6`.
260+
261+
* `percentage` -
262+
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
263+
Bandwidth percentage for a specific traffic class.
264+
199265
## Attributes Reference
200266

201267
In addition to the arguments listed above, the following computed attributes are exported:

0 commit comments

Comments
 (0)