acctz

package
v0.0.0-...-11437aa Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package acctz provides helper APIs to simplify writing acctz test cases.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendFailCliCommand

func SendFailCliCommand(t *testing.T, dut *ondatra.DUTDevice) []*acctzpb.RecordResponse

SendFailCliCommand Setup test CLI command (failed) to be used in the acctz client tests.

func SendGnmiRPCs

func SendGnmiRPCs(t *testing.T, dut *ondatra.DUTDevice) []*acctzpb.RecordResponse

SendGnmiRPCs Setup gNMI test RPCs (successful and failed) to be used in the acctz client tests.

func SendGnoiRPCs

func SendGnoiRPCs(t *testing.T, dut *ondatra.DUTDevice) []*acctzpb.RecordResponse

SendGnoiRPCs Setup gNOI test RPCs (successful and failed) to be used in the acctz client tests.

func SendGnsiRPCs

func SendGnsiRPCs(t *testing.T, dut *ondatra.DUTDevice) []*acctzpb.RecordResponse

SendGnsiRPCs Setup gNSI test RPCs (successful and failed) to be used in the acctz client tests.

func SendGribiRPCs

func SendGribiRPCs(t *testing.T, dut *ondatra.DUTDevice) []*acctzpb.RecordResponse

SendGribiRPCs Setup gRIBI test RPCs (successful and failed) to be used in the acctz client tests.

func SendP4rtRPCs

func SendP4rtRPCs(t *testing.T, dut *ondatra.DUTDevice) []*acctzpb.RecordResponse

SendP4rtRPCs Setup P4RT test RPCs (successful and failed) to be used in the acctz client tests.

func SendShellCommand

func SendShellCommand(t *testing.T, dut *ondatra.DUTDevice) []*acctzpb.RecordResponse

SendShellCommand Setup test shell command (successful) to be used in the acctz client tests.

func SendSuccessCliCommand

func SendSuccessCliCommand(t *testing.T, dut *ondatra.DUTDevice) []*acctzpb.RecordResponse

SendSuccessCliCommand Setup test CLI command (successful) to be used in the acctz client tests.

func SetupUsers

func SetupUsers(t *testing.T, dut *ondatra.DUTDevice, configureFailCliRole bool)

SetupUsers Setup users for acctz tests and optionally configure cli role for denied commands.

Types

This section is empty.

Jump to

Keyboard shortcuts

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