Documentation
¶
Overview ¶
Package exampleocpath 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.16) 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 APath
- type APathAny
- type A_BPath
- type A_BPathAny
- type A_B_CPath
- type A_B_CPathAny
- type A_B_C_DPath
- type A_B_C_DPathAny
- type A_B_C_D_EPath
- type A_B_C_D_EPathAny
- type A_B_C_D_E_FPath
- type A_B_C_D_E_FPathAny
- type A_B_C_D_E_F_GPath
- type A_B_C_D_E_F_GPathAny
- type A_B_C_D_E_F_G_HPath
- type A_B_C_D_E_F_G_HPathAny
- type A_B_C_D_E_F_G_H_IPath
- type A_B_C_D_E_F_G_H_IPathAny
- type A_B_C_D_E_F_G_H_I_JPath
- type A_B_C_D_E_F_G_H_I_JPathAny
- type A_B_C_D_E_F_G_H_I_J_KPath
- type A_B_C_D_E_F_G_H_I_J_KPathAny
- type A_B_C_D_E_F_G_H_I_J_K_LPath
- type A_B_C_D_E_F_G_H_I_J_K_LPathAny
- type A_B_C_D_E_F_G_H_I_J_K_L_MPath
- type A_B_C_D_E_F_G_H_I_J_K_L_MPathAny
- type A_B_C_D_E_F_G_H_I_J_K_L_M_FooPath
- type A_B_C_D_E_F_G_H_I_J_K_L_M_FooPathAny
- type Batch
- type ContainerPath
- type ContainerPathAny
- type ModelPath
- func (n *ModelPath) Config() ygnmi.ConfigQuery[*oc.Model]
- func (n *ModelPath) MultiKey(Key1 uint32, Key2 uint64) *modelb.Model_MultiKeyPath
- func (n *ModelPath) MultiKeyAny() *modelb.Model_MultiKeyPathAny
- func (n *ModelPath) MultiKeyMap() *modelb.Model_MultiKeyPathMap
- func (n *ModelPath) NoKeyAny() *Model_NoKeyPathAny
- func (n *ModelPath) SingleKey(Key string) *a.Model_SingleKeyPath
- func (n *ModelPath) SingleKeyAny() *a.Model_SingleKeyPathAny
- func (n *ModelPath) SingleKeyMap() *a.Model_SingleKeyPathMap
- func (n *ModelPath) State() ygnmi.SingletonQuery[*oc.Model]
- type ModelPathAny
- func (n *ModelPathAny) Config() ygnmi.WildcardQuery[*oc.Model]
- func (n *ModelPathAny) MultiKey(Key1 uint32, Key2 uint64) *modelb.Model_MultiKeyPathAny
- func (n *ModelPathAny) MultiKeyAny() *modelb.Model_MultiKeyPathAny
- func (n *ModelPathAny) MultiKeyMap() *modelb.Model_MultiKeyPathMapAny
- func (n *ModelPathAny) NoKeyAny() *Model_NoKeyPathAny
- func (n *ModelPathAny) SingleKey(Key string) *a.Model_SingleKeyPathAny
- func (n *ModelPathAny) SingleKeyAny() *a.Model_SingleKeyPathAny
- func (n *ModelPathAny) SingleKeyMap() *a.Model_SingleKeyPathMapAny
- func (n *ModelPathAny) State() ygnmi.WildcardQuery[*oc.Model]
- type Model_NoKeyPath
- type Model_NoKeyPathAny
- type Model_NoKey_FooPath
- type Model_NoKey_FooPathAny
- type Model_NoKey_Foo_KeyPath
- type Model_NoKey_Foo_KeyPathAny
- type Model_NoKey_Foo_ValuePath
- type Model_NoKey_Foo_ValuePathAny
- type ParentPath
- type ParentPathAny
- type Parent_ChildPath
- func (n *Parent_ChildPath) Config() ygnmi.ConfigQuery[*oc.Parent_Child]
- func (n *Parent_ChildPath) Five() *Parent_Child_FivePath
- func (n *Parent_ChildPath) Four() *Parent_Child_FourPath
- func (n *Parent_ChildPath) One() *Parent_Child_OnePath
- func (n *Parent_ChildPath) Six() *Parent_Child_SixPath
- func (n *Parent_ChildPath) State() ygnmi.SingletonQuery[*oc.Parent_Child]
- func (n *Parent_ChildPath) Three() *Parent_Child_ThreePath
- func (n *Parent_ChildPath) Two() *Parent_Child_TwoPath
- type Parent_ChildPathAny
- func (n *Parent_ChildPathAny) Config() ygnmi.WildcardQuery[*oc.Parent_Child]
- func (n *Parent_ChildPathAny) Five() *Parent_Child_FivePathAny
- func (n *Parent_ChildPathAny) Four() *Parent_Child_FourPathAny
- func (n *Parent_ChildPathAny) One() *Parent_Child_OnePathAny
- func (n *Parent_ChildPathAny) Six() *Parent_Child_SixPathAny
- func (n *Parent_ChildPathAny) State() ygnmi.WildcardQuery[*oc.Parent_Child]
- func (n *Parent_ChildPathAny) Three() *Parent_Child_ThreePathAny
- func (n *Parent_ChildPathAny) Two() *Parent_Child_TwoPathAny
- type Parent_Child_FivePath
- type Parent_Child_FivePathAny
- type Parent_Child_FourPath
- type Parent_Child_FourPathAny
- type Parent_Child_OnePath
- type Parent_Child_OnePathAny
- type Parent_Child_SixPath
- type Parent_Child_SixPathAny
- type Parent_Child_ThreePath
- type Parent_Child_ThreePathAny
- type Parent_Child_TwoPath
- type Parent_Child_TwoPathAny
- type RemoteContainerPath
- type RemoteContainerPathAny
- type RemoteContainer_ALeafPath
- type RemoteContainer_ALeafPathAny
- type RootPath
- func (n *RootPath) A() *APath
- func (n *RootPath) Config() ygnmi.ConfigQuery[*oc.Root]
- func (n *RootPath) Container() *ContainerPath
- func (n *RootPath) Model() *ModelPath
- func (n *RootPath) Parent() *ParentPath
- func (n *RootPath) RemoteContainer() *RemoteContainerPath
- func (n *RootPath) State() ygnmi.SingletonQuery[*oc.Root]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APath ¶ added in v0.8.2
APath represents the /openconfig-nested/a YANG schema element.
func (*APath) B ¶ added in v0.8.2
B (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "b" Path from root: "/a/b"
type APathAny ¶ added in v0.8.2
APathAny represents the wildcard version of the /openconfig-nested/a YANG schema element.
func (*APathAny) B ¶ added in v0.8.2
func (n *APathAny) B() *A_BPathAny
B (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "b" Path from root: "/a/b"
type A_BPath ¶ added in v0.8.2
A_BPath represents the /openconfig-nested/a/b YANG schema element.
func (*A_BPath) C ¶ added in v0.8.2
C (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "c" Path from root: "/a/b/c"
type A_BPathAny ¶ added in v0.8.2
A_BPathAny represents the wildcard version of the /openconfig-nested/a/b YANG schema element.
func (*A_BPathAny) C ¶ added in v0.8.2
func (n *A_BPathAny) C() *A_B_CPathAny
C (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "c" Path from root: "/a/b/c"
func (*A_BPathAny) Config ¶ added in v0.8.2
func (n *A_BPathAny) Config() ygnmi.WildcardQuery[*oc.A_B]
Config returns a Query that can be used in gNMI operations.
func (*A_BPathAny) State ¶ added in v0.8.2
func (n *A_BPathAny) State() ygnmi.WildcardQuery[*oc.A_B]
State returns a Query that can be used in gNMI operations.
type A_B_CPath ¶ added in v0.8.2
A_B_CPath represents the /openconfig-nested/a/b/c YANG schema element.
func (*A_B_CPath) Config ¶ added in v0.8.2
func (n *A_B_CPath) Config() ygnmi.ConfigQuery[*oc.A_B_C]
Config returns a Query that can be used in gNMI operations.
func (*A_B_CPath) D ¶ added in v0.8.2
func (n *A_B_CPath) D() *A_B_C_DPath
D (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "d" Path from root: "/a/b/c/d"
type A_B_CPathAny ¶ added in v0.8.2
A_B_CPathAny represents the wildcard version of the /openconfig-nested/a/b/c YANG schema element.
func (*A_B_CPathAny) Config ¶ added in v0.8.2
func (n *A_B_CPathAny) Config() ygnmi.WildcardQuery[*oc.A_B_C]
Config returns a Query that can be used in gNMI operations.
func (*A_B_CPathAny) D ¶ added in v0.8.2
func (n *A_B_CPathAny) D() *A_B_C_DPathAny
D (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "d" Path from root: "/a/b/c/d"
func (*A_B_CPathAny) State ¶ added in v0.8.2
func (n *A_B_CPathAny) State() ygnmi.WildcardQuery[*oc.A_B_C]
State returns a Query that can be used in gNMI operations.
type A_B_C_DPath ¶ added in v0.8.2
A_B_C_DPath represents the /openconfig-nested/a/b/c/d YANG schema element.
func (*A_B_C_DPath) Config ¶ added in v0.8.2
func (n *A_B_C_DPath) Config() ygnmi.ConfigQuery[*oc.A_B_C_D]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_DPath) E ¶ added in v0.8.2
func (n *A_B_C_DPath) E() *A_B_C_D_EPath
E (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "e" Path from root: "/a/b/c/d/e"
func (*A_B_C_DPath) State ¶ added in v0.8.2
func (n *A_B_C_DPath) State() ygnmi.SingletonQuery[*oc.A_B_C_D]
State returns a Query that can be used in gNMI operations.
type A_B_C_DPathAny ¶ added in v0.8.2
A_B_C_DPathAny represents the wildcard version of the /openconfig-nested/a/b/c/d YANG schema element.
func (*A_B_C_DPathAny) Config ¶ added in v0.8.2
func (n *A_B_C_DPathAny) Config() ygnmi.WildcardQuery[*oc.A_B_C_D]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_DPathAny) E ¶ added in v0.8.2
func (n *A_B_C_DPathAny) E() *A_B_C_D_EPathAny
E (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "e" Path from root: "/a/b/c/d/e"
func (*A_B_C_DPathAny) State ¶ added in v0.8.2
func (n *A_B_C_DPathAny) State() ygnmi.WildcardQuery[*oc.A_B_C_D]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_EPath ¶ added in v0.8.2
A_B_C_D_EPath represents the /openconfig-nested/a/b/c/d/e YANG schema element.
func (*A_B_C_D_EPath) Config ¶ added in v0.8.2
func (n *A_B_C_D_EPath) Config() ygnmi.ConfigQuery[*oc.A_B_C_D_E]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_EPath) F ¶ added in v0.8.2
func (n *A_B_C_D_EPath) F() *A_B_C_D_E_FPath
F (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "f" Path from root: "/a/b/c/d/e/f"
func (*A_B_C_D_EPath) State ¶ added in v0.8.2
func (n *A_B_C_D_EPath) State() ygnmi.SingletonQuery[*oc.A_B_C_D_E]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_EPathAny ¶ added in v0.8.2
A_B_C_D_EPathAny represents the wildcard version of the /openconfig-nested/a/b/c/d/e YANG schema element.
func (*A_B_C_D_EPathAny) Config ¶ added in v0.8.2
func (n *A_B_C_D_EPathAny) Config() ygnmi.WildcardQuery[*oc.A_B_C_D_E]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_EPathAny) F ¶ added in v0.8.2
func (n *A_B_C_D_EPathAny) F() *A_B_C_D_E_FPathAny
F (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "f" Path from root: "/a/b/c/d/e/f"
func (*A_B_C_D_EPathAny) State ¶ added in v0.8.2
func (n *A_B_C_D_EPathAny) State() ygnmi.WildcardQuery[*oc.A_B_C_D_E]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_FPath ¶ added in v0.8.2
A_B_C_D_E_FPath represents the /openconfig-nested/a/b/c/d/e/f YANG schema element.
func (*A_B_C_D_E_FPath) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_FPath) Config() ygnmi.ConfigQuery[*oc.A_B_C_D_E_F]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_FPath) G ¶ added in v0.8.2
func (n *A_B_C_D_E_FPath) G() *A_B_C_D_E_F_GPath
G (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "g" Path from root: "/a/b/c/d/e/f/g"
func (*A_B_C_D_E_FPath) State ¶ added in v0.8.2
func (n *A_B_C_D_E_FPath) State() ygnmi.SingletonQuery[*oc.A_B_C_D_E_F]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_FPathAny ¶ added in v0.8.2
A_B_C_D_E_FPathAny represents the wildcard version of the /openconfig-nested/a/b/c/d/e/f YANG schema element.
func (*A_B_C_D_E_FPathAny) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_FPathAny) Config() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_FPathAny) G ¶ added in v0.8.2
func (n *A_B_C_D_E_FPathAny) G() *A_B_C_D_E_F_GPathAny
G (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "g" Path from root: "/a/b/c/d/e/f/g"
func (*A_B_C_D_E_FPathAny) State ¶ added in v0.8.2
func (n *A_B_C_D_E_FPathAny) State() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_GPath ¶ added in v0.8.2
A_B_C_D_E_F_GPath represents the /openconfig-nested/a/b/c/d/e/f/g YANG schema element.
func (*A_B_C_D_E_F_GPath) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_F_GPath) Config() ygnmi.ConfigQuery[*oc.A_B_C_D_E_F_G]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_F_GPath) H ¶ added in v0.8.2
func (n *A_B_C_D_E_F_GPath) H() *A_B_C_D_E_F_G_HPath
H (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "h" Path from root: "/a/b/c/d/e/f/g/h"
func (*A_B_C_D_E_F_GPath) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_GPath) State() ygnmi.SingletonQuery[*oc.A_B_C_D_E_F_G]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_GPathAny ¶ added in v0.8.2
A_B_C_D_E_F_GPathAny represents the wildcard version of the /openconfig-nested/a/b/c/d/e/f/g YANG schema element.
func (*A_B_C_D_E_F_GPathAny) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_F_GPathAny) Config() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F_G]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_F_GPathAny) H ¶ added in v0.8.2
func (n *A_B_C_D_E_F_GPathAny) H() *A_B_C_D_E_F_G_HPathAny
H (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "h" Path from root: "/a/b/c/d/e/f/g/h"
func (*A_B_C_D_E_F_GPathAny) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_GPathAny) State() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F_G]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_G_HPath ¶ added in v0.8.2
A_B_C_D_E_F_G_HPath represents the /openconfig-nested/a/b/c/d/e/f/g/h YANG schema element.
func (*A_B_C_D_E_F_G_HPath) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_HPath) Config() ygnmi.ConfigQuery[*oc.A_B_C_D_E_F_G_H]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_F_G_HPath) I ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_HPath) I() *A_B_C_D_E_F_G_H_IPath
I (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "i" Path from root: "/a/b/c/d/e/f/g/h/i"
func (*A_B_C_D_E_F_G_HPath) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_HPath) State() ygnmi.SingletonQuery[*oc.A_B_C_D_E_F_G_H]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_G_HPathAny ¶ added in v0.8.2
A_B_C_D_E_F_G_HPathAny represents the wildcard version of the /openconfig-nested/a/b/c/d/e/f/g/h YANG schema element.
func (*A_B_C_D_E_F_G_HPathAny) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_HPathAny) Config() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F_G_H]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_F_G_HPathAny) I ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_HPathAny) I() *A_B_C_D_E_F_G_H_IPathAny
I (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "i" Path from root: "/a/b/c/d/e/f/g/h/i"
func (*A_B_C_D_E_F_G_HPathAny) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_HPathAny) State() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F_G_H]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_G_H_IPath ¶ added in v0.8.2
A_B_C_D_E_F_G_H_IPath represents the /openconfig-nested/a/b/c/d/e/f/g/h/i YANG schema element.
func (*A_B_C_D_E_F_G_H_IPath) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_IPath) Config() ygnmi.ConfigQuery[*oc.A_B_C_D_E_F_G_H_I]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_F_G_H_IPath) J ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_IPath) J() *A_B_C_D_E_F_G_H_I_JPath
J (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "j" Path from root: "/a/b/c/d/e/f/g/h/i/j"
func (*A_B_C_D_E_F_G_H_IPath) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_IPath) State() ygnmi.SingletonQuery[*oc.A_B_C_D_E_F_G_H_I]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_G_H_IPathAny ¶ added in v0.8.2
A_B_C_D_E_F_G_H_IPathAny represents the wildcard version of the /openconfig-nested/a/b/c/d/e/f/g/h/i YANG schema element.
func (*A_B_C_D_E_F_G_H_IPathAny) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_IPathAny) Config() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F_G_H_I]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_F_G_H_IPathAny) J ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_IPathAny) J() *A_B_C_D_E_F_G_H_I_JPathAny
J (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "j" Path from root: "/a/b/c/d/e/f/g/h/i/j"
func (*A_B_C_D_E_F_G_H_IPathAny) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_IPathAny) State() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F_G_H_I]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_G_H_I_JPath ¶ added in v0.8.2
A_B_C_D_E_F_G_H_I_JPath represents the /openconfig-nested/a/b/c/d/e/f/g/h/i/j YANG schema element.
func (*A_B_C_D_E_F_G_H_I_JPath) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_JPath) Config() ygnmi.ConfigQuery[*oc.A_B_C_D_E_F_G_H_I_J]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_F_G_H_I_JPath) K ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_JPath) K() *A_B_C_D_E_F_G_H_I_J_KPath
K (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "k" Path from root: "/a/b/c/d/e/f/g/h/i/j/k"
func (*A_B_C_D_E_F_G_H_I_JPath) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_JPath) State() ygnmi.SingletonQuery[*oc.A_B_C_D_E_F_G_H_I_J]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_G_H_I_JPathAny ¶ added in v0.8.2
A_B_C_D_E_F_G_H_I_JPathAny represents the wildcard version of the /openconfig-nested/a/b/c/d/e/f/g/h/i/j YANG schema element.
func (*A_B_C_D_E_F_G_H_I_JPathAny) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_JPathAny) Config() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F_G_H_I_J]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_F_G_H_I_JPathAny) K ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_JPathAny) K() *A_B_C_D_E_F_G_H_I_J_KPathAny
K (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "k" Path from root: "/a/b/c/d/e/f/g/h/i/j/k"
func (*A_B_C_D_E_F_G_H_I_JPathAny) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_JPathAny) State() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F_G_H_I_J]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_G_H_I_J_KPath ¶ added in v0.8.2
A_B_C_D_E_F_G_H_I_J_KPath represents the /openconfig-nested/a/b/c/d/e/f/g/h/i/j/k YANG schema element.
func (*A_B_C_D_E_F_G_H_I_J_KPath) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_KPath) Config() ygnmi.ConfigQuery[*oc.A_B_C_D_E_F_G_H_I_J_K]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_F_G_H_I_J_KPath) L ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_KPath) L() *A_B_C_D_E_F_G_H_I_J_K_LPath
L (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "l" Path from root: "/a/b/c/d/e/f/g/h/i/j/k/l"
func (*A_B_C_D_E_F_G_H_I_J_KPath) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_KPath) State() ygnmi.SingletonQuery[*oc.A_B_C_D_E_F_G_H_I_J_K]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_G_H_I_J_KPathAny ¶ added in v0.8.2
A_B_C_D_E_F_G_H_I_J_KPathAny represents the wildcard version of the /openconfig-nested/a/b/c/d/e/f/g/h/i/j/k YANG schema element.
func (*A_B_C_D_E_F_G_H_I_J_KPathAny) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_KPathAny) Config() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F_G_H_I_J_K]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_F_G_H_I_J_KPathAny) L ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_KPathAny) L() *A_B_C_D_E_F_G_H_I_J_K_LPathAny
L (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "l" Path from root: "/a/b/c/d/e/f/g/h/i/j/k/l"
func (*A_B_C_D_E_F_G_H_I_J_KPathAny) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_KPathAny) State() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F_G_H_I_J_K]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_G_H_I_J_K_LPath ¶ added in v0.8.2
A_B_C_D_E_F_G_H_I_J_K_LPath represents the /openconfig-nested/a/b/c/d/e/f/g/h/i/j/k/l YANG schema element.
func (*A_B_C_D_E_F_G_H_I_J_K_LPath) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_K_LPath) Config() ygnmi.ConfigQuery[*oc.A_B_C_D_E_F_G_H_I_J_K_L]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_F_G_H_I_J_K_LPath) M ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_K_LPath) M() *A_B_C_D_E_F_G_H_I_J_K_L_MPath
M (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "m" Path from root: "/a/b/c/d/e/f/g/h/i/j/k/l/m"
func (*A_B_C_D_E_F_G_H_I_J_K_LPath) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_K_LPath) State() ygnmi.SingletonQuery[*oc.A_B_C_D_E_F_G_H_I_J_K_L]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_G_H_I_J_K_LPathAny ¶ added in v0.8.2
A_B_C_D_E_F_G_H_I_J_K_LPathAny represents the wildcard version of the /openconfig-nested/a/b/c/d/e/f/g/h/i/j/k/l YANG schema element.
func (*A_B_C_D_E_F_G_H_I_J_K_LPathAny) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_K_LPathAny) Config() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F_G_H_I_J_K_L]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_F_G_H_I_J_K_LPathAny) M ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_K_LPathAny) M() *A_B_C_D_E_F_G_H_I_J_K_L_MPathAny
M (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "m" Path from root: "/a/b/c/d/e/f/g/h/i/j/k/l/m"
func (*A_B_C_D_E_F_G_H_I_J_K_LPathAny) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_K_LPathAny) State() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F_G_H_I_J_K_L]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_G_H_I_J_K_L_MPath ¶ added in v0.8.2
A_B_C_D_E_F_G_H_I_J_K_L_MPath represents the /openconfig-nested/a/b/c/d/e/f/g/h/i/j/k/l/m YANG schema element.
func (*A_B_C_D_E_F_G_H_I_J_K_L_MPath) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_K_L_MPath) Config() ygnmi.ConfigQuery[*oc.A_B_C_D_E_F_G_H_I_J_K_L_M]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_F_G_H_I_J_K_L_MPath) Foo ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_K_L_MPath) Foo() *A_B_C_D_E_F_G_H_I_J_K_L_M_FooPath
Foo (leaf):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "state/foo" Path from root: "/a/b/c/d/e/f/g/h/i/j/k/l/m/state/foo"
func (*A_B_C_D_E_F_G_H_I_J_K_L_MPath) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_K_L_MPath) State() ygnmi.SingletonQuery[*oc.A_B_C_D_E_F_G_H_I_J_K_L_M]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_G_H_I_J_K_L_MPathAny ¶ added in v0.8.2
A_B_C_D_E_F_G_H_I_J_K_L_MPathAny represents the wildcard version of the /openconfig-nested/a/b/c/d/e/f/g/h/i/j/k/l/m YANG schema element.
func (*A_B_C_D_E_F_G_H_I_J_K_L_MPathAny) Config ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_K_L_MPathAny) Config() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F_G_H_I_J_K_L_M]
Config returns a Query that can be used in gNMI operations.
func (*A_B_C_D_E_F_G_H_I_J_K_L_MPathAny) Foo ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_K_L_MPathAny) Foo() *A_B_C_D_E_F_G_H_I_J_K_L_M_FooPathAny
Foo (leaf):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "state/foo" Path from root: "/a/b/c/d/e/f/g/h/i/j/k/l/m/state/foo"
func (*A_B_C_D_E_F_G_H_I_J_K_L_MPathAny) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_K_L_MPathAny) State() ygnmi.WildcardQuery[*oc.A_B_C_D_E_F_G_H_I_J_K_L_M]
State returns a Query that can be used in gNMI operations.
type A_B_C_D_E_F_G_H_I_J_K_L_M_FooPath ¶ added in v0.8.2
type A_B_C_D_E_F_G_H_I_J_K_L_M_FooPath struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
A_B_C_D_E_F_G_H_I_J_K_L_M_FooPath represents the /openconfig-nested/a/b/c/d/e/f/g/h/i/j/k/l/m/state/foo YANG schema element.
func (*A_B_C_D_E_F_G_H_I_J_K_L_M_FooPath) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_K_L_M_FooPath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "state/foo" Path from root: "/a/b/c/d/e/f/g/h/i/j/k/l/m/state/foo"
type A_B_C_D_E_F_G_H_I_J_K_L_M_FooPathAny ¶ added in v0.8.2
type A_B_C_D_E_F_G_H_I_J_K_L_M_FooPathAny struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
A_B_C_D_E_F_G_H_I_J_K_L_M_FooPathAny represents the wildcard version of the /openconfig-nested/a/b/c/d/e/f/g/h/i/j/k/l/m/state/foo YANG schema element.
func (*A_B_C_D_E_F_G_H_I_J_K_L_M_FooPathAny) State ¶ added in v0.8.2
func (n *A_B_C_D_E_F_G_H_I_J_K_L_M_FooPathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "state/foo" Path from root: "/a/b/c/d/e/f/g/h/i/j/k/l/m/state/foo"
type Batch ¶
type Batch struct {
// contains filtered or unexported fields
}
Batch contains a collection of paths. Use batch to call Lookup, Watch, etc. on multiple paths at once.
func (*Batch) AddPaths ¶
func (b *Batch) AddPaths(paths ...ygnmi.PathStruct) *Batch
AddPaths adds the paths to the batch.
type ContainerPath ¶ added in v0.8.2
ContainerPath represents the /openconfig-nested/container YANG schema element.
func (*ContainerPath) Config ¶ added in v0.8.2
func (n *ContainerPath) Config() ygnmi.ConfigQuery[*oc.Container]
Config returns a Query that can be used in gNMI operations.
func (*ContainerPath) State ¶ added in v0.8.2
func (n *ContainerPath) State() ygnmi.SingletonQuery[*oc.Container]
State returns a Query that can be used in gNMI operations.
type ContainerPathAny ¶ added in v0.8.2
ContainerPathAny represents the wildcard version of the /openconfig-nested/container YANG schema element.
func (*ContainerPathAny) Config ¶ added in v0.8.2
func (n *ContainerPathAny) Config() ygnmi.WildcardQuery[*oc.Container]
Config returns a Query that can be used in gNMI operations.
func (*ContainerPathAny) State ¶ added in v0.8.2
func (n *ContainerPathAny) State() ygnmi.WildcardQuery[*oc.Container]
State returns a Query that can be used in gNMI operations.
type ModelPath ¶ added in v0.8.2
ModelPath represents the /openconfig-withlistval/model YANG schema element.
func (*ModelPath) Config ¶ added in v0.8.2
func (n *ModelPath) Config() ygnmi.ConfigQuery[*oc.Model]
Config returns a Query that can be used in gNMI operations.
func (*ModelPath) MultiKey ¶ added in v0.8.2
func (n *ModelPath) MultiKey(Key1 uint32, Key2 uint64) *modelb.Model_MultiKeyPath
MultiKey (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "b/multi-key" Path from root: "/model/b/multi-key" Key1: uint32 Key2: uint64
func (*ModelPath) MultiKeyAny ¶ added in v0.8.2
func (n *ModelPath) MultiKeyAny() *modelb.Model_MultiKeyPathAny
MultiKeyAny (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "b/multi-key" Path from root: "/model/b/multi-key"
func (*ModelPath) MultiKeyMap ¶ added in v0.8.2
func (n *ModelPath) MultiKeyMap() *modelb.Model_MultiKeyPathMap
MultiKeyMap (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "b/multi-key" Path from root: "/model/b/multi-key"
func (*ModelPath) NoKeyAny ¶ added in v0.8.2
func (n *ModelPath) NoKeyAny() *Model_NoKeyPathAny
NoKeyAny (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "c/no-key" Path from root: "/model/c/no-key"
func (*ModelPath) SingleKey ¶ added in v0.8.2
func (n *ModelPath) SingleKey(Key string) *a.Model_SingleKeyPath
SingleKey (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "a/single-key" Path from root: "/model/a/single-key" Key: string
func (*ModelPath) SingleKeyAny ¶ added in v0.8.2
func (n *ModelPath) SingleKeyAny() *a.Model_SingleKeyPathAny
SingleKeyAny (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "a/single-key" Path from root: "/model/a/single-key"
func (*ModelPath) SingleKeyMap ¶ added in v0.8.2
func (n *ModelPath) SingleKeyMap() *a.Model_SingleKeyPathMap
SingleKeyMap (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "a/single-key" Path from root: "/model/a/single-key"
type ModelPathAny ¶ added in v0.8.2
ModelPathAny represents the wildcard version of the /openconfig-withlistval/model YANG schema element.
func (*ModelPathAny) Config ¶ added in v0.8.2
func (n *ModelPathAny) Config() ygnmi.WildcardQuery[*oc.Model]
Config returns a Query that can be used in gNMI operations.
func (*ModelPathAny) MultiKey ¶ added in v0.8.2
func (n *ModelPathAny) MultiKey(Key1 uint32, Key2 uint64) *modelb.Model_MultiKeyPathAny
MultiKey (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "b/multi-key" Path from root: "/model/b/multi-key" Key1: uint32 Key2: uint64
func (*ModelPathAny) MultiKeyAny ¶ added in v0.8.2
func (n *ModelPathAny) MultiKeyAny() *modelb.Model_MultiKeyPathAny
MultiKeyAny (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "b/multi-key" Path from root: "/model/b/multi-key"
func (*ModelPathAny) MultiKeyMap ¶ added in v0.8.2
func (n *ModelPathAny) MultiKeyMap() *modelb.Model_MultiKeyPathMapAny
MultiKeyMap (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "b/multi-key" Path from root: "/model/b/multi-key"
func (*ModelPathAny) NoKeyAny ¶ added in v0.8.2
func (n *ModelPathAny) NoKeyAny() *Model_NoKeyPathAny
NoKeyAny (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "c/no-key" Path from root: "/model/c/no-key"
func (*ModelPathAny) SingleKey ¶ added in v0.8.2
func (n *ModelPathAny) SingleKey(Key string) *a.Model_SingleKeyPathAny
SingleKey (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "a/single-key" Path from root: "/model/a/single-key" Key: string
func (*ModelPathAny) SingleKeyAny ¶ added in v0.8.2
func (n *ModelPathAny) SingleKeyAny() *a.Model_SingleKeyPathAny
SingleKeyAny (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "a/single-key" Path from root: "/model/a/single-key"
func (*ModelPathAny) SingleKeyMap ¶ added in v0.8.2
func (n *ModelPathAny) SingleKeyMap() *a.Model_SingleKeyPathMapAny
SingleKeyMap (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "a/single-key" Path from root: "/model/a/single-key"
func (*ModelPathAny) State ¶ added in v0.8.2
func (n *ModelPathAny) State() ygnmi.WildcardQuery[*oc.Model]
State returns a Query that can be used in gNMI operations.
type Model_NoKeyPath ¶ added in v0.8.2
Model_NoKeyPath represents the /openconfig-withlistval/model/c/no-key YANG schema element.
func (*Model_NoKeyPath) State ¶ added in v0.8.2
func (n *Model_NoKeyPath) State() ygnmi.SingletonQuery[*oc.Model_NoKey]
State returns a Query that can be used in gNMI operations.
type Model_NoKeyPathAny ¶ added in v0.8.2
Model_NoKeyPathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key YANG schema element.
func (*Model_NoKeyPathAny) State ¶ added in v0.8.2
func (n *Model_NoKeyPathAny) State() ygnmi.WildcardQuery[*oc.Model_NoKey]
State returns a Query that can be used in gNMI operations.
type Model_NoKey_FooPath ¶ added in v0.8.2
Model_NoKey_FooPath represents the /openconfig-withlistval/model/c/no-key/foo YANG schema element.
func (*Model_NoKey_FooPath) Key ¶ added in v0.8.2
func (n *Model_NoKey_FooPath) Key() *Model_NoKey_Foo_KeyPath
Key (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/key" Path from root: "/model/c/no-key/foo/state/key"
func (*Model_NoKey_FooPath) State ¶ added in v0.8.2
func (n *Model_NoKey_FooPath) State() ygnmi.SingletonQuery[*oc.Model_NoKey_Foo]
State returns a Query that can be used in gNMI operations.
func (*Model_NoKey_FooPath) Value ¶ added in v0.8.2
func (n *Model_NoKey_FooPath) Value() *Model_NoKey_Foo_ValuePath
Value (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/value" Path from root: "/model/c/no-key/foo/state/value"
type Model_NoKey_FooPathAny ¶ added in v0.8.2
Model_NoKey_FooPathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key/foo YANG schema element.
func (*Model_NoKey_FooPathAny) Key ¶ added in v0.8.2
func (n *Model_NoKey_FooPathAny) Key() *Model_NoKey_Foo_KeyPathAny
Key (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/key" Path from root: "/model/c/no-key/foo/state/key"
func (*Model_NoKey_FooPathAny) State ¶ added in v0.8.2
func (n *Model_NoKey_FooPathAny) State() ygnmi.WildcardQuery[*oc.Model_NoKey_Foo]
State returns a Query that can be used in gNMI operations.
func (*Model_NoKey_FooPathAny) Value ¶ added in v0.8.2
func (n *Model_NoKey_FooPathAny) Value() *Model_NoKey_Foo_ValuePathAny
Value (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/value" Path from root: "/model/c/no-key/foo/state/value"
type Model_NoKey_Foo_KeyPath ¶ added in v0.8.2
Model_NoKey_Foo_KeyPath represents the /openconfig-withlistval/model/c/no-key/foo/state/key YANG schema element.
func (*Model_NoKey_Foo_KeyPath) State ¶ added in v0.8.2
func (n *Model_NoKey_Foo_KeyPath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/key" Path from root: "/model/c/no-key/foo/state/key"
type Model_NoKey_Foo_KeyPathAny ¶ added in v0.8.2
type Model_NoKey_Foo_KeyPathAny struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
Model_NoKey_Foo_KeyPathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key/foo/state/key YANG schema element.
func (*Model_NoKey_Foo_KeyPathAny) State ¶ added in v0.8.2
func (n *Model_NoKey_Foo_KeyPathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/key" Path from root: "/model/c/no-key/foo/state/key"
type Model_NoKey_Foo_ValuePath ¶ added in v0.8.2
Model_NoKey_Foo_ValuePath represents the /openconfig-withlistval/model/c/no-key/foo/state/value YANG schema element.
func (*Model_NoKey_Foo_ValuePath) State ¶ added in v0.8.2
func (n *Model_NoKey_Foo_ValuePath) State() ygnmi.SingletonQuery[int64]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/value" Path from root: "/model/c/no-key/foo/state/value"
type Model_NoKey_Foo_ValuePathAny ¶ added in v0.8.2
type Model_NoKey_Foo_ValuePathAny struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
Model_NoKey_Foo_ValuePathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key/foo/state/value YANG schema element.
func (*Model_NoKey_Foo_ValuePathAny) State ¶ added in v0.8.2
func (n *Model_NoKey_Foo_ValuePathAny) State() ygnmi.WildcardQuery[int64]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/value" Path from root: "/model/c/no-key/foo/state/value"
type ParentPath ¶ added in v0.8.2
ParentPath represents the /openconfig-simple/parent YANG schema element.
func (*ParentPath) Child ¶ added in v0.8.2
func (n *ParentPath) Child() *Parent_ChildPath
Child (container):
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "child" Path from root: "/parent/child"
func (*ParentPath) Config ¶ added in v0.8.2
func (n *ParentPath) Config() ygnmi.ConfigQuery[*oc.Parent]
Config returns a Query that can be used in gNMI operations.
func (*ParentPath) State ¶ added in v0.8.2
func (n *ParentPath) State() ygnmi.SingletonQuery[*oc.Parent]
State returns a Query that can be used in gNMI operations.
type ParentPathAny ¶ added in v0.8.2
ParentPathAny represents the wildcard version of the /openconfig-simple/parent YANG schema element.
func (*ParentPathAny) Child ¶ added in v0.8.2
func (n *ParentPathAny) Child() *Parent_ChildPathAny
Child (container):
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "child" Path from root: "/parent/child"
func (*ParentPathAny) Config ¶ added in v0.8.2
func (n *ParentPathAny) Config() ygnmi.WildcardQuery[*oc.Parent]
Config returns a Query that can be used in gNMI operations.
func (*ParentPathAny) State ¶ added in v0.8.2
func (n *ParentPathAny) State() ygnmi.WildcardQuery[*oc.Parent]
State returns a Query that can be used in gNMI operations.
type Parent_ChildPath ¶ added in v0.8.2
Parent_ChildPath represents the /openconfig-simple/parent/child YANG schema element.
func (*Parent_ChildPath) Config ¶ added in v0.8.2
func (n *Parent_ChildPath) Config() ygnmi.ConfigQuery[*oc.Parent_Child]
Config returns a Query that can be used in gNMI operations.
func (*Parent_ChildPath) Five ¶ added in v0.8.2
func (n *Parent_ChildPath) Five() *Parent_Child_FivePath
Five (leaf):
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "*/five" Path from root: "/parent/child/*/five"
func (*Parent_ChildPath) Four ¶ added in v0.8.2
func (n *Parent_ChildPath) Four() *Parent_Child_FourPath
Four (leaf):
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "*/four" Path from root: "/parent/child/*/four"
func (*Parent_ChildPath) One ¶ added in v0.8.2
func (n *Parent_ChildPath) One() *Parent_Child_OnePath
One (leaf):
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "*/one" Path from root: "/parent/child/*/one"
func (*Parent_ChildPath) Six ¶ added in v0.8.2
func (n *Parent_ChildPath) Six() *Parent_Child_SixPath
Six (leaf-list):
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "*/six" Path from root: "/parent/child/*/six"
func (*Parent_ChildPath) State ¶ added in v0.8.2
func (n *Parent_ChildPath) State() ygnmi.SingletonQuery[*oc.Parent_Child]
State returns a Query that can be used in gNMI operations.
func (*Parent_ChildPath) Three ¶ added in v0.8.2
func (n *Parent_ChildPath) Three() *Parent_Child_ThreePath
Three (leaf):
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "*/three" Path from root: "/parent/child/*/three"
func (*Parent_ChildPath) Two ¶ added in v0.8.2
func (n *Parent_ChildPath) Two() *Parent_Child_TwoPath
Two (leaf):
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "state/two" Path from root: "/parent/child/state/two"
type Parent_ChildPathAny ¶ added in v0.8.2
Parent_ChildPathAny represents the wildcard version of the /openconfig-simple/parent/child YANG schema element.
func (*Parent_ChildPathAny) Config ¶ added in v0.8.2
func (n *Parent_ChildPathAny) Config() ygnmi.WildcardQuery[*oc.Parent_Child]
Config returns a Query that can be used in gNMI operations.
func (*Parent_ChildPathAny) Five ¶ added in v0.8.2
func (n *Parent_ChildPathAny) Five() *Parent_Child_FivePathAny
Five (leaf):
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "*/five" Path from root: "/parent/child/*/five"
func (*Parent_ChildPathAny) Four ¶ added in v0.8.2
func (n *Parent_ChildPathAny) Four() *Parent_Child_FourPathAny
Four (leaf):
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "*/four" Path from root: "/parent/child/*/four"
func (*Parent_ChildPathAny) One ¶ added in v0.8.2
func (n *Parent_ChildPathAny) One() *Parent_Child_OnePathAny
One (leaf):
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "*/one" Path from root: "/parent/child/*/one"
func (*Parent_ChildPathAny) Six ¶ added in v0.8.2
func (n *Parent_ChildPathAny) Six() *Parent_Child_SixPathAny
Six (leaf-list):
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "*/six" Path from root: "/parent/child/*/six"
func (*Parent_ChildPathAny) State ¶ added in v0.8.2
func (n *Parent_ChildPathAny) State() ygnmi.WildcardQuery[*oc.Parent_Child]
State returns a Query that can be used in gNMI operations.
func (*Parent_ChildPathAny) Three ¶ added in v0.8.2
func (n *Parent_ChildPathAny) Three() *Parent_Child_ThreePathAny
Three (leaf):
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "*/three" Path from root: "/parent/child/*/three"
func (*Parent_ChildPathAny) Two ¶ added in v0.8.2
func (n *Parent_ChildPathAny) Two() *Parent_Child_TwoPathAny
Two (leaf):
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "state/two" Path from root: "/parent/child/state/two"
type Parent_Child_FivePath ¶ added in v0.8.2
Parent_Child_FivePath represents the /openconfig-simple/parent/child/state/five YANG schema element.
func (*Parent_Child_FivePath) Config ¶ added in v0.8.2
func (n *Parent_Child_FivePath) Config() ygnmi.ConfigQuery[float32]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "config/five" Path from root: "/parent/child/config/five"
func (*Parent_Child_FivePath) State ¶ added in v0.8.2
func (n *Parent_Child_FivePath) State() ygnmi.SingletonQuery[float32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "state/five" Path from root: "/parent/child/state/five"
type Parent_Child_FivePathAny ¶ added in v0.8.2
Parent_Child_FivePathAny represents the wildcard version of the /openconfig-simple/parent/child/state/five YANG schema element.
func (*Parent_Child_FivePathAny) Config ¶ added in v0.8.2
func (n *Parent_Child_FivePathAny) Config() ygnmi.WildcardQuery[float32]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "config/five" Path from root: "/parent/child/config/five"
func (*Parent_Child_FivePathAny) State ¶ added in v0.8.2
func (n *Parent_Child_FivePathAny) State() ygnmi.WildcardQuery[float32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "state/five" Path from root: "/parent/child/state/five"
type Parent_Child_FourPath ¶ added in v0.8.2
Parent_Child_FourPath represents the /openconfig-simple/parent/child/state/four YANG schema element.
func (*Parent_Child_FourPath) Config ¶ added in v0.8.2
func (n *Parent_Child_FourPath) Config() ygnmi.ConfigQuery[oc.Binary]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "config/four" Path from root: "/parent/child/config/four"
func (*Parent_Child_FourPath) State ¶ added in v0.8.2
func (n *Parent_Child_FourPath) State() ygnmi.SingletonQuery[oc.Binary]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "state/four" Path from root: "/parent/child/state/four"
type Parent_Child_FourPathAny ¶ added in v0.8.2
Parent_Child_FourPathAny represents the wildcard version of the /openconfig-simple/parent/child/state/four YANG schema element.
func (*Parent_Child_FourPathAny) Config ¶ added in v0.8.2
func (n *Parent_Child_FourPathAny) Config() ygnmi.WildcardQuery[oc.Binary]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "config/four" Path from root: "/parent/child/config/four"
func (*Parent_Child_FourPathAny) State ¶ added in v0.8.2
func (n *Parent_Child_FourPathAny) State() ygnmi.WildcardQuery[oc.Binary]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "state/four" Path from root: "/parent/child/state/four"
type Parent_Child_OnePath ¶ added in v0.8.2
Parent_Child_OnePath represents the /openconfig-simple/parent/child/state/one YANG schema element.
func (*Parent_Child_OnePath) Config ¶ added in v0.8.2
func (n *Parent_Child_OnePath) Config() ygnmi.ConfigQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "config/one" Path from root: "/parent/child/config/one"
func (*Parent_Child_OnePath) State ¶ added in v0.8.2
func (n *Parent_Child_OnePath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "state/one" Path from root: "/parent/child/state/one"
type Parent_Child_OnePathAny ¶ added in v0.8.2
Parent_Child_OnePathAny represents the wildcard version of the /openconfig-simple/parent/child/state/one YANG schema element.
func (*Parent_Child_OnePathAny) Config ¶ added in v0.8.2
func (n *Parent_Child_OnePathAny) Config() ygnmi.WildcardQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "config/one" Path from root: "/parent/child/config/one"
func (*Parent_Child_OnePathAny) State ¶ added in v0.8.2
func (n *Parent_Child_OnePathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "state/one" Path from root: "/parent/child/state/one"
type Parent_Child_SixPath ¶ added in v0.8.2
Parent_Child_SixPath represents the /openconfig-simple/parent/child/state/six YANG schema element.
func (*Parent_Child_SixPath) Config ¶ added in v0.8.2
func (n *Parent_Child_SixPath) Config() ygnmi.ConfigQuery[[]float32]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "config/six" Path from root: "/parent/child/config/six"
func (*Parent_Child_SixPath) State ¶ added in v0.8.2
func (n *Parent_Child_SixPath) State() ygnmi.SingletonQuery[[]float32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "state/six" Path from root: "/parent/child/state/six"
type Parent_Child_SixPathAny ¶ added in v0.8.2
Parent_Child_SixPathAny represents the wildcard version of the /openconfig-simple/parent/child/state/six YANG schema element.
func (*Parent_Child_SixPathAny) Config ¶ added in v0.8.2
func (n *Parent_Child_SixPathAny) Config() ygnmi.WildcardQuery[[]float32]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "config/six" Path from root: "/parent/child/config/six"
func (*Parent_Child_SixPathAny) State ¶ added in v0.8.2
func (n *Parent_Child_SixPathAny) State() ygnmi.WildcardQuery[[]float32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "state/six" Path from root: "/parent/child/state/six"
type Parent_Child_ThreePath ¶ added in v0.8.2
Parent_Child_ThreePath represents the /openconfig-simple/parent/child/state/three YANG schema element.
func (*Parent_Child_ThreePath) Config ¶ added in v0.8.2
func (n *Parent_Child_ThreePath) Config() ygnmi.ConfigQuery[oc.E_Child_Three]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "config/three" Path from root: "/parent/child/config/three"
func (*Parent_Child_ThreePath) State ¶ added in v0.8.2
func (n *Parent_Child_ThreePath) State() ygnmi.SingletonQuery[oc.E_Child_Three]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "state/three" Path from root: "/parent/child/state/three"
type Parent_Child_ThreePathAny ¶ added in v0.8.2
Parent_Child_ThreePathAny represents the wildcard version of the /openconfig-simple/parent/child/state/three YANG schema element.
func (*Parent_Child_ThreePathAny) Config ¶ added in v0.8.2
func (n *Parent_Child_ThreePathAny) Config() ygnmi.WildcardQuery[oc.E_Child_Three]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "config/three" Path from root: "/parent/child/config/three"
func (*Parent_Child_ThreePathAny) State ¶ added in v0.8.2
func (n *Parent_Child_ThreePathAny) State() ygnmi.WildcardQuery[oc.E_Child_Three]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "state/three" Path from root: "/parent/child/state/three"
type Parent_Child_TwoPath ¶ added in v0.8.2
Parent_Child_TwoPath represents the /openconfig-simple/parent/child/state/two YANG schema element.
func (*Parent_Child_TwoPath) State ¶ added in v0.8.2
func (n *Parent_Child_TwoPath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "state/two" Path from root: "/parent/child/state/two"
type Parent_Child_TwoPathAny ¶ added in v0.8.2
Parent_Child_TwoPathAny represents the wildcard version of the /openconfig-simple/parent/child/state/two YANG schema element.
func (*Parent_Child_TwoPathAny) State ¶ added in v0.8.2
func (n *Parent_Child_TwoPathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "state/two" Path from root: "/parent/child/state/two"
type RemoteContainerPath ¶ added in v0.8.2
RemoteContainerPath represents the /openconfig-simple/remote-container YANG schema element.
func (*RemoteContainerPath) ALeaf ¶ added in v0.8.2
func (n *RemoteContainerPath) ALeaf() *RemoteContainer_ALeafPath
ALeaf (leaf):
Defining module: "openconfig-remote" Instantiating module: "openconfig-simple" Path from parent: "*/a-leaf" Path from root: "/remote-container/*/a-leaf"
func (*RemoteContainerPath) Config ¶ added in v0.8.2
func (n *RemoteContainerPath) Config() ygnmi.ConfigQuery[*oc.RemoteContainer]
Config returns a Query that can be used in gNMI operations.
func (*RemoteContainerPath) State ¶ added in v0.8.2
func (n *RemoteContainerPath) State() ygnmi.SingletonQuery[*oc.RemoteContainer]
State returns a Query that can be used in gNMI operations.
type RemoteContainerPathAny ¶ added in v0.8.2
RemoteContainerPathAny represents the wildcard version of the /openconfig-simple/remote-container YANG schema element.
func (*RemoteContainerPathAny) ALeaf ¶ added in v0.8.2
func (n *RemoteContainerPathAny) ALeaf() *RemoteContainer_ALeafPathAny
ALeaf (leaf):
Defining module: "openconfig-remote" Instantiating module: "openconfig-simple" Path from parent: "*/a-leaf" Path from root: "/remote-container/*/a-leaf"
func (*RemoteContainerPathAny) Config ¶ added in v0.8.2
func (n *RemoteContainerPathAny) Config() ygnmi.WildcardQuery[*oc.RemoteContainer]
Config returns a Query that can be used in gNMI operations.
func (*RemoteContainerPathAny) State ¶ added in v0.8.2
func (n *RemoteContainerPathAny) State() ygnmi.WildcardQuery[*oc.RemoteContainer]
State returns a Query that can be used in gNMI operations.
type RemoteContainer_ALeafPath ¶ added in v0.8.2
RemoteContainer_ALeafPath represents the /openconfig-simple/remote-container/state/a-leaf YANG schema element.
func (*RemoteContainer_ALeafPath) Config ¶ added in v0.8.2
func (n *RemoteContainer_ALeafPath) Config() ygnmi.ConfigQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-remote" Instantiating module: "openconfig-simple" Path from parent: "config/a-leaf" Path from root: "/remote-container/config/a-leaf"
func (*RemoteContainer_ALeafPath) State ¶ added in v0.8.2
func (n *RemoteContainer_ALeafPath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-remote" Instantiating module: "openconfig-simple" Path from parent: "state/a-leaf" Path from root: "/remote-container/state/a-leaf"
type RemoteContainer_ALeafPathAny ¶ added in v0.8.2
type RemoteContainer_ALeafPathAny struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
RemoteContainer_ALeafPathAny represents the wildcard version of the /openconfig-simple/remote-container/state/a-leaf YANG schema element.
func (*RemoteContainer_ALeafPathAny) Config ¶ added in v0.8.2
func (n *RemoteContainer_ALeafPathAny) Config() ygnmi.WildcardQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-remote" Instantiating module: "openconfig-simple" Path from parent: "config/a-leaf" Path from root: "/remote-container/config/a-leaf"
func (*RemoteContainer_ALeafPathAny) State ¶ added in v0.8.2
func (n *RemoteContainer_ALeafPathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-remote" Instantiating module: "openconfig-simple" Path from parent: "state/a-leaf" Path from root: "/remote-container/state/a-leaf"
type RootPath ¶
type RootPath struct {
*ygnmi.DeviceRootBase
}
RootPath represents the /root YANG schema element.
func Root ¶
func Root() *RootPath
Root returns a root path object from which YANG paths can be constructed.
func (*RootPath) A ¶
A (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "a" Path from root: "/a"
func (*RootPath) Config ¶
func (n *RootPath) Config() ygnmi.ConfigQuery[*oc.Root]
Config returns a Query that can be used in gNMI operations.
func (*RootPath) Container ¶ added in v0.8.1
func (n *RootPath) Container() *ContainerPath
Container (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "container" Path from root: "/container"
func (*RootPath) Model ¶
Model (container):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "model" Path from root: "/model"
func (*RootPath) Parent ¶
func (n *RootPath) Parent() *ParentPath
Parent (container): I am a parent container that has 4 children.
Defining module: "openconfig-simple" Instantiating module: "openconfig-simple" Path from parent: "parent" Path from root: "/parent"
func (*RootPath) RemoteContainer ¶
func (n *RootPath) RemoteContainer() *RemoteContainerPath
RemoteContainer (container):
Defining module: "openconfig-remote" Instantiating module: "openconfig-simple" Path from parent: "remote-container" Path from root: "/remote-container"