ovn

package
v0.0.0-...-66905c0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OVNGatewayInterface = "br-ex"

	OVNKubernetesV4MasqueradeIP = "169.254.169.2"
	OVNKubernetesV6MasqueradeIP = "fd69::2"

	// used for multinode ovn database transport
	OVN_NB_PORT = "9641"
	OVN_SB_PORT = "9642"

	// geneve header length for IPv4
	GeneveHeaderLengthIPv4 = 58
	// geneve header length for IPv6
	GeneveHeaderLengthIPv6 = GeneveHeaderLengthIPv4 + 20
)

Variables

This section is empty.

Functions

func ExcludeOVNKubernetesMasqueradeIPs

func ExcludeOVNKubernetesMasqueradeIPs(addrs []net.Addr) []net.Addr

func IsOVNKubernetesInternalInterface

func IsOVNKubernetesInternalInterface(name string) bool

Types

type OVNKubernetesConfig

type OVNKubernetesConfig struct {
	// MTU to use for the pod interface. Default is 1500.
	MTU int `json:"mtu,omitempty"`
}

func NewOVNKubernetesConfigFromFileOrDefault

func NewOVNKubernetesConfigFromFileOrDefault(dir string, multinode bool) (*OVNKubernetesConfig, error)

func (*OVNKubernetesConfig) Validate

func (o *OVNKubernetesConfig) Validate() error

Jump to

Keyboard shortcuts

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