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 OpenconfigWithlistval_Model_BPath

type OpenconfigWithlistval_Model_BPath struct {
	*ygnmi.NodePath
	ygnmi.ConfigQuery[*oc.OpenconfigWithlistval_Model_B]
}

OpenconfigWithlistval_Model_BPath represents the /openconfig-withlistval/model/b YANG schema element.

func (*OpenconfigWithlistval_Model_BPath) MultiKey

MultiKey (list):

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

Key1: uint32
Key2: uint64

func (*OpenconfigWithlistval_Model_BPath) MultiKeyAny

MultiKeyAny (list):

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

func (*OpenconfigWithlistval_Model_BPath) MultiKeyMap

MultiKeyMap (list):

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

type OpenconfigWithlistval_Model_BPathAny

type OpenconfigWithlistval_Model_BPathAny struct {
	*ygnmi.NodePath
	ygnmi.WildcardQuery[*oc.OpenconfigWithlistval_Model_B]
}

OpenconfigWithlistval_Model_BPathAny represents the wildcard version of the /openconfig-withlistval/model/b YANG schema element.

func (*OpenconfigWithlistval_Model_BPathAny) MultiKey

MultiKey (list):

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

Key1: uint32
Key2: uint64

func (*OpenconfigWithlistval_Model_BPathAny) MultiKeyAny

MultiKeyAny (list):

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

func (*OpenconfigWithlistval_Model_BPathAny) MultiKeyMap

MultiKeyMap (list):

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

type OpenconfigWithlistval_Model_B_MultiKeyPath

type OpenconfigWithlistval_Model_B_MultiKeyPath struct {
	*ygnmi.NodePath
	ygnmi.ConfigQuery[*oc.OpenconfigWithlistval_Model_B_MultiKey]
}

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

func (*OpenconfigWithlistval_Model_B_MultiKeyPath) Config

Config (container):

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

func (*OpenconfigWithlistval_Model_B_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 (*OpenconfigWithlistval_Model_B_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 (*OpenconfigWithlistval_Model_B_MultiKeyPath) State

State (container):

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

type OpenconfigWithlistval_Model_B_MultiKeyPathAny

type OpenconfigWithlistval_Model_B_MultiKeyPathAny struct {
	*ygnmi.NodePath
	ygnmi.WildcardQuery[*oc.OpenconfigWithlistval_Model_B_MultiKey]
}

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

func (*OpenconfigWithlistval_Model_B_MultiKeyPathAny) Config

Config (container):

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

func (*OpenconfigWithlistval_Model_B_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 (*OpenconfigWithlistval_Model_B_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 (*OpenconfigWithlistval_Model_B_MultiKeyPathAny) State

State (container):

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

func (*OpenconfigWithlistval_Model_B_MultiKeyPathAny) WithKey1

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

func (*OpenconfigWithlistval_Model_B_MultiKeyPathAny) WithKey2

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

type OpenconfigWithlistval_Model_B_MultiKeyPathMap

type OpenconfigWithlistval_Model_B_MultiKeyPathMap struct {
	*ygnmi.NodePath
	ygnmi.ConfigQuery[map[oc.OpenconfigWithlistval_Model_B_MultiKey_Key]*oc.OpenconfigWithlistval_Model_B_MultiKey]
}

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

type OpenconfigWithlistval_Model_B_MultiKeyPathMapAny

type OpenconfigWithlistval_Model_B_MultiKeyPathMapAny struct {
	*ygnmi.NodePath
	ygnmi.WildcardQuery[map[oc.OpenconfigWithlistval_Model_B_MultiKey_Key]*oc.OpenconfigWithlistval_Model_B_MultiKey]
}

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

type OpenconfigWithlistval_Model_B_MultiKey_ConfigPath

type OpenconfigWithlistval_Model_B_MultiKey_ConfigPath struct {
	*ygnmi.NodePath
	ygnmi.ConfigQuery[*oc.OpenconfigWithlistval_Model_B_MultiKey_Config]
}

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

func (*OpenconfigWithlistval_Model_B_MultiKey_ConfigPath) Key1

Key1 (leaf):

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

func (*OpenconfigWithlistval_Model_B_MultiKey_ConfigPath) Key2

Key2 (leaf):

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

type OpenconfigWithlistval_Model_B_MultiKey_ConfigPathAny

type OpenconfigWithlistval_Model_B_MultiKey_ConfigPathAny struct {
	*ygnmi.NodePath
	ygnmi.WildcardQuery[*oc.OpenconfigWithlistval_Model_B_MultiKey_Config]
}

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

func (*OpenconfigWithlistval_Model_B_MultiKey_ConfigPathAny) Key1

Key1 (leaf):

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

func (*OpenconfigWithlistval_Model_B_MultiKey_ConfigPathAny) Key2

Key2 (leaf):

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

type OpenconfigWithlistval_Model_B_MultiKey_Config_Key1Path

type OpenconfigWithlistval_Model_B_MultiKey_Config_Key1Path struct {
	*ygnmi.NodePath

	ygnmi.ConfigQuery[uint32]
	// contains filtered or unexported fields
}

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

type OpenconfigWithlistval_Model_B_MultiKey_Config_Key1PathAny

type OpenconfigWithlistval_Model_B_MultiKey_Config_Key1PathAny struct {
	*ygnmi.NodePath

	ygnmi.WildcardQuery[uint32]
	// contains filtered or unexported fields
}

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

type OpenconfigWithlistval_Model_B_MultiKey_Config_Key2Path

type OpenconfigWithlistval_Model_B_MultiKey_Config_Key2Path struct {
	*ygnmi.NodePath

	ygnmi.ConfigQuery[uint64]
	// contains filtered or unexported fields
}

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

type OpenconfigWithlistval_Model_B_MultiKey_Config_Key2PathAny

type OpenconfigWithlistval_Model_B_MultiKey_Config_Key2PathAny struct {
	*ygnmi.NodePath

	ygnmi.WildcardQuery[uint64]
	// contains filtered or unexported fields
}

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

type OpenconfigWithlistval_Model_B_MultiKey_Key1Path

type OpenconfigWithlistval_Model_B_MultiKey_Key1Path struct {
	*ygnmi.NodePath

	ygnmi.ConfigQuery[uint32]
	// contains filtered or unexported fields
}

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

type OpenconfigWithlistval_Model_B_MultiKey_Key1PathAny

type OpenconfigWithlistval_Model_B_MultiKey_Key1PathAny struct {
	*ygnmi.NodePath

	ygnmi.WildcardQuery[uint32]
	// contains filtered or unexported fields
}

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

type OpenconfigWithlistval_Model_B_MultiKey_Key2Path

type OpenconfigWithlistval_Model_B_MultiKey_Key2Path struct {
	*ygnmi.NodePath

	ygnmi.ConfigQuery[uint64]
	// contains filtered or unexported fields
}

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

type OpenconfigWithlistval_Model_B_MultiKey_Key2PathAny

type OpenconfigWithlistval_Model_B_MultiKey_Key2PathAny struct {
	*ygnmi.NodePath

	ygnmi.WildcardQuery[uint64]
	// contains filtered or unexported fields
}

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

type OpenconfigWithlistval_Model_B_MultiKey_StatePath

type OpenconfigWithlistval_Model_B_MultiKey_StatePath struct {
	*ygnmi.NodePath
	ygnmi.SingletonQuery[*oc.OpenconfigWithlistval_Model_B_MultiKey_State]
}

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

func (*OpenconfigWithlistval_Model_B_MultiKey_StatePath) Key1

Key1 (leaf):

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

func (*OpenconfigWithlistval_Model_B_MultiKey_StatePath) Key2

Key2 (leaf):

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

type OpenconfigWithlistval_Model_B_MultiKey_StatePathAny

type OpenconfigWithlistval_Model_B_MultiKey_StatePathAny struct {
	*ygnmi.NodePath
	ygnmi.WildcardQuery[*oc.OpenconfigWithlistval_Model_B_MultiKey_State]
}

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

func (*OpenconfigWithlistval_Model_B_MultiKey_StatePathAny) Key1

Key1 (leaf):

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

func (*OpenconfigWithlistval_Model_B_MultiKey_StatePathAny) Key2

Key2 (leaf):

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

type OpenconfigWithlistval_Model_B_MultiKey_State_Key1Path

type OpenconfigWithlistval_Model_B_MultiKey_State_Key1Path struct {
	*ygnmi.NodePath

	ygnmi.SingletonQuery[uint32]
	// contains filtered or unexported fields
}

OpenconfigWithlistval_Model_B_MultiKey_State_Key1Path represents the /openconfig-withlistval/model/b/multi-key/state/key1 YANG schema element.

type OpenconfigWithlistval_Model_B_MultiKey_State_Key1PathAny

type OpenconfigWithlistval_Model_B_MultiKey_State_Key1PathAny struct {
	*ygnmi.NodePath

	ygnmi.WildcardQuery[uint32]
	// contains filtered or unexported fields
}

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

type OpenconfigWithlistval_Model_B_MultiKey_State_Key2Path

type OpenconfigWithlistval_Model_B_MultiKey_State_Key2Path struct {
	*ygnmi.NodePath

	ygnmi.SingletonQuery[uint64]
	// contains filtered or unexported fields
}

OpenconfigWithlistval_Model_B_MultiKey_State_Key2Path represents the /openconfig-withlistval/model/b/multi-key/state/key2 YANG schema element.

type OpenconfigWithlistval_Model_B_MultiKey_State_Key2PathAny

type OpenconfigWithlistval_Model_B_MultiKey_State_Key2PathAny struct {
	*ygnmi.NodePath

	ygnmi.WildcardQuery[uint64]
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

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