Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
gnmitest_cli
Package main implements command line utility to call gnmitest service API.
|
Package main implements command line utility to call gnmitest service API. |
gnmitest_cli/common
Package common contains functions to run suite text proto and to write report proto into file.
|
Package common contains functions to run suite text proto and to write report proto into file. |
gnmitest_demo
Package main contains implementation to start gnmitest service.
|
Package main contains implementation to start gnmitest service. |
gnmitest_service
Package main contains an implementation of a gRPC service which can be used to execute the gNMI test framework.
|
Package main contains an implementation of a gRPC service which can be used to execute the gNMI test framework. |
Package common defines operations that are used within the gNMITest framework for multiple tests.
|
Package common defines operations that are used within the gNMITest framework for multiple tests. |
report
Package report contains common helpers to process report proto messages.
|
Package report contains common helpers to process report proto messages. |
testerror
Package testerror contains List type that implements error interface.
|
Package testerror contains List type that implements error interface. |
Package config creates a wrapper around Suite proto message.
|
Package config creates a wrapper around Suite proto message. |
Package resolver contains a dictionary of credentials resolvers.
|
Package resolver contains a dictionary of credentials resolvers. |
proto
|
|
Package register contains lookup table to get an instance of test.Subscribe.
|
Package register contains lookup table to get an instance of test.Subscribe. |
Package runner has functions to be able to run given suite of tests.
|
Package runner has functions to be able to run given suite of tests. |
Package schemafake defines a fake implementation of a gNMI device with a known schema which is used to validate tests within the gNMITest framework.
|
Package schemafake defines a fake implementation of a gNMI device with a known schema which is used to validate tests within the gNMITest framework. |
Package schema exports functions to register given schema information into lookup table as well as to retrieve from lookup table.
|
Package schema exports functions to register given schema information into lookup table as well as to retrieve from lookup table. |
openconfig
Package gostructs is a generated package which contains definitions of structs which represent a YANG schema.
|
Package gostructs is a generated package which contains definitions of structs which represent a YANG schema. |
openconfig/register
Package openconfig registers generated gostructs with "openconfig" key.
|
Package openconfig registers generated gostructs with "openconfig" key. |
Package service implements the gnmitest.proto Run service API.
|
Package service implements the gnmitest.proto Run service API. |
Package subscribe contains test interface definitions for gnmi Subscribe RPC.
|
Package subscribe contains test interface definitions for gnmi Subscribe RPC. |
tests
|
|
getsetv
Package getsetv defines the logic that implements the GetSetValidate tests for the gnmitest framework.
|
Package getsetv defines the logic that implements the GetSetValidate tests for the gnmitest framework. |
subscribe/datatreepaths
Package datatreepaths implements a test which can check the contents of the data tree for particular path.
|
Package datatreepaths implements a test which can check the contents of the data tree for particular path. |
subscribe/gnmipathc
Package gnmipathc tests whether received SubscribeResponse messages has a gNMI Path format in accordance with the specification.
|
Package gnmipathc tests whether received SubscribeResponse messages has a gNMI Path format in accordance with the specification. |
subscribe/haskeys
Package haskeys runs a test that checks that a particular list within the OpenConfig schema has a set of specified keys.
|
Package haskeys runs a test that checks that a particular list within the OpenConfig schema has a set of specified keys. |
subscribe/pathvalidation
Package pathvalidation implements subscribe.Test interface and registers factory function to registry.
|
Package pathvalidation implements subscribe.Test interface and registers factory function to registry. |
subscribe/schemapathc
Package schemapathc runs a test in the gnmitest framework that checks for the presence of at least one gNMI Notification with each of the specified YANG schema paths.
|
Package schemapathc runs a test in the gnmitest framework that checks for the presence of at least one gNMI Notification with each of the specified YANG schema paths. |
subscribe/valuevalidation
Package valuevalidation contains gnmitest test that attempts to unmarshal received SubscribeResponse updates into GoStruct.
|
Package valuevalidation contains gnmitest test that attempts to unmarshal received SubscribeResponse updates into GoStruct. |
Click to show internal directories.
Click to hide internal directories.