Implement a GetRouters RPC to RIS (#253)
* Implement a GetRouters RPC to RIS
This RPC returns all configured routers and their VRF IDs. This can be
used by RIS clients to discovery the routers. The router and the VRF ID
is a required parameter for all other RPCs.
* Update grpc to v1.28.0 to support protoc-gen-go v1.21.0
* Fix test
Co-authored-by:
Oliver Herms <oliver.peter.herms@gmail.com>
Showing
- cmd/ris/api/ris.pb.go 1016 additions, 387 deletionscmd/ris/api/ris.pb.go
- cmd/ris/api/ris.proto 19 additions, 4 deletionscmd/ris/api/ris.proto
- cmd/ris/risserver/server.go 18 additions, 0 deletionscmd/ris/risserver/server.go
- go.mod 7 additions, 5 deletionsgo.mod
- go.sum 66 additions, 24 deletionsgo.sum
- net/api/net.pb.go 229 additions, 110 deletionsnet/api/net.pb.go
- protocols/bgp/api/bgp.pb.go 355 additions, 168 deletionsprotocols/bgp/api/bgp.pb.go
- protocols/bgp/api/session.pb.go 310 additions, 171 deletionsprotocols/bgp/api/session.pb.go
- protocols/bgp/server/bgp_api_test.go 20 additions, 2 deletionsprotocols/bgp/server/bgp_api_test.go
- route/api/route.pb.go 628 additions, 360 deletionsroute/api/route.pb.go
... | ... | @@ -4,8 +4,7 @@ require ( |
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect | ||
github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4 // indirect | ||
github.com/bio-routing/tflow2 v0.0.0-20181230153523-2e308a4a3c3a | ||
github.com/golang/protobuf v1.3.1 | ||
github.com/google/btree v1.0.0 | ||
github.com/golang/protobuf v1.4.0 | ||
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 | ||
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 | ||
github.com/pkg/errors v0.8.0 | ||
... | ... | @@ -16,9 +15,12 @@ require ( |
github.com/urfave/cli v1.21.0 | ||
github.com/vishvananda/netlink v1.0.0 | ||
github.com/vishvananda/netns v0.0.0-20180720170159-13995c7128cc // indirect | ||
golang.org/x/net v0.0.0-20190613194153-d28f0bde5980 | ||
google.golang.org/genproto v0.0.0-20181221175505-bd9b4fb69e2f // indirect | ||
google.golang.org/grpc v1.17.0 | ||
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e // indirect | ||
golang.org/x/sys v0.0.0-20200413165638-669c56c373c4 // indirect | ||
golang.org/x/text v0.3.2 // indirect | ||
google.golang.org/genproto v0.0.0-20200413115906-b5235f65be36 // indirect | ||
google.golang.org/grpc v1.28.0 | ||
google.golang.org/protobuf v1.21.0 | ||
gopkg.in/yaml.v2 v2.2.2 | ||
) | ||
... | ... |
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment