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.
Click to show internal directories.
Click to hide internal directories.