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

fix(baremetal): add bandwidth_in_bps field for PrivateNetworkOption #2264

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
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
7 changes: 4 additions & 3 deletions api/baremetal/v1/baremetal_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,7 @@ type LicenseOption struct {

// PrivateNetworkOption: private network option.
type PrivateNetworkOption struct {
BandwidthInBps uint64 `json:"bandwidth_in_bps"`
}

// PublicBandwidthOption: public bandwidth option.
Expand Down Expand Up @@ -1009,7 +1010,7 @@ type OfferOptionOffer struct {
// Precisely one of License, PublicBandwidth, PrivateNetwork, RemoteAccess, Certification must be set.
PublicBandwidth *PublicBandwidthOption `json:"public_bandwidth,omitempty"`

// PrivateNetwork: private_network option.
// PrivateNetwork: private_network option, contains the bandwidth_in_bps.
// Precisely one of License, PublicBandwidth, PrivateNetwork, RemoteAccess, Certification must be set.
PrivateNetwork *PrivateNetworkOption `json:"private_network,omitempty"`

Expand Down Expand Up @@ -1118,7 +1119,7 @@ type ServerOption struct {
// Precisely one of License, PublicBandwidth, PrivateNetwork, RemoteAccess, Certification must be set.
PublicBandwidth *PublicBandwidthOption `json:"public_bandwidth,omitempty"`

// PrivateNetwork: private_network option.
// PrivateNetwork: private_network option, contains the bandwidth_in_bps.
// Precisely one of License, PublicBandwidth, PrivateNetwork, RemoteAccess, Certification must be set.
PrivateNetwork *PrivateNetworkOption `json:"private_network,omitempty"`

Expand Down Expand Up @@ -1302,7 +1303,7 @@ type Option struct {
// Precisely one of License, PublicBandwidth, PrivateNetwork, RemoteAccess, Certification must be set.
PublicBandwidth *PublicBandwidthOption `json:"public_bandwidth,omitempty"`

// PrivateNetwork: private_network option.
// PrivateNetwork: private_network option, contains the bandwidth_in_bps.
// Precisely one of License, PublicBandwidth, PrivateNetwork, RemoteAccess, Certification must be set.
PrivateNetwork *PrivateNetworkOption `json:"private_network,omitempty"`

Expand Down