f-28: api: update api comportement and model
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
7065a9f431
commit
cef465da2e
2 changed files with 19 additions and 3 deletions
|
|
@ -12,6 +12,7 @@ type VPC struct {
|
|||
type SubnetCreateRequest struct {
|
||||
Name string `json:"name"`
|
||||
VPC string `json:"vpc"`
|
||||
Mode string `json:"mode"`
|
||||
VxlanID int `json:"vxlan_id"`
|
||||
IfaceType string `json:"iface_type"`
|
||||
GatewayIP string `json:"gateway_ip"`
|
||||
|
|
@ -22,6 +23,7 @@ type Subnet struct {
|
|||
Name string `json:"name"`
|
||||
State string `json:"state"`
|
||||
VPC string `json:"vpc"`
|
||||
Mode string `json:"mode"`
|
||||
VxlanID int `json:"vxlan_id"`
|
||||
LocalIface string `json:"local_iface"`
|
||||
GatewayIP string `json:"gateway_ip"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue