Skip to content

Commit 7ba1d43

Browse files
authored
feat(interlink): choose vlan for self-hosted links (scaleway#2618)
1 parent fd23586 commit 7ba1d43

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/interlink/v1beta1/interlink_sdk.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,9 @@ type CreateLinkRequest struct {
723723

724724
// PeerAsn: for self-hosted links we need the peer AS Number to establish BGP session. If not given, a default one will be assigned.
725725
PeerAsn *uint32 `json:"peer_asn,omitempty"`
726+
727+
// Vlan: 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.
728+
Vlan *uint32 `json:"vlan,omitempty"`
726729
}
727730

728731
// CreateRoutingPolicyRequest: create routing policy request.

0 commit comments

Comments
 (0)