routing

package
v0.0.0-...-07688d6 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddARP

func AddARP(localVtepID int, remoteVtepIP net.IP, remoteVtepMac net.HardwareAddr) error

func AddFDB

func AddFDB(localVtepID int, remoteHostIP net.IP, remoteVtepMac net.HardwareAddr) error

func AddRoutes

func AddRoutes(localVtepID int, remoteTenantCIDR *net.IPNet, remoteVtepIP net.IP) error

func AllowBridgeForward

func AllowBridgeForward(bridgeInterface string) error

func AllowForwardingTenant

func AllowForwardingTenant(TenantCIDR string) error

func BlockTenant2TenantTraffic

func BlockTenant2TenantTraffic(tenant1CIDR string, tenant2CIDR string) error

func CheckARP

func CheckARP(localVtepID int) ([]netlink.Neigh, error)

func DelARP

func DelARP(localVtepID int, remoteVtepIP net.IP, remoteVtepMac net.HardwareAddr) error

func DelFDB

func DelFDB(localVtepID int, remoteHostIP net.IP, remoteVtepMac net.HardwareAddr) error

func EnableIPForwarding

func EnableIPForwarding() error

Enables ip fowarding on the host

Types

This section is empty.

Jump to

Keyboard shortcuts

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