fix: format output parameters

This commit is contained in:
Daniel Ding
2024-01-23 10:42:20 +08:00
parent 4d76ae91af
commit 430cf1c5d8
9 changed files with 131 additions and 128 deletions

View File

@@ -1,7 +1,8 @@
package config
type Output struct {
Vlan int `json:"vlan"`
Interface string `json:"interface"` // format, like: gre:<addr>, vxlan:<addr>:<vni>
Link string `json:"link"` // link name
Segment int `json:"segment"`
Protocol string `json:"protocol"` // gre, vxlan, etc.
Remote string `json:"remote"`
Link string `json:"link"` // link name
}