tsparams

package
v0.0.0-...-195d9e3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// LabelSuite used for ginkgo test suite label.
	LabelSuite = "bfd"
	// WorkerConfigMapName defines name of the configmap used by FRR daemonset.
	WorkerConfigMapName = "frr-worker-nodes-config"
	// MasterConfigMapName defines name of the configmap used by FRR Pod on master Node.
	MasterConfigMapName = "frr-master-nodes-config"
	// RoleName defines the role name.
	RoleName = "frr-role"
	// AppName defines the app name of the FRR container.
	AppName = "frr"
	// MountPath used for the ConfigMap volumemount.
	MountPath = "/etc/frr"
	// PeerConfigTemplate used while defining bfd peer config.
	PeerConfigTemplate = " peer %s\n   no shutdown\n !\n"
	// MasterNodeFRRPodName defines the pod name for the master pod.
	MasterNodeFRRPodName = "frr-pod-master"
	// TestNamespace defines the namespace used for test suite.
	TestNamespace = "bfd-test"
	// DaemonsFile configuration to enable bfd daemon in FRR.
	DaemonsFile = `` /* 2937-byte string literal not displayed */

)

All the constants required for the BFD test setup.

Variables

View Source
var (
	// Labels for the test suite.
	Labels = append(netparam.Labels, LabelSuite)

	// ReporterNamespacesToDump tells to reporter from where to collect logs.
	ReporterNamespacesToDump = map[string]string{
		TestNamespace: "bfd-test",
	}

	// ReporterCRDsToDump List of CRDs to dump.
	ReporterCRDsToDump = []k8sreporter.CRData{
		{Cr: &corev1.PodList{}},
		{Cr: &corev1.ConfigMapList{}},
		{Cr: &appsv1.DaemonSetList{}},
		{Cr: &rbacv1.RoleList{}},
		{Cr: &rbacv1.RoleBindingList{}},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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