Documentation ¶
Index ¶
- Constants
- type Handler
- func (ovn *Handler) GetName() string
- func (ovn *Handler) GetNetworkPlugins() []string
- func (ovn *Handler) Init() error
- func (ovn *Handler) LocalEndpointCreated(endpoint *submV1.Endpoint) error
- func (ovn *Handler) LocalEndpointRemoved(endpoint *submV1.Endpoint) error
- func (ovn *Handler) LocalEndpointUpdated(endpoint *submV1.Endpoint) error
- func (ovn *Handler) RemoteEndpointCreated(endpoint *submV1.Endpoint) error
- func (ovn *Handler) RemoteEndpointRemoved(endpoint *submV1.Endpoint) error
- func (ovn *Handler) RemoteEndpointUpdated(endpoint *submV1.Endpoint) error
- func (ovn *Handler) TransitionToGateway() error
- func (ovn *Handler) TransitionToNonGateway() error
Constants ¶
View Source
const ExpectedIPSECOverhead = 62
View Source
const IPTCPOverHead = 40
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 MSSFor1500MTU = 1500 - IPTCPOverHead - ExpectedIPSECOverhead
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) GetNetworkPlugins ¶
func (*Handler) LocalEndpointCreated ¶
func (*Handler) LocalEndpointRemoved ¶
func (*Handler) LocalEndpointUpdated ¶
func (*Handler) RemoteEndpointCreated ¶
func (*Handler) RemoteEndpointRemoved ¶
func (*Handler) RemoteEndpointUpdated ¶
func (*Handler) TransitionToGateway ¶
func (*Handler) TransitionToNonGateway ¶
Click to show internal directories.
Click to hide internal directories.