f-21: code: change from ip to interface type
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
066b90dff4
commit
9ec6e64327
8 changed files with 41 additions and 40 deletions
|
|
@ -13,19 +13,19 @@ type SubnetCreateRequest struct {
|
|||
Name string `json:"name"`
|
||||
VPC string `json:"vpc"`
|
||||
VxlanID int `json:"vxlan_id"`
|
||||
LocalIP string `json:"local_ip"`
|
||||
IfaceType string `json:"iface_type"`
|
||||
GatewayIP string `json:"gateway_ip"`
|
||||
CIDR string `json:"cidr"`
|
||||
}
|
||||
|
||||
type Subnet struct {
|
||||
Name string `json:"name"`
|
||||
State string `json:"state"`
|
||||
VPC string `json:"vpc"`
|
||||
VxlanID int `json:"vxlan_id"`
|
||||
LocalIP string `json:"local_ip"`
|
||||
GatewayIP string `json:"gateway_ip"`
|
||||
CIDR string `json:"cidr"`
|
||||
Name string `json:"name"`
|
||||
State string `json:"state"`
|
||||
VPC string `json:"vpc"`
|
||||
VxlanID int `json:"vxlan_id"`
|
||||
LocalIface string `json:"local_iface"`
|
||||
GatewayIP string `json:"gateway_ip"`
|
||||
CIDR string `json:"cidr"`
|
||||
}
|
||||
|
||||
type ErrorResponse struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue