gateway

package
v0.0.0-...-ab2bbed Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// OvnGatewayLoadBalancerIds represent the OVN loadbalancers used on nodes
	OvnGatewayLoadBalancerIds = "lb_gateway_router"
)

Variables

This section is empty.

Functions

func CreateDummyGWMacBindings

func CreateDummyGWMacBindings(nbClient libovsdbclient.Client, gwRouterName string, netInfo util.NetInfo) error

CreateDummyGWMacBindings creates mac bindings (ipv4 and ipv6) for a fake next hops used by host->service traffic

func DeleteDummyGWMacBindings

func DeleteDummyGWMacBindings(nbClient libovsdbclient.Client, gwRouterName string, netInfo util.NetInfo) error

DeleteDummyGWMacBindings removes mac bindings (ipv4 and ipv6) for a fake next hops used by host->service traffic

func GetGatewayPhysicalIPs

func GetGatewayPhysicalIPs(nbClient libovsdbclient.Client, gatewayRouter string) ([]string, error)

GetGatewayPhysicalIPs return gateway physical IPs

func GetOvnGateways

func GetOvnGateways(nbClient libovsdbclient.Client) ([]string, error)

GetOvnGateways return all created gateways.

Types

This section is empty.

Jump to

Keyboard shortcuts

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