cni

package
v0.0.0-...-b4e5a94 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//VRSSocketFile socker file for connection to VRS
	VRSSocketFile = "/var/run/openvswitch/db.sock"
	//DefaultVRSBridge default vrs bridge to add vports
	DefaultVRSBridge = "alubr0"
	//CNIVersion version that the CNI plugin uses
	CNIVersion = "0.2.0"
	//LogLevel verbosity level for log messages
	LogLevel = "info"
	//MTU setting the interface MTU for packets
	MTU = 1450
	//NuageSiteID to be used for EVDF personalities
	NuageSiteID = -1
	//LogFileSize maximum file size after which rotation happens
	LogFileSize = 1
	//MonitorInterval monitor polling interval
	MonitorInterval = 60
	//PortResolveTimer timeout after which port resolution is declared failure
	PortResolveTimer = 60
	//VRSConnCheckTimer timeout after which vrs connection is re initiated
	VRSConnCheckTimer = 180
	//StaleEntryTimeout removes the stale entries from OVSDB after this time
	StaleEntryTimeout = 600
	//DefaultResourceName is the name of the resources like sa, role and role binding
	DefaultResourceName = "nuage-cni"
)

Variables

This section is empty.

Functions

func Parse

func Parse(config *operv1.CNIConfigDefinition) error

Parse validates the CNI config definition and fill in default values

Types

This section is empty.

Jump to

Keyboard shortcuts

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