Documentation
¶
Overview ¶
Package exampleocconfigpath 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.32.0) 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
- 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]
- 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
- func (n *A_B_C_D_E_F_G_H_I_J_KPath) PathOriginName() string
- 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]
- 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
- 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]
- 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
- func (n *A_B_C_D_E_F_G_H_I_J_K_LPath) PathOriginName() string
- 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]
- 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
- 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]
- 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
- func (n *A_B_C_D_E_F_G_H_I_J_K_L_MPath) PathOriginName() string
- 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]
- 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) PathOriginName() string
- 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) PathOriginName() string
- 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 ¶
APath represents the /openconfig-nested/a YANG schema element.
func (*APath) B ¶
B (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "b" Path from root: "/a/b"
func (*APath) Config ¶
func (n *APath) Config() ygnmi.ConfigQuery[*oc.A]
Config returns a Query that can be used in gNMI operations.
func (*APath) PathOriginName ¶ added in v0.13.0
PathOrigin returns the name of the origin for the path object.
type APathAny ¶
APathAny represents the wildcard version of the /openconfig-nested/a YANG schema element.
func (*APathAny) B ¶
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 ¶
A_BPath represents the /openconfig-nested/a/b YANG schema element.
func (*A_BPath) C ¶
C (container):
Defining module: "openconfig-nested" Instantiating module: "openconfig-nested" Path from parent: "c" Path from root: "/a/b/c"
func (*A_BPath) Config ¶
func (n *A_BPath) Config() ygnmi.ConfigQuery[*oc.A_B]
Config returns a Query that can be used in gNMI operations.
func (*A_BPath) PathOriginName ¶ added in v0.13.0
PathOrigin returns the name of the origin for the path object.
type A_BPathAny ¶
A_BPathAny represents the wildcard version of the /openconfig-nested/a/b YANG schema element.
func (*A_BPathAny) C ¶
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 ¶
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 ¶
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 ¶
A_B_CPath represents the /openconfig-nested/a/b/c YANG schema element.
func (*A_B_CPath) Config ¶
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 ¶
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"
func (*A_B_CPath) PathOriginName ¶ added in v0.13.0
PathOrigin returns the name of the origin for the path object.
type A_B_CPathAny ¶
A_B_CPathAny represents the wildcard version of the /openconfig-nested/a/b/c YANG schema element.
func (*A_B_CPathAny) Config ¶
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 ¶
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 ¶
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 ¶
A_B_C_DPath represents the /openconfig-nested/a/b/c/d YANG schema element.
func (*A_B_C_DPath) Config ¶
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 ¶
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) PathOriginName ¶ added in v0.13.0
func (n *A_B_C_DPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*A_B_C_DPath) State ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
A_B_C_D_EPath represents the /openconfig-nested/a/b/c/d/e YANG schema element.
func (*A_B_C_D_EPath) Config ¶
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 ¶
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) PathOriginName ¶ added in v0.13.0
func (n *A_B_C_D_EPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*A_B_C_D_EPath) State ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) PathOriginName ¶ added in v0.13.0
func (n *A_B_C_D_E_FPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*A_B_C_D_E_FPath) State ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) PathOriginName ¶ added in v0.13.0
func (n *A_B_C_D_E_F_GPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*A_B_C_D_E_F_GPath) State ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) PathOriginName ¶ added in v0.13.0
func (n *A_B_C_D_E_F_G_HPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*A_B_C_D_E_F_G_HPath) State ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) PathOriginName ¶ added in v0.13.0
func (n *A_B_C_D_E_F_G_H_IPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*A_B_C_D_E_F_G_H_IPath) State ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) PathOriginName ¶ added in v0.13.0
func (n *A_B_C_D_E_F_G_H_I_JPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*A_B_C_D_E_F_G_H_I_JPath) State ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) PathOriginName ¶ added in v0.13.0
func (n *A_B_C_D_E_F_G_H_I_J_KPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*A_B_C_D_E_F_G_H_I_J_KPath) State ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) PathOriginName ¶ added in v0.13.0
func (n *A_B_C_D_E_F_G_H_I_J_K_LPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*A_B_C_D_E_F_G_H_I_J_K_LPath) State ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) PathOriginName ¶ added in v0.13.0
func (n *A_B_C_D_E_F_G_H_I_J_K_L_MPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*A_B_C_D_E_F_G_H_I_J_K_L_MPath) State ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) PathOriginName ¶ added in v0.13.0
func (n *A_B_C_D_E_F_G_H_I_J_K_L_M_FooPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*A_B_C_D_E_F_G_H_I_J_K_L_M_FooPath) State ¶
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 ¶
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 ¶
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 ¶
ContainerPath represents the /openconfig-nested/container YANG schema element.
func (*ContainerPath) Config ¶
func (n *ContainerPath) Config() ygnmi.ConfigQuery[*oc.Container]
Config returns a Query that can be used in gNMI operations.
func (*ContainerPath) PathOriginName ¶ added in v0.13.0
func (n *ContainerPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*ContainerPath) State ¶
func (n *ContainerPath) State() ygnmi.SingletonQuery[*oc.Container]
State returns a Query that can be used in gNMI operations.
type ContainerPathAny ¶
ContainerPathAny represents the wildcard version of the /openconfig-nested/container YANG schema element.
func (*ContainerPathAny) Config ¶
func (n *ContainerPathAny) Config() ygnmi.WildcardQuery[*oc.Container]
Config returns a Query that can be used in gNMI operations.
func (*ContainerPathAny) State ¶
func (n *ContainerPathAny) State() ygnmi.WildcardQuery[*oc.Container]
State returns a Query that can be used in gNMI operations.
type ModelPath ¶
ModelPath represents the /openconfig-withlistval/model YANG schema element.
func (*ModelPath) Config ¶
func (n *ModelPath) Config() ygnmi.ConfigQuery[*oc.Model]
Config returns a Query that can be used in gNMI operations.
func (*ModelPath) MultiKey ¶
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 ¶
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 ¶
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 ¶
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) PathOriginName ¶ added in v0.13.0
PathOrigin returns the name of the origin for the path object.
func (*ModelPath) SingleKey ¶
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 ¶
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 ¶
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 ¶
ModelPathAny represents the wildcard version of the /openconfig-withlistval/model YANG schema element.
func (*ModelPathAny) Config ¶
func (n *ModelPathAny) Config() ygnmi.WildcardQuery[*oc.Model]
Config returns a Query that can be used in gNMI operations.
func (*ModelPathAny) MultiKey ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (n *ModelPathAny) State() ygnmi.WildcardQuery[*oc.Model]
State returns a Query that can be used in gNMI operations.
type Model_NoKeyPath ¶
Model_NoKeyPath represents the /openconfig-withlistval/model/c/no-key YANG schema element.
func (*Model_NoKeyPath) PathOriginName ¶ added in v0.13.0
func (n *Model_NoKeyPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Model_NoKeyPath) State ¶
func (n *Model_NoKeyPath) State() ygnmi.SingletonQuery[*oc.Model_NoKey]
State returns a Query that can be used in gNMI operations.
type Model_NoKeyPathAny ¶
Model_NoKeyPathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key YANG schema element.
func (*Model_NoKeyPathAny) State ¶
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 ¶
Model_NoKey_FooPath represents the /openconfig-withlistval/model/c/no-key/foo YANG schema element.
func (*Model_NoKey_FooPath) Key ¶
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) PathOriginName ¶ added in v0.13.0
func (n *Model_NoKey_FooPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Model_NoKey_FooPath) State ¶
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 ¶
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 ¶
Model_NoKey_FooPathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key/foo YANG schema element.
func (*Model_NoKey_FooPathAny) Key ¶
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 ¶
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 ¶
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 ¶
Model_NoKey_Foo_KeyPath represents the /openconfig-withlistval/model/c/no-key/foo/state/key YANG schema element.
func (*Model_NoKey_Foo_KeyPath) PathOriginName ¶ added in v0.13.0
func (n *Model_NoKey_Foo_KeyPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Model_NoKey_Foo_KeyPath) State ¶
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 ¶
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 ¶
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 ¶
Model_NoKey_Foo_ValuePath represents the /openconfig-withlistval/model/c/no-key/foo/state/value YANG schema element.
func (*Model_NoKey_Foo_ValuePath) PathOriginName ¶ added in v0.13.0
func (n *Model_NoKey_Foo_ValuePath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Model_NoKey_Foo_ValuePath) State ¶
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 ¶
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 ¶
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 ¶
ParentPath represents the /openconfig-simple/parent YANG schema element.
func (*ParentPath) Child ¶
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 ¶
func (n *ParentPath) Config() ygnmi.ConfigQuery[*oc.Parent]
Config returns a Query that can be used in gNMI operations.
func (*ParentPath) PathOriginName ¶ added in v0.13.0
func (n *ParentPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*ParentPath) State ¶
func (n *ParentPath) State() ygnmi.SingletonQuery[*oc.Parent]
State returns a Query that can be used in gNMI operations.
type ParentPathAny ¶
ParentPathAny represents the wildcard version of the /openconfig-simple/parent YANG schema element.
func (*ParentPathAny) Child ¶
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 ¶
func (n *ParentPathAny) Config() ygnmi.WildcardQuery[*oc.Parent]
Config returns a Query that can be used in gNMI operations.
func (*ParentPathAny) State ¶
func (n *ParentPathAny) State() ygnmi.WildcardQuery[*oc.Parent]
State returns a Query that can be used in gNMI operations.
type Parent_ChildPath ¶
Parent_ChildPath represents the /openconfig-simple/parent/child YANG schema element.
func (*Parent_ChildPath) Config ¶
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 ¶
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 ¶
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 ¶
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) PathOriginName ¶ added in v0.13.0
func (n *Parent_ChildPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Parent_ChildPath) Six ¶
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 ¶
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 ¶
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 ¶
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 ¶
Parent_ChildPathAny represents the wildcard version of the /openconfig-simple/parent/child YANG schema element.
func (*Parent_ChildPathAny) Config ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
Parent_Child_FivePath represents the /openconfig-simple/parent/child/config/five YANG schema element.
func (*Parent_Child_FivePath) Config ¶
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) PathOriginName ¶ added in v0.13.0
func (n *Parent_Child_FivePath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Parent_Child_FivePath) State ¶
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 ¶
Parent_Child_FivePathAny represents the wildcard version of the /openconfig-simple/parent/child/config/five YANG schema element.
func (*Parent_Child_FivePathAny) Config ¶
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 ¶
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 ¶
Parent_Child_FourPath represents the /openconfig-simple/parent/child/config/four YANG schema element.
func (*Parent_Child_FourPath) Config ¶
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) PathOriginName ¶ added in v0.13.0
func (n *Parent_Child_FourPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Parent_Child_FourPath) State ¶
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 ¶
Parent_Child_FourPathAny represents the wildcard version of the /openconfig-simple/parent/child/config/four YANG schema element.
func (*Parent_Child_FourPathAny) Config ¶
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 ¶
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 ¶
Parent_Child_OnePath represents the /openconfig-simple/parent/child/config/one YANG schema element.
func (*Parent_Child_OnePath) Config ¶
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) PathOriginName ¶ added in v0.13.0
func (n *Parent_Child_OnePath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Parent_Child_OnePath) State ¶
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 ¶
Parent_Child_OnePathAny represents the wildcard version of the /openconfig-simple/parent/child/config/one YANG schema element.
func (*Parent_Child_OnePathAny) Config ¶
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 ¶
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 ¶
Parent_Child_SixPath represents the /openconfig-simple/parent/child/config/six YANG schema element.
func (*Parent_Child_SixPath) Config ¶
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) PathOriginName ¶ added in v0.13.0
func (n *Parent_Child_SixPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Parent_Child_SixPath) State ¶
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 ¶
Parent_Child_SixPathAny represents the wildcard version of the /openconfig-simple/parent/child/config/six YANG schema element.
func (*Parent_Child_SixPathAny) Config ¶
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 ¶
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 ¶
Parent_Child_ThreePath represents the /openconfig-simple/parent/child/config/three YANG schema element.
func (*Parent_Child_ThreePath) Config ¶
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) PathOriginName ¶ added in v0.13.0
func (n *Parent_Child_ThreePath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Parent_Child_ThreePath) State ¶
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 ¶
Parent_Child_ThreePathAny represents the wildcard version of the /openconfig-simple/parent/child/config/three YANG schema element.
func (*Parent_Child_ThreePathAny) Config ¶
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 ¶
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 ¶
Parent_Child_TwoPath represents the /openconfig-simple/parent/child/state/two YANG schema element.
func (*Parent_Child_TwoPath) PathOriginName ¶ added in v0.13.0
func (n *Parent_Child_TwoPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Parent_Child_TwoPath) State ¶
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 ¶
Parent_Child_TwoPathAny represents the wildcard version of the /openconfig-simple/parent/child/state/two YANG schema element.
func (*Parent_Child_TwoPathAny) State ¶
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 ¶
RemoteContainerPath represents the /openconfig-simple/remote-container YANG schema element.
func (*RemoteContainerPath) ALeaf ¶
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 ¶
func (n *RemoteContainerPath) Config() ygnmi.ConfigQuery[*oc.RemoteContainer]
Config returns a Query that can be used in gNMI operations.
func (*RemoteContainerPath) PathOriginName ¶ added in v0.13.0
func (n *RemoteContainerPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*RemoteContainerPath) State ¶
func (n *RemoteContainerPath) State() ygnmi.SingletonQuery[*oc.RemoteContainer]
State returns a Query that can be used in gNMI operations.
type RemoteContainerPathAny ¶
RemoteContainerPathAny represents the wildcard version of the /openconfig-simple/remote-container YANG schema element.
func (*RemoteContainerPathAny) ALeaf ¶
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 ¶
func (n *RemoteContainerPathAny) Config() ygnmi.WildcardQuery[*oc.RemoteContainer]
Config returns a Query that can be used in gNMI operations.
func (*RemoteContainerPathAny) State ¶
func (n *RemoteContainerPathAny) State() ygnmi.WildcardQuery[*oc.RemoteContainer]
State returns a Query that can be used in gNMI operations.
type RemoteContainer_ALeafPath ¶
RemoteContainer_ALeafPath represents the /openconfig-simple/remote-container/config/a-leaf YANG schema element.
func (*RemoteContainer_ALeafPath) Config ¶
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) PathOriginName ¶ added in v0.13.0
func (n *RemoteContainer_ALeafPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*RemoteContainer_ALeafPath) State ¶
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 ¶
type RemoteContainer_ALeafPathAny struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
RemoteContainer_ALeafPathAny represents the wildcard version of the /openconfig-simple/remote-container/config/a-leaf YANG schema element.
func (*RemoteContainer_ALeafPathAny) Config ¶
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 ¶
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 ¶
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"