routing

package
v0.0.0-...-d780fd3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 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 AddIptablesBridge

func AddIptablesBridge(bridgeName, hostDeviceName, nodeCIDR string) error

func AddIptablesHost

func AddIptablesHost(hostDeviceName, nodeCIDR string, clusterCIDR string) error

func AddRoutes

func AddRoutes(localVtepID int, remoteTenantCIDR *net.IPNet, remoteVtepIP net.IP) 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

func IsolateTenant

func IsolateTenant(tenant1CIDR string, tenant2CIDR string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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