metallbenv

package
v0.0.0-...-0821b2d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNewMetalLbDaemonSetAndWaitUntilItsRunning

func CreateNewMetalLbDaemonSetAndWaitUntilItsRunning(timeout time.Duration, nodeLabel map[string]string) error

CreateNewMetalLbDaemonSetAndWaitUntilItsRunning creates or recreates the new metalLb daemonset and waits until daemonset is in Ready state.

func DefineIterationParams

func DefineIterationParams(
	ipv4AddrList,
	ipv6AddrList,
	nodeExtIPv4AddrList,
	nodeExtIPv6AddrList []string,
	ipFamily string,
) (
	masterClientPod,
	subnetMast string,
	mlbAddrList,
	nodeExtAddrList,
	addressPool,
	frrPodMasterIPs []string,
	err error)

DefineIterationParams defines ip settings for iteration based on ipFamily parameter.

func DoesClusterSupportMetalLbTests

func DoesClusterSupportMetalLbTests(requiredCPNodeNumber, requiredWorkerNodeNumber int) error

DoesClusterSupportMetalLbTests verifies if given environment supports metalLb tests.

func GetMetalLbIPByIPStack

func GetMetalLbIPByIPStack() ([]string, []string, error)

GetMetalLbIPByIPStack returns metalLb IP addresses from env var typo:ECO_CNF_CORE_NET_MLB_ADDR_LIST sorted by IPStack.

func IsEnvVarMetalLbIPinNodeExtNetRange

func IsEnvVarMetalLbIPinNodeExtNetRange(nodeExtAddresses, metalLbEnvIPv4, metalLbEnvIPv6 []string) error

IsEnvVarMetalLbIPinNodeExtNetRange validates that the environmental IP variable is in the same IP range as the br-ex interface of the cluster under-test.

Types

This section is empty.

Jump to

Keyboard shortcuts

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