f-80: api: gateway rendu par toutes les lectures de subnet, vxlan_id omis hors vxlan, spec alignée sur le code #80

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-10-23 13:48:07 +02:00
commit c5d7855a51
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
5 changed files with 108 additions and 80 deletions

View file

@ -30,7 +30,7 @@ type Subnet struct {
State string `json:"state"`
VPC string `json:"vpc"`
Mode string `json:"mode"`
VxlanID int `json:"vxlan_id"`
VxlanID int `json:"vxlan_id,omitempty"`
LocalIface string `json:"local_iface"`
InterfaceIP string `json:"interface_ip"`
RelayIP string `json:"relay_ip,omitempty"`