Documentation ¶
Index ¶
Constants ¶
View Source
const ( Kbps = 1000 Mbps = 1000 * 1000 Gbps = 1000 * 1000 * 1000 Tbps = 1000 * 1000 * 1000 * 1000 Kibps = 1024 Mibps = 1024 * 1024 Gibps = 1024 * 1024 * 1024 Tibps = 1024 * 1024 * 1024 * 1024 )
View Source
const ( TCPROGPath = "/usr/share/bwmcli/bwm_tc.o" CNILogFilePath = "/var/log/volcano/agent/network-qos.log" ToolCmdLogFilePath = "/var/log/volcano/agent/network-qos-tools.log" NetWorkCmdFile = "/usr/local/bin/network-qos" DefaultCNIConfFile = "/etc/cni/net.d/cni.conflist" )
View Source
const ( OnlineBandwidthWatermarkKey = "online-bandwidth-watermark" OfflineLowBandwidthKey = "offline-low-bandwidth" OfflineHighBandwidthKey = "offline-high-bandwidth" NetWorkQoSCheckInterval = "check-interval" NodeColocationEnable = "colocation" EnableNetworkQoS = "enable-network-qos" CNIPluginName = "network-qos" )
View Source
const ( OpenEulerOSReleaseName = "openEuler" OpenEulerOSReleaseVersion = "22.03 (LTS-SP2)" // HostOSReleasePathEnv presents the key for env of host os release file HostOSReleasePathEnv = "HOST_OS_RELEASE" DefaultNodeOSReleasePath = "/host/etc/os-release" NetworkQoSPath = "/opt/cni/bin/network-qos" )
View Source
const (
// CNIConfFilePathEnv presents the key for env of cni con file
CNIConfFilePathEnv = "CNI_CONF_FILE_PATH"
)
View Source
const (
DefaultInterval = "10000000" // 1000000 纳秒 = 10 毫秒
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.