This commit is contained in:
asteam
2024-12-04 11:50:22 +03:00
parent 9ec34c6bfc
commit 88eb9e8898
4 changed files with 17 additions and 73 deletions

View File

@@ -26,6 +26,11 @@ type Interface struct {
// IP address to assign to this VM when connecting to the specified network
// Required: false
IPAddr string `url:"ipAddr,omitempty" json:"ipAddr,omitempty"`
// Maximum transmission unit, must be 1-9216
// Used only to DPDK net type
// Required: false
MTU uint64 `url:"mtu,omitempty" json:"mtu,omitempty" validate:"omitempty,mtu"`
}
// DataDisk detailed struct for DataDisks field in CreateRequest and CreateBlankRequest