rdscorecommon

package
v0.0.0-...-8357b5a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployWorkflowCephFSPVC

func DeployWorkflowCephFSPVC(ctx SpecContext)

DeployWorkflowCephFSPVC Verify workload with CephFS PVC.

func DeployWorkloadCephRBDPVC

func DeployWorkloadCephRBDPVC(ctx SpecContext)

DeployWorkloadCephRBDPVC Verify workload with CephRBD PVC.

func ReachURLviaFRRroute

func ReachURLviaFRRroute(ctx SpecContext)

ReachURLviaFRRroute test URL via route learned by MetalLB FRR.

func ValidateAllPoliciesCompliant

func ValidateAllPoliciesCompliant()

ValidateAllPoliciesCompliant asserts all policies are compliant.

func VefityPersistentStorageSuite

func VefityPersistentStorageSuite()

VefityPersistentStorageSuite container that contains tests for persistent storage verification.

func VerifyAllNNCPsAreOK

func VerifyAllNNCPsAreOK(ctx SpecContext)

VerifyAllNNCPsAreOK assert all available NNCPs are Available, not progressing and not degraded.

func VerifyCephFSPVC

func VerifyCephFSPVC(ctx SpecContext)

VerifyCephFSPVC Verify workload with CephFS PVC.

func VerifyCephRBDPVC

func VerifyCephRBDPVC(ctx SpecContext)

VerifyCephRBDPVC Verify workload with CephRBD PVC.

func VerifyDataOnCephFSPVC

func VerifyDataOnCephFSPVC(ctx SpecContext)

VerifyDataOnCephFSPVC verify data on CephFS PVC.

func VerifyDataOnCephRBDPVC

func VerifyDataOnCephRBDPVC(ctx SpecContext)

VerifyDataOnCephRBDPVC verify data on CephRBD PVC.

func VerifyEgressServiceConnectivityETPCluster

func VerifyEgressServiceConnectivityETPCluster()

VerifyEgressServiceConnectivityETPCluster verifies source IP address when external traffic policy is set to Cluster.

func VerifyEgressServiceConnectivityETPLocal

func VerifyEgressServiceConnectivityETPLocal()

VerifyEgressServiceConnectivityETPLocal verifies source IP address when external traffic policy is set to Local.

func VerifyEgressServiceETPLocalIngressConnectivity

func VerifyEgressServiceETPLocalIngressConnectivity()

VerifyEgressServiceETPLocalIngressConnectivity verifies ingress IP address while accessing backend pods via loadbalancer with ETP=Local.

func VerifyEgressServiceWithClusterETP

func VerifyEgressServiceWithClusterETP(ctx SpecContext)

VerifyEgressServiceWithClusterETP verifies EgressService with externalTrafficPolicy set to Cluster.

func VerifyEgressServiceWithLocalETP

func VerifyEgressServiceWithLocalETP(ctx SpecContext)

VerifyEgressServiceWithLocalETP verifies EgressService with externalTrafficPolicy set to Local.

func VerifyGRMultipleConnectionIPv4ETPLocal

func VerifyGRMultipleConnectionIPv4ETPLocal()

VerifyGRMultipleConnectionIPv4ETPLocal check MetalLB graceful restart.

func VerifyGRMultipleConnectionIPv6ETPLocal

func VerifyGRMultipleConnectionIPv6ETPLocal()

VerifyGRMultipleConnectionIPv6ETPLocal check MetalLB graceful restart.

func VerifyGRSingleConnectionIPv4ETPLocal

func VerifyGRSingleConnectionIPv4ETPLocal()

VerifyGRSingleConnectionIPv4ETPLocal check MetalLB graceful restart.

func VerifyGRSingleConnectionIPv6ETPLocal

func VerifyGRSingleConnectionIPv6ETPLocal()

VerifyGRSingleConnectionIPv6ETPLocal check MetalLB graceful restart.

func VerifyGracefulRebootSuite

func VerifyGracefulRebootSuite()

VerifyGracefulRebootSuite container that contains tests for graceful reboot verification.

func VerifyHardRebootSuite

func VerifyHardRebootSuite()

VerifyHardRebootSuite container that contains tests for ungraceful cluster reboot verification.

func VerifyIPVLANConnectivityBetweenDifferentNodes

func VerifyIPVLANConnectivityBetweenDifferentNodes()

VerifyIPVLANConnectivityBetweenDifferentNodes verifies connectivity between workloads, using IPVLAN interfaces and running on different nodes.

func VerifyIPVLANConnectivityOnSameNode

func VerifyIPVLANConnectivityOnSameNode()

VerifyIPVLANConnectivityOnSameNode verifies connectivity between workloads that use IPVLAN net.

func VerifyIPVlanOnDifferentNodes

func VerifyIPVlanOnDifferentNodes()

VerifyIPVlanOnDifferentNodes verifies connectivity between freshly deployed workloads that use same IPVLAN definition and are scheduled on different nodes.

func VerifyIPVlanOnSameNode

func VerifyIPVlanOnSameNode()

VerifyIPVlanOnSameNode verifies connectivity between freshly deployed workloads that use same IPVLAN definition and are scheduled to the same node.

func VerifyKDumpOnCNFMCP

func VerifyKDumpOnCNFMCP(ctx SpecContext)

VerifyKDumpOnCNFMCP check KDump service on nodes in "CNF" MCP.

func VerifyKDumpOnControlPlane

func VerifyKDumpOnControlPlane(ctx SpecContext)

VerifyKDumpOnControlPlane check KDump service on Control Plane nodes.

func VerifyKDumpOnWorkerMCP

func VerifyKDumpOnWorkerMCP(ctx SpecContext)

VerifyKDumpOnWorkerMCP check KDump service on nodes in "Worker" MCP.

func VerifyMACVLANConnectivityBetweenDifferentNodes

func VerifyMACVLANConnectivityBetweenDifferentNodes()

VerifyMACVLANConnectivityBetweenDifferentNodes verifies connectivity between workloads, using MACVLAN interfaces and running on different nodes.

func VerifyMACVLANConnectivityOnSameNode

func VerifyMACVLANConnectivityOnSameNode()

VerifyMACVLANConnectivityOnSameNode verifies connectivity between workloads that use MACVLAN net.

func VerifyMacVlanOnDifferentNodes

func VerifyMacVlanOnDifferentNodes()

VerifyMacVlanOnDifferentNodes verifies connectivity between freshly deployed workloads that use same MACVLAN definition and are scheduled on different nodes.

func VerifyMacVlanOnSameNode

func VerifyMacVlanOnSameNode()

VerifyMacVlanOnSameNode verifies connectivity between freshly deployed workloads that use same MACVLAN definition and are scheduled to the same node.

func VerifyMountNamespaceOnCNFMCP

func VerifyMountNamespaceOnCNFMCP(ctx SpecContext)

VerifyMountNamespaceOnCNFMCP check mount namespace service on nodes in "CNF" MCP.

func VerifyMountNamespaceOnControlPlane

func VerifyMountNamespaceOnControlPlane(ctx SpecContext)

VerifyMountNamespaceOnControlPlane check mount namespace on Control Plane nodes.

func VerifyMountNamespaceOnWorkerMCP

func VerifyMountNamespaceOnWorkerMCP(ctx SpecContext)

VerifyMountNamespaceOnWorkerMCP check mount namespace service on nodes in "Worker" MCP.

func VerifyNMStateInstanceExists

func VerifyNMStateInstanceExists(ctx SpecContext)

VerifyNMStateInstanceExists assert that NMState instance exists.

func VerifyNMStateNamespaceExists

func VerifyNMStateNamespaceExists(ctx SpecContext)

VerifyNMStateNamespaceExists asserts namespace for NMState operator exists.

func VerifyNMStateSuite

func VerifyNMStateSuite()

VerifyNMStateSuite container that contains tests for NMState verification.

func VerifyNROPWorkload

func VerifyNROPWorkload(ctx SpecContext)

VerifyNROPWorkload deploys workload with NROP scheduler.

func VerifyNROPWorkloadAvailable

func VerifyNROPWorkloadAvailable(ctx SpecContext)

VerifyNROPWorkloadAvailable verifies NUMA-aware workload is in Ready state.

func VerifySRIOVConnectivityBetweenDifferentNodes

func VerifySRIOVConnectivityBetweenDifferentNodes(ctx SpecContext)

VerifySRIOVConnectivityBetweenDifferentNodes test connectivity after cluster's reboot.

func VerifySRIOVConnectivityOnDifferentNodesAndDifferentNetworks

func VerifySRIOVConnectivityOnDifferentNodesAndDifferentNetworks()

VerifySRIOVConnectivityOnDifferentNodesAndDifferentNetworks verifies connectivity between workloads running on different SR-IOV networks and different nodes.

func VerifySRIOVConnectivityOnSameNode

func VerifySRIOVConnectivityOnSameNode(ctx SpecContext)

VerifySRIOVConnectivityOnSameNode tests connectivity after cluster's reboot.

func VerifySRIOVConnectivityOnSameNodeAndDifferentNets

func VerifySRIOVConnectivityOnSameNodeAndDifferentNets()

VerifySRIOVConnectivityOnSameNodeAndDifferentNets verifies connectivity between workloads scheduled on the same node and on different SR-IOV networks.

func VerifySRIOVSuite

func VerifySRIOVSuite()

VerifySRIOVSuite container that contains tests for SR-IOV verification.

func VerifySRIOVWorkloadsOnDifferentNodes

func VerifySRIOVWorkloadsOnDifferentNodes(ctx SpecContext)

VerifySRIOVWorkloadsOnDifferentNodes deploy worklods with SRIOV interfaces on the same node Test config:

Same SR-IOV network
Same Namespace
Different nodes

func VerifySRIOVWorkloadsOnDifferentNodesDifferentNet

func VerifySRIOVWorkloadsOnDifferentNodesDifferentNet(ctx SpecContext)

VerifySRIOVWorkloadsOnDifferentNodesDifferentNet deploy worklods with different SRIOV networks on different nodes

func VerifySRIOVWorkloadsOnSameNode

func VerifySRIOVWorkloadsOnSameNode(ctx SpecContext)

VerifySRIOVWorkloadsOnSameNode deploy worklods with SRIOV interfaces on the same node

func VerifySRIOVWorkloadsOnSameNodeDifferentNet

func VerifySRIOVWorkloadsOnSameNodeDifferentNet(ctx SpecContext)

VerifySRIOVWorkloadsOnSameNodeDifferentNet deploy worklods with different SRIOV networks on the same node

func VerifySoftReboot

func VerifySoftReboot(ctx SpecContext)

VerifySoftReboot performs graceful reboot of a cluster with cordoning and draining of individual nodes.

func VerifyUngracefulReboot

func VerifyUngracefulReboot(ctx SpecContext)

VerifyUngracefulReboot performs ungraceful reboot of the cluster.

func WaitAllDeploymentsAreAvailable

func WaitAllDeploymentsAreAvailable(ctx SpecContext)

WaitAllDeploymentsAreAvailable wait for all deployments in all namespaces to be Available.

func WaitAllNodesAreReady

func WaitAllNodesAreReady(ctx SpecContext)

WaitAllNodesAreReady waits for all the nodes in the cluster to report Ready state.

func WaitAllStatefulsetsReady

func WaitAllStatefulsetsReady(ctx SpecContext)

WaitAllStatefulsetsReady checks all statefulset objects are in Ready state.

Types

type Counter

type Counter struct {
	Count       int64
	CounterLock sync.Mutex
	Start       time.Time
	End         time.Time
	Success     []Event
	Failures    []Event
	FailedDial  []Event
	FailedRead  []Event
	FailedWrite []Event
}

Counter structre is used to measure successful and failed connection attempts.

type Event

type Event struct {
	Msg       string
	Timestamp time.Time
}

Event structure stores basic data about connection attempts.

Jump to

Keyboard shortcuts

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