Skip to content

Commit 108cca7

Browse files
authored
feat(interlink): choose vlan for self-hosted links (#2210)
1 parent 45126ae commit 108cca7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages_generated/interlink/src/v1beta1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ export const marshalCreateLinkRequest = (
296296
pop_id: request.popId,
297297
project_id: request.projectId ?? defaults.defaultProjectId,
298298
tags: request.tags,
299+
vlan: request.vlan,
299300
...resolveOneOf([
300301
{ param: 'connection_id', value: request.connectionId },
301302
{ param: 'partner_id', value: request.partnerId },

packages_generated/interlink/src/v1beta1/types.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,10 @@ export type CreateLinkRequest = {
434434
* For self-hosted links we need the peer AS Number to establish BGP session. If not given, a default one will be assigned.
435435
*/
436436
peerAsn?: number
437+
/**
438+
* For self-hosted links only, it is possible to choose the VLAN ID. If the VLAN is not available (ie already taken or out of range), an error is returned.
439+
*/
440+
vlan?: number
437441
}
438442

439443
export type CreateRoutingPolicyRequest = {

0 commit comments

Comments
 (0)