Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MTU to interconnect #4496

Merged
merged 16 commits into from
Feb 26, 2021
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions mmv1/products/compute/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7338,6 +7338,11 @@ objects:
name: 'description'
description: |
An optional description of this resource.
- !ruby/object:Api::Type::String
name: 'mtu'
description: |
Maximum Transmission Unit (MTU), in bytes, of packets passing through
this interconnect attachment. Currently, only 1440 and 1500 are allowed. If not specified, the value will default to 1440.
- !ruby/object:Api::Type::Enum
name: 'bandwidth'
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ resource "google_compute_interconnect_attachment" "<%= ctx[:primary_resource_id]
name = "<%= ctx[:vars]['interconnect_attachment_name'] %>"
interconnect = "my-interconnect-id"
router = google_compute_router.foobar.id
mtu = 1500
}

resource "google_compute_router" "foobar" {
Expand Down