Sfoglia il codice sorgente

add network name to common node

abhishek9686 9 mesi fa
parent
commit
e68454733a
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      models/node.go

+ 1 - 0
models/node.go

@@ -68,6 +68,7 @@ type CommonNode struct {
 	ID                  uuid.UUID `json:"id"                  yaml:"id"`
 	HostID              uuid.UUID `json:"hostid"              yaml:"hostid"`
 	Network             string    `json:"network"             yaml:"network"`
+	NetworkName         string    `json:"network_name"             yaml:"network_name"`
 	NetworkRange        net.IPNet `json:"networkrange"        yaml:"networkrange"        swaggertype:"primitive,integer"`
 	NetworkRange6       net.IPNet `json:"networkrange6"       yaml:"networkrange6"       swaggertype:"primitive,number"`
 	Server              string    `json:"server"              yaml:"server"`