Files
openlan/pkg/schema/bgp.go
2025-09-02 15:01:12 +08:00

14 lines
295 B
Go

package schema
type BgpNeighbor struct {
Address string `json:"address"`
RemoteAs int `json:"remoteas"`
State string `json:"state"`
}
type Bgp struct {
LocalAs int `json:"localas"`
RouterId string `json:"routerid"`
Neighbors []BgpNeighbor `json:"neighbors"`
}