day1day2env

package
v0.0.0-...-d1a32ca Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckConnectivityBetweenMasterAndWorkers

func CheckConnectivityBetweenMasterAndWorkers() error

CheckConnectivityBetweenMasterAndWorkers creates a hostnetwork pod on the master node and ping all workers nodes. The Pod will be removed at the end.

func DoesClusterSupportDay1Day2Tests

func DoesClusterSupportDay1Day2Tests(requiredCPNodeNumber, requiredWorkerNodeNumber int) error

DoesClusterSupportDay1Day2Tests verifies if given environment supports Day1Day2 tests.

func GetBondInterfaceMiimon

func GetBondInterfaceMiimon(nodeName, bondInterfaceName string) (int, error)

GetBondInterfaceMiimon returns miimon value for given bond interface and node.

func GetBondModeViaCmd

func GetBondModeViaCmd(bondInterfaceName, nodeName string) (string, error)

GetBondModeViaCmd returns Bond mode for given Bond interface on a specific node.

func GetFirstVfInterfaceMaxTxRate

func GetFirstVfInterfaceMaxTxRate(nodeName, interfaceName string) (int, error)

GetFirstVfInterfaceMaxTxRate returns MaxTxRate value for given interface (VF0) and node.

Types

This section is empty.

Jump to

Keyboard shortcuts

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