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 ¶
Click to show internal directories.
Click to hide internal directories.