ovn

package
v0.12.0-m1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IPTCPOverHead         = 40
	ExpectedIPSECOverhead = 62
	MSSFor1500MTU         = 1500 - IPTCPOverHead - ExpectedIPSECOverhead
)

TODO: if the #1022 workaround needs to be sustained for some time, instead of this we should be calculating

      the PMTU with a tool like tracepath between the gateway endpoints, reporting back so we can use such
		 information here.
View Source
const (
	OVNK8sMgmntIntfName = "ovn-k8s-mp0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	event.HandlerBase
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(env *environment.Specification, smClientSet clientset.Interface) *Handler

func (*Handler) GetName

func (ovn *Handler) GetName() string

func (*Handler) GetNetworkPlugins

func (ovn *Handler) GetNetworkPlugins() []string

func (*Handler) Init

func (ovn *Handler) Init() error

func (*Handler) LocalEndpointCreated

func (ovn *Handler) LocalEndpointCreated(endpoint *submV1.Endpoint) error

func (*Handler) LocalEndpointRemoved

func (ovn *Handler) LocalEndpointRemoved(endpoint *submV1.Endpoint) error

func (*Handler) LocalEndpointUpdated

func (ovn *Handler) LocalEndpointUpdated(endpoint *submV1.Endpoint) error

func (*Handler) RemoteEndpointCreated

func (ovn *Handler) RemoteEndpointCreated(endpoint *submV1.Endpoint) error

func (*Handler) RemoteEndpointRemoved

func (ovn *Handler) RemoteEndpointRemoved(endpoint *submV1.Endpoint) error

func (*Handler) RemoteEndpointUpdated

func (ovn *Handler) RemoteEndpointUpdated(endpoint *submV1.Endpoint) error

func (*Handler) TransitionToGateway

func (ovn *Handler) TransitionToGateway() error

func (*Handler) TransitionToNonGateway

func (ovn *Handler) TransitionToNonGateway() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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