encapfrr

package
v0.0.0-...-6996415 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package encapfrr contains utility functions for encap frr using repair VRF.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureBaseGribiRoutes

func ConfigureBaseGribiRoutes(ctx context.Context, t *testing.T, dut *ondatra.DUTDevice, client *fluent.GRIBIClient)

ConfigureBaseGribiRoutes programs the base gribi routes for encap FRR using repair VRF

func StaticARPWithMagicUniversalIP

func StaticARPWithMagicUniversalIP(t *testing.T, dut *ondatra.DUTDevice)

StaticARPWithMagicUniversalIP programs the static ARP with magic universal IP

func StaticARPWithSpecificIP

func StaticARPWithSpecificIP(t *testing.T, dut *ondatra.DUTDevice)

StaticARPWithSpecificIP configures secondary IPs and static ARP.

Types

type TestCase

type TestCase struct {
	Desc                   string
	DownPortList           []string
	CapturePortList        []string
	EncapHeaderOuterIPList []string
	EncapHeaderInnerIPList []string
	TrafficDestIP          string
	LoadBalancePercent     []float64
	TestID                 string
}

TestCase is a struct to hold the parameters for FRR test cases.

func TestCases

func TestCases(atePortNamelist []string, ipv4InnerDst string) []*TestCase

TestCases returns a list of base test cases for FRR tests.

Jump to

Keyboard shortcuts

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