modelb

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package modelb is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.

This package was generated by ygnmi version: (devel): (ygot: v0.29.17) using the following YANG input files:

  • ../../pathgen/testdata/yang/openconfig-simple.yang
  • ../../pathgen/testdata/yang/openconfig-withlistval.yang
  • ../../pathgen/testdata/yang/openconfig-nested.yang

Imported modules were sourced from:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model_MultiKeyPath

type Model_MultiKeyPath struct {
	*ygnmi.NodePath
}

Model_MultiKeyPath represents the /openconfig-withlistval/model/b/multi-key YANG schema element.

func (*Model_MultiKeyPath) Config

Config returns a Query that can be used in gNMI operations.

func (*Model_MultiKeyPath) Key1

Key1 (leaf):

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "*/key1"
Path from root:       "/model/b/multi-key/*/key1"

func (*Model_MultiKeyPath) Key2

Key2 (leaf):

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "*/key2"
Path from root:       "/model/b/multi-key/*/key2"

func (*Model_MultiKeyPath) State

State returns a Query that can be used in gNMI operations.

type Model_MultiKeyPathAny

type Model_MultiKeyPathAny struct {
	*ygnmi.NodePath
}

Model_MultiKeyPathAny represents the wildcard version of the /openconfig-withlistval/model/b/multi-key YANG schema element.

func (*Model_MultiKeyPathAny) Config

Config returns a Query that can be used in gNMI operations.

func (*Model_MultiKeyPathAny) Key1

Key1 (leaf):

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "*/key1"
Path from root:       "/model/b/multi-key/*/key1"

func (*Model_MultiKeyPathAny) Key2

Key2 (leaf):

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "*/key2"
Path from root:       "/model/b/multi-key/*/key2"

func (*Model_MultiKeyPathAny) State

State returns a Query that can be used in gNMI operations.

func (*Model_MultiKeyPathAny) WithKey1

WithKey1 sets Model_MultiKeyPathAny's key "key1" to the specified value. Key1: uint32

func (*Model_MultiKeyPathAny) WithKey2

WithKey2 sets Model_MultiKeyPathAny's key "key2" to the specified value. Key2: uint64

type Model_MultiKeyPathMap

type Model_MultiKeyPathMap struct {
	*ygnmi.NodePath
}

Model_MultiKeyPathMap represents the /openconfig-withlistval/model/b/multi-key YANG schema element.

func (*Model_MultiKeyPathMap) Config

Config returns a Query that can be used in gNMI operations.

func (*Model_MultiKeyPathMap) State

State returns a Query that can be used in gNMI operations.

type Model_MultiKeyPathMapAny

type Model_MultiKeyPathMapAny struct {
	*ygnmi.NodePath
}

Model_MultiKeyPathMapAny represents the wildcard version of the /openconfig-withlistval/model/b/multi-key YANG schema element.

func (*Model_MultiKeyPathMapAny) Config

Config returns a Query that can be used in gNMI operations.

func (*Model_MultiKeyPathMapAny) State

State returns a Query that can be used in gNMI operations.

type Model_MultiKey_Key1Path

type Model_MultiKey_Key1Path struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Model_MultiKey_Key1Path represents the /openconfig-withlistval/model/b/multi-key/config/key1 YANG schema element.

func (*Model_MultiKey_Key1Path) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "config/key1"
Path from root:       "/model/b/multi-key/config/key1"

func (*Model_MultiKey_Key1Path) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "state/key1"
Path from root:       "/model/b/multi-key/state/key1"

type Model_MultiKey_Key1PathAny

type Model_MultiKey_Key1PathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Model_MultiKey_Key1PathAny represents the wildcard version of the /openconfig-withlistval/model/b/multi-key/config/key1 YANG schema element.

func (*Model_MultiKey_Key1PathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "config/key1"
Path from root:       "/model/b/multi-key/config/key1"

func (*Model_MultiKey_Key1PathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "state/key1"
Path from root:       "/model/b/multi-key/state/key1"

type Model_MultiKey_Key2Path

type Model_MultiKey_Key2Path struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Model_MultiKey_Key2Path represents the /openconfig-withlistval/model/b/multi-key/config/key2 YANG schema element.

func (*Model_MultiKey_Key2Path) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "config/key2"
Path from root:       "/model/b/multi-key/config/key2"

func (*Model_MultiKey_Key2Path) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "state/key2"
Path from root:       "/model/b/multi-key/state/key2"

type Model_MultiKey_Key2PathAny

type Model_MultiKey_Key2PathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Model_MultiKey_Key2PathAny represents the wildcard version of the /openconfig-withlistval/model/b/multi-key/config/key2 YANG schema element.

func (*Model_MultiKey_Key2PathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "config/key2"
Path from root:       "/model/b/multi-key/config/key2"

func (*Model_MultiKey_Key2PathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "state/key2"
Path from root:       "/model/b/multi-key/state/key2"

Jump to

Keyboard shortcuts

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