l2announcer

package
v1.17.0-pre.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cell = cell.Module(
	"l2-announcer",
	"L2 Announcer",

	cell.Provide(NewL2Announcer),
	cell.Provide(l2AnnouncementPolicyResource),
)

Functions

This section is empty.

Types

type L2Announcer

type L2Announcer struct {
	// contains filtered or unexported fields
}

L2Announcer takes all L2 announcement policies and filters down to those that match the labels of the local node. It then searches all services that match the selectors of the policies. For each service, we attempt to take a lease, the holder node persists all IPs and netdev combinations selected by the policy to the L2AnnounceTable. Datapath components consume them and handle traffic for the IP+netdev entries.

func NewL2Announcer

func NewL2Announcer(params l2AnnouncerParams) *L2Announcer

Jump to

Keyboard shortcuts

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