First batch of Add/Del/Update tests.

This commit is contained in:
Milos Gajdos
2019-07-01 22:57:27 +01:00
parent c108b51d2a
commit ffac0b9a18
3 changed files with 208 additions and 4 deletions

View File

@@ -18,10 +18,10 @@ var (
type RoutePolicy int
const (
// OverrideIfExists overrides route if it already exists
OverrideIfExists RoutePolicy = iota
// AddIfNotExist adds the route if it does not exist
AddIfNotExists
AddIfNotExists RoutePolicy = iota
// OverrideIfExists overrides route if it already exists
OverrideIfExists
// IgnoreIfExists instructs to not modify existing route
IgnoreIfExists
)