Documentation ¶
Overview ¶
© 2021 Red Hat, Inc. and others
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
© 2021 Red Hat, Inc. and others
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
© 2021 Red Hat, Inc. and others
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
© 2021 Red Hat, Inc. and others
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
© 2021 Red Hat, Inc. and others
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
© 2021 Red Hat, Inc. and others
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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 ¶
const ExpectedIPSECOverhead = 62
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.
const MSSFor1500MTU = 1500 - IPTCPOverHead - ExpectedIPSECOverhead
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