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