routes

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMultiRoutes

func AddMultiRoutes(ip string, prefix uint32, nexthops []string) error

func AddRoute

func AddRoute(ip string, prefix uint32, nexthops []string) error

func DeleteMultiRoutes

func DeleteMultiRoutes(ip string, prefix uint32, nexthops []string) error

func DeleteRoutes

func DeleteRoutes(ip string, nexthops []string) error

func GenerateIdentifier

func GenerateIdentifier(nexthop string) uint32

func IsRouteAdded

func IsRouteAdded(ip string, prefix uint32) bool

func ReconcileRoutes

func ReconcileRoutes(ip string, nexthops []string) (toAdd []string, toDelete []string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL