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 ¶
- type Model_MultiKeyPath
- type Model_MultiKeyPathAny
- func (n *Model_MultiKeyPathAny) Config() ygnmi.WildcardQuery[*oc.Model_MultiKey]
- func (n *Model_MultiKeyPathAny) Key1() *Model_MultiKey_Key1PathAny
- func (n *Model_MultiKeyPathAny) Key2() *Model_MultiKey_Key2PathAny
- func (n *Model_MultiKeyPathAny) State() ygnmi.WildcardQuery[*oc.Model_MultiKey]
- func (n *Model_MultiKeyPathAny) WithKey1(Key1 uint32) *Model_MultiKeyPathAny
- func (n *Model_MultiKeyPathAny) WithKey2(Key2 uint64) *Model_MultiKeyPathAny
- type Model_MultiKeyPathMap
- type Model_MultiKeyPathMapAny
- type Model_MultiKey_Key1Path
- type Model_MultiKey_Key1PathAny
- type Model_MultiKey_Key2Path
- type Model_MultiKey_Key2PathAny
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model_MultiKeyPath ¶
Model_MultiKeyPath represents the /openconfig-withlistval/model/b/multi-key YANG schema element.
func (*Model_MultiKeyPath) Config ¶
func (n *Model_MultiKeyPath) Config() ygnmi.ConfigQuery[*oc.Model_MultiKey]
Config returns a Query that can be used in gNMI operations.
func (*Model_MultiKeyPath) Key1 ¶
func (n *Model_MultiKeyPath) Key1() *Model_MultiKey_Key1Path
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 ¶
func (n *Model_MultiKeyPath) Key2() *Model_MultiKey_Key2Path
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 ¶
func (n *Model_MultiKeyPath) State() ygnmi.SingletonQuery[*oc.Model_MultiKey]
State returns a Query that can be used in gNMI operations.
type Model_MultiKeyPathAny ¶
Model_MultiKeyPathAny represents the wildcard version of the /openconfig-withlistval/model/b/multi-key YANG schema element.
func (*Model_MultiKeyPathAny) Config ¶
func (n *Model_MultiKeyPathAny) Config() ygnmi.WildcardQuery[*oc.Model_MultiKey]
Config returns a Query that can be used in gNMI operations.
func (*Model_MultiKeyPathAny) Key1 ¶
func (n *Model_MultiKeyPathAny) Key1() *Model_MultiKey_Key1PathAny
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 ¶
func (n *Model_MultiKeyPathAny) Key2() *Model_MultiKey_Key2PathAny
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 ¶
func (n *Model_MultiKeyPathAny) State() ygnmi.WildcardQuery[*oc.Model_MultiKey]
State returns a Query that can be used in gNMI operations.
func (*Model_MultiKeyPathAny) WithKey1 ¶
func (n *Model_MultiKeyPathAny) WithKey1(Key1 uint32) *Model_MultiKeyPathAny
WithKey1 sets Model_MultiKeyPathAny's key "key1" to the specified value. Key1: uint32
func (*Model_MultiKeyPathAny) WithKey2 ¶
func (n *Model_MultiKeyPathAny) WithKey2(Key2 uint64) *Model_MultiKeyPathAny
WithKey2 sets Model_MultiKeyPathAny's key "key2" to the specified value. Key2: uint64
type Model_MultiKeyPathMap ¶
Model_MultiKeyPathMap represents the /openconfig-withlistval/model/b/multi-key YANG schema element.
func (*Model_MultiKeyPathMap) Config ¶
func (n *Model_MultiKeyPathMap) Config() ygnmi.ConfigQuery[map[oc.Model_MultiKey_Key]*oc.Model_MultiKey]
Config returns a Query that can be used in gNMI operations.
func (*Model_MultiKeyPathMap) State ¶
func (n *Model_MultiKeyPathMap) State() ygnmi.SingletonQuery[map[oc.Model_MultiKey_Key]*oc.Model_MultiKey]
State returns a Query that can be used in gNMI operations.
type Model_MultiKeyPathMapAny ¶
Model_MultiKeyPathMapAny represents the wildcard version of the /openconfig-withlistval/model/b/multi-key YANG schema element.
func (*Model_MultiKeyPathMapAny) Config ¶
func (n *Model_MultiKeyPathMapAny) Config() ygnmi.WildcardQuery[map[oc.Model_MultiKey_Key]*oc.Model_MultiKey]
Config returns a Query that can be used in gNMI operations.
func (*Model_MultiKeyPathMapAny) State ¶
func (n *Model_MultiKeyPathMapAny) State() ygnmi.WildcardQuery[map[oc.Model_MultiKey_Key]*oc.Model_MultiKey]
State returns a Query that can be used in gNMI operations.
type Model_MultiKey_Key1Path ¶
Model_MultiKey_Key1Path represents the /openconfig-withlistval/model/b/multi-key/config/key1 YANG schema element.
func (*Model_MultiKey_Key1Path) Config ¶
func (n *Model_MultiKey_Key1Path) Config() ygnmi.ConfigQuery[uint32]
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 ¶
func (n *Model_MultiKey_Key1Path) State() ygnmi.SingletonQuery[uint32]
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 ¶
func (n *Model_MultiKey_Key1PathAny) Config() ygnmi.WildcardQuery[uint32]
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 ¶
func (n *Model_MultiKey_Key1PathAny) State() ygnmi.WildcardQuery[uint32]
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 ¶
Model_MultiKey_Key2Path represents the /openconfig-withlistval/model/b/multi-key/config/key2 YANG schema element.
func (*Model_MultiKey_Key2Path) Config ¶
func (n *Model_MultiKey_Key2Path) Config() ygnmi.ConfigQuery[uint64]
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 ¶
func (n *Model_MultiKey_Key2Path) State() ygnmi.SingletonQuery[uint64]
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 ¶
func (n *Model_MultiKey_Key2PathAny) Config() ygnmi.WildcardQuery[uint64]
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 ¶
func (n *Model_MultiKey_Key2PathAny) State() ygnmi.WildcardQuery[uint64]
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"