config

package
v0.10.24 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestSuite

type TestSuite struct {
	ConfigReplicaCount int64
	// contains filtered or unexported fields
}

TestSuite is the onos-config GNMI test suite

func (*TestSuite) SetupTestSuite

func (s *TestSuite) SetupTestSuite(c *input.Context) error

SetupTestSuite sets up the onos-config GNMI test suite

func (*TestSuite) TestCrashedTarget added in v0.10.24

func (s *TestSuite) TestCrashedTarget(t *testing.T)

TestCrashedTarget tests that a crashed target receives proper configuration restoration

func (*TestSuite) TestCreatedRemovedTarget

func (s *TestSuite) TestCreatedRemovedTarget(t *testing.T)

TestCreatedRemovedTarget tests set/query of a single GNMI path to a single target that is created, removed, then created again

func (*TestSuite) TestDeleteAndRollback

func (s *TestSuite) TestDeleteAndRollback(t *testing.T)

TestDeleteAndRollback tests target deletion and rollback

func (*TestSuite) TestDeletePathLeaf added in v0.10.22

func (s *TestSuite) TestDeletePathLeaf(t *testing.T)

TestDeletePathLeaf checks that when a leaf node is removed, its path is removed

func (*TestSuite) TestDeleteRoot added in v0.10.22

func (s *TestSuite) TestDeleteRoot(t *testing.T)

TestDeleteRoot checks that when a root node is removed, its path is removed

func (*TestSuite) TestDeleteUpdate added in v0.10.24

func (s *TestSuite) TestDeleteUpdate(t *testing.T)

TestDeleteUpdate tests update of a path after a previous deletion of a parent path

func (*TestSuite) TestGetAllTargets added in v0.10.22

func (s *TestSuite) TestGetAllTargets(t *testing.T)

TestGetAllTargets tests retrieval of all target IDs via path.Target="*"

func (*TestSuite) TestGetOperationAfterNodeRestart added in v0.10.15

func (s *TestSuite) TestGetOperationAfterNodeRestart(t *testing.T)

TestGetOperationAfterNodeRestart tests a Get operation after restarting the onos-config node

func (*TestSuite) TestGetState added in v0.10.20

func (s *TestSuite) TestGetState(t *testing.T)

TestGetState tests query/set/delete of a single GNMI path to a single device

func (*TestSuite) TestModels

func (s *TestSuite) TestModels(t *testing.T)

TestModels tests GNMI operation involving unknown or illegal paths

func (*TestSuite) TestMultipleSet

func (s *TestSuite) TestMultipleSet(t *testing.T)

TestMultipleSet tests multiple query/set/delete of a single GNMI path to a single device

func (*TestSuite) TestOfflineTarget

func (s *TestSuite) TestOfflineTarget(t *testing.T)

TestOfflineTarget tests set/query of a single GNMI path to a single target that is initially not connected to onos-config

func (*TestSuite) TestSetOperationAfterNodeRestart added in v0.10.15

func (s *TestSuite) TestSetOperationAfterNodeRestart(t *testing.T)

TestSetOperationAfterNodeRestart tests a Set operation after restarting the onos-config node

func (*TestSuite) TestSinglePath

func (s *TestSuite) TestSinglePath(t *testing.T)

TestSinglePath tests query/set/delete of a single GNMI path to a single device

func (*TestSuite) TestTopoIntegration

func (s *TestSuite) TestTopoIntegration(t *testing.T)

TestTopoIntegration checks that the correct topology entities and relations are created

func (*TestSuite) TestTransaction

func (s *TestSuite) TestTransaction(t *testing.T)

TestTransaction tests setting multiple paths in a single request and rolling it back

func (*TestSuite) TestTreePath

func (s *TestSuite) TestTreePath(t *testing.T)

TestTreePath tests create/set/delete of a tree of GNMI paths to a single device

func (*TestSuite) TestUpdateDelete

func (s *TestSuite) TestUpdateDelete(t *testing.T)

TestUpdateDelete tests update and delete paths in a single GNMI request

Jump to

Keyboard shortcuts

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