Skip to content

Commit 04e52ae

Browse files
feat: [edgenetwork] A new field bonding_type is added to message .google.cloud.edgenetwork.v1.Subnet (#5505)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 646953813 Source-Link: https://togithub.com/googleapis/googleapis/commit/16c01b440273ed685ae1d1ec7863d0f95f2a138d Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/18700299f97abb07c56bf5ed1056219f809defb4 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWVkZ2VuZXR3b3JrLy5Pd2xCb3QueWFtbCIsImgiOiIxODcwMDI5OWY5N2FiYjA3YzU2YmY1ZWQxMDU2MjE5ZjgwOWRlZmI0In0=
1 parent e32282e commit 04e52ae

4 files changed

Lines changed: 118 additions & 0 deletions

File tree

packages/google-cloud-edgenetwork/protos/google/cloud/edgenetwork/v1/resources.proto

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,22 @@ message Subnet {
118118
pattern: "projects/{project}/locations/{location}/zones/{zone}/subnets/{subnet}"
119119
};
120120

121+
// Bonding type in the subnet.
122+
enum BondingType {
123+
// Unspecified
124+
// Bonding type will be unspecified by default and if the user chooses to
125+
// not specify a bonding type at time of creating the VLAN. This will be
126+
// treated as mixed bonding where the VLAN will have both bonded and
127+
// non-bonded connectivity to machines.
128+
BONDING_TYPE_UNSPECIFIED = 0;
129+
130+
// Single homed.
131+
BONDED = 1;
132+
133+
// Multi homed.
134+
NON_BONDED = 2;
135+
}
136+
121137
// Required. The canonical resource name of the subnet.
122138
string name = 1 [(google.api.field_behavior) = REQUIRED];
123139

@@ -154,6 +170,13 @@ message Subnet {
154170
// automatically.
155171
int32 vlan_id = 9 [(google.api.field_behavior) = OPTIONAL];
156172

173+
// Optional. A bonding type in the subnet creation specifies whether a VLAN
174+
// being created will be present on Bonded or Non-Bonded or Both port types.
175+
// In addition, this flag is to be used to set the specific network
176+
// configuration which clusters can then use for their workloads based on the
177+
// bonding choice.
178+
BondingType bonding_type = 11 [(google.api.field_behavior) = OPTIONAL];
179+
157180
// Output only. Current stage of the resource to the device by config push.
158181
ResourceState state = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
159182
}

packages/google-cloud-edgenetwork/protos/protos.d.ts

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-edgenetwork/protos/protos.js

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-edgenetwork/protos/protos.json

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)