Skip to content

Commit b63df0c

Browse files
authored
feat(interlink): add support for VlanRange (scaleway#2810)
1 parent 2b0dd5a commit b63df0c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

api/interlink/v1beta1/interlink_sdk.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,13 @@ type BgpConfig struct {
448448
IPv6 scw.IPNet `json:"ipv6"`
449449
}
450450

451+
// Range: range.
452+
type Range struct {
453+
Start uint32 `json:"start"`
454+
455+
End uint32 `json:"end"`
456+
}
457+
451458
// PartnerHost: partner host.
452459
type PartnerHost struct {
453460
// PartnerID: ID of the partner facilitating the link.
@@ -505,6 +512,9 @@ type DedicatedConnection struct {
505512
// DemarcationInfo: demarcation details required by the data center to set up the supporting Cross Connect. This generally includes the physical space in the facility, the cabinet or rack the connection should land in, the patch panel to go in, the port designation, and the media type.
506513
DemarcationInfo *string `json:"demarcation_info"`
507514

515+
// VlanRange: range in which to pick vlan for self-hosted links on this dedicated connection. Both start & end are included. Any range defined here must be itself included in the greater allowed range of vlans from 1500 to 3899 (this range is hardware dependent and can change over time, but actual range will be enforced).
516+
VlanRange *Range `json:"vlan_range"`
517+
508518
// Region: region of the dedicated connection.
509519
Region scw.Region `json:"region"`
510520
}

0 commit comments

Comments
 (0)