Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Label represents net label that can be used for test cases selection. Label = "net" // IPV4Family represents IP version 4 protocol. IPV4Family = "IPv4" // IPV6Family represents IP version 6 protocol. IPV6Family = "IPv6" // DualIPFamily represents dual-stack(ipv4 and ipv6) IP protocol. DualIPFamily = "dual" // IPSubnet24 represents prefix 24 ipv4 subnet. IPSubnet24 = "24" // IPSubnet28 represents prefix 28 ipv4 subnet. IPSubnet28 = "28" // IPSubnet128 represents prefix 128 ipv6 subnet. IPSubnet128 = "128" // IPSubnet64 represents prefix 64 ipv6 subnet. IPSubnet64 = "64" // IPSubnet32 represents prefix 32 ipv4 subnet. IPSubnet32 = "32" // LogLevelDebug represents log level debug. LogLevelDebug = "debug" )
Variables ¶
View Source
var ( // Labels represents the range of labels that can be used for test cases selection. Labels = append(coreparams.Labels, Label) // OperatorConfigDaemon defaults SR-IOV config daemon daemonset. OperatorConfigDaemon = "sriov-network-config-daemon" // OperatorDevicePlugin defaults SR-IOV device plugin daemonset. OperatorDevicePlugin = "sriov-device-plugin" // OperatorWebhook defaults SR-IOV webhook daemonset. OperatorWebhook = "operator-webhook" // OperatorResourceInjector defaults SR-IOV network resource injector daemonset. OperatorResourceInjector = "network-resources-injector" // OperatorSriovDaemonsets represents all default SR-IOV operator daemonset names. OperatorSriovDaemonsets = []string{OperatorConfigDaemon, OperatorWebhook, OperatorResourceInjector} // DefaultTimeout represents the default timeout for most of Eventually/PollImmediate functions. DefaultTimeout = 300 * time.Second // MCOWaitTimeout represent timeout for mco operations. MCOWaitTimeout = 60 * time.Minute // VtySh represents default vtysh cmd prefix. VtySh = []string{"vtysh", "-c"} // MlxDeviceID is the Mellanox SRIOV device ID. MlxDeviceID = "1017" // MlxBFDeviceID is the Mellanox Bluefield SRIOV Device ID. MlxBFDeviceID = "a2d6" // ClusterMonitoringNSLabel represents Cluster Monitoring label for a NS to enable Prometheus Scraping. ClusterMonitoringNSLabel = map[string]string{"openshift.io/cluster-monitoring": "true"} // MlxVendorID is the Mellanox Sriov Vendor ID. MlxVendorID = "15b3" )
View Source
var NMState = "nmstate"
NMState default NMState resource name.
View Source
var NMStateCertDeploymentName = "nmstate-cert-manager"
NMStateCertDeploymentName default NMState nmstate-cert-manager deployment name.
View Source
var NMStateHandlerDsName = "nmstate-handler"
NMStateHandlerDsName default NMState handler daemonset name.
View Source
var NMStateWebhookDeploymentName = "nmstate-webhook"
NMStateWebhookDeploymentName default NMState webhook deployment name.
Functions ¶
This section is empty.
Types ¶
type BFDDescription ¶
BFDDescription defines struct for BFD status and respective peer.
Click to show internal directories.
Click to hide internal directories.