This commit is contained in:
asteam
2025-07-15 17:39:18 +03:00
parent 1f8637400f
commit 7dacf35cd6
163 changed files with 4322 additions and 504 deletions

View File

@@ -47,6 +47,11 @@ type CreateRequest struct {
// Required: false
DNS []string `url:"dns,omitempty" json:"dns,omitempty"`
// Maximum transmission unit
// Default: 1500
// Required: false
MTU uint `url:"mtu,omitempty" json:"mtu,omitempty"`
// List of NTP addresses
// Required: false
NTP []string `url:"ntp,omitempty" json:"ntp,omitempty"`
@@ -71,9 +76,13 @@ type CreateRequest struct {
// Required: false
EndIP string `url:"endIP,omitempty" json:"endIP,omitempty"`
// IP to create VNFDev with
// IP to create primary vnfdev with
// Required: false
VNFDevIP string `url:"vnfdevIP,omitempty" json:"vnfdevIP,omitempty"`
PriVNFDevIP string `url:"priVnfdevIP,omitempty" json:"priVnfdevIP,omitempty"`
// IP to create secondary vnfdev with
// Required: false
SecVNFDevIP string `url:"secVnfdevIP,omitempty" json:"secVnfdevIP,omitempty"`
// Number of pre created reservations
// Required: false
@@ -86,6 +95,15 @@ type CreateRequest struct {
// List of static routes, each item must have destination, netmask, and gateway fields
// Required: false
Routes []Route `url:"-" json:"routes,omitempty" validate:"omitempty,dive"`
// Zone ID
// Required: false
ZoneID uint64 `url:"zoneId,omitempty" json:"zoneId,omitempty"`
// High Availability mode is enabled, default False
// Required: false
// Default: false
HAMode bool `url:"highlyAvailable,omitempty" json:"highlyAvailable,omitempty"`
}
type wrapperCreateRequest struct {