v12.0.0
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"net/http"
|
||||
"strconv"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v12/internal/validators"
|
||||
)
|
||||
|
||||
type Route struct {
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user