f-41: api, vpc: champ l3vni des VPC #41
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
bf0e83862f
commit
3dd94f35dd
11 changed files with 295 additions and 10 deletions
|
|
@ -1,14 +1,16 @@
|
|||
package agentapi
|
||||
|
||||
type VPCCreateRequest struct {
|
||||
Name string `json:"name"`
|
||||
CIDR string `json:"cidr"`
|
||||
Name string `json:"name"`
|
||||
CIDR string `json:"cidr"`
|
||||
L3VNI *uint32 `json:"l3vni,omitempty"`
|
||||
}
|
||||
|
||||
type VPC struct {
|
||||
Name string `json:"name"`
|
||||
State string `json:"state"`
|
||||
CIDR string `json:"cidr"`
|
||||
L3VNI uint32 `json:"l3vni,omitempty"`
|
||||
}
|
||||
|
||||
type SubnetCreateRequest struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue