fwd

package
v0.0.0-...-feac1bc Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataplaneBogus

func NewDataplaneBogus() *bogusDataplane

func NewDataplaneNative

func NewDataplaneNative() *linuxDataplane

Types

type Dataplane

type Dataplane interface {
	InterfaceVrf(ifname, vrfname string) error
	InterfaceAddressAdd(ifname, addr string) error
	InterfaceAddressDel(ifname, addr string) error
	InterfaceAddressGet(ifname string) ([]net.IPNet, error)
	VrfAddresses(vrfname string) ([]net.IPNet, error)
	Interfaces() ([]string, []string, error)
	InterfaceVrfGet(ifname string) (string, error)
}

func NewDataplane

func NewDataplane(dataplaneName string) Dataplane

Jump to

Keyboard shortcuts

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