QueryStrategy to allow querying routes based on Advertising Strategy

This commit is contained in:
Milos Gajdos
2020-01-16 12:48:36 +00:00
parent 689ae7cfc7
commit 5e85194a13
4 changed files with 146 additions and 18 deletions

View File

@@ -146,6 +146,7 @@ type Advert struct {
// Strategy is route advertisement strategy
type Strategy int
// TODO: remove the "Advertise" prefix from these
const (
// AdvertiseAll advertises all routes to the network
AdvertiseAll Strategy = iota