f-88: api: nom obligatoire des interfaces de VM, migration nic-<i> #88

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-10-29 21:12:42 +01:00
commit ee7ecbf69f
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
15 changed files with 244 additions and 25 deletions

View file

@ -40,6 +40,7 @@ type Subnet struct {
}
type VMInterface struct {
Name string `json:"name"`
Subnet string `json:"subnet"`
IP string `json:"ip"`
MAC string `json:"mac"`