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.34.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
- ../pathgen/testdata/yang/openconfig-unione.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 ComponentPath
- func (n *ComponentPath) Config() ygnmi.ConfigQuery[*oc.Component]
- func (n *ComponentPath) E1() *Component_E1Path
- func (n *ComponentPath) Enumerated() *Component_EnumeratedPath
- func (n *ComponentPath) Name() *Component_NamePath
- func (n *ComponentPath) PathOriginName() string
- func (n *ComponentPath) Power() *Component_PowerPath
- func (n *ComponentPath) R1() *Component_R1Path
- func (n *ComponentPath) State() ygnmi.SingletonQuery[*oc.Component]
- func (n *ComponentPath) Type() *Component_TypePath
- type ComponentPathAny
- func (n *ComponentPathAny) Config() ygnmi.WildcardQuery[*oc.Component]
- func (n *ComponentPathAny) E1() *Component_E1PathAny
- func (n *ComponentPathAny) Enumerated() *Component_EnumeratedPathAny
- func (n *ComponentPathAny) Name() *Component_NamePathAny
- func (n *ComponentPathAny) Power() *Component_PowerPathAny
- func (n *ComponentPathAny) R1() *Component_R1PathAny
- func (n *ComponentPathAny) State() ygnmi.WildcardQuery[*oc.Component]
- func (n *ComponentPathAny) Type() *Component_TypePathAny
- type ComponentPathMap
- type ComponentPathMapAny
- type Component_E1Path
- type Component_E1PathAny
- type Component_EnumeratedPath
- type Component_EnumeratedPathAny
- type Component_NamePath
- type Component_NamePathAny
- type Component_PowerPath
- type Component_PowerPathAny
- type Component_R1Path
- type Component_R1PathAny
- type Component_TypePath
- type Component_TypePathAny
- type ContainerPath
- type ContainerPathAny
- type DupEnumPath
- type DupEnumPathAny
- type DupEnum_APath
- type DupEnum_APathAny
- type DupEnum_BPath
- type DupEnum_BPathAny
- 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) Component(Name string) *ComponentPath
- func (n *RootPath) ComponentAny() *ComponentPathAny
- func (n *RootPath) ComponentMap() *ComponentPathMap
- func (n *RootPath) Config() ygnmi.ConfigQuery[*oc.Root]
- func (n *RootPath) Container() *ContainerPath
- func (n *RootPath) DupEnum() *DupEnumPath
- 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"
func (*APath) Config ¶ added in v0.8.2
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 ¶ 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"
func (*A_BPath) Config ¶ added in v0.8.2
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 ¶ 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"
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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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 ComponentPath ¶ added in v0.14.0
ComponentPath represents the /openconfig-unione/platform/component YANG schema element.
func (*ComponentPath) Config ¶ added in v0.14.0
func (n *ComponentPath) Config() ygnmi.ConfigQuery[*oc.Component]
Config returns a Query that can be used in gNMI operations.
func (*ComponentPath) E1 ¶ added in v0.14.0
func (n *ComponentPath) E1() *Component_E1Path
E1 (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/e1" Path from root: "/platform/component/state/e1"
func (*ComponentPath) Enumerated ¶ added in v0.14.0
func (n *ComponentPath) Enumerated() *Component_EnumeratedPath
Enumerated (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/enumerated" Path from root: "/platform/component/state/enumerated"
func (*ComponentPath) Name ¶ added in v0.14.0
func (n *ComponentPath) Name() *Component_NamePath
Name (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "*/name" Path from root: "/platform/component/*/name"
func (*ComponentPath) PathOriginName ¶ added in v0.14.0
func (n *ComponentPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*ComponentPath) Power ¶ added in v0.14.0
func (n *ComponentPath) Power() *Component_PowerPath
Power (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/power" Path from root: "/platform/component/state/power"
func (*ComponentPath) R1 ¶ added in v0.14.0
func (n *ComponentPath) R1() *Component_R1Path
R1 (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/r1" Path from root: "/platform/component/state/r1"
func (*ComponentPath) State ¶ added in v0.14.0
func (n *ComponentPath) State() ygnmi.SingletonQuery[*oc.Component]
State returns a Query that can be used in gNMI operations.
func (*ComponentPath) Type ¶ added in v0.14.0
func (n *ComponentPath) Type() *Component_TypePath
Type (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/type" Path from root: "/platform/component/state/type"
type ComponentPathAny ¶ added in v0.14.0
ComponentPathAny represents the wildcard version of the /openconfig-unione/platform/component YANG schema element.
func (*ComponentPathAny) Config ¶ added in v0.14.0
func (n *ComponentPathAny) Config() ygnmi.WildcardQuery[*oc.Component]
Config returns a Query that can be used in gNMI operations.
func (*ComponentPathAny) E1 ¶ added in v0.14.0
func (n *ComponentPathAny) E1() *Component_E1PathAny
E1 (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/e1" Path from root: "/platform/component/state/e1"
func (*ComponentPathAny) Enumerated ¶ added in v0.14.0
func (n *ComponentPathAny) Enumerated() *Component_EnumeratedPathAny
Enumerated (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/enumerated" Path from root: "/platform/component/state/enumerated"
func (*ComponentPathAny) Name ¶ added in v0.14.0
func (n *ComponentPathAny) Name() *Component_NamePathAny
Name (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "*/name" Path from root: "/platform/component/*/name"
func (*ComponentPathAny) Power ¶ added in v0.14.0
func (n *ComponentPathAny) Power() *Component_PowerPathAny
Power (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/power" Path from root: "/platform/component/state/power"
func (*ComponentPathAny) R1 ¶ added in v0.14.0
func (n *ComponentPathAny) R1() *Component_R1PathAny
R1 (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/r1" Path from root: "/platform/component/state/r1"
func (*ComponentPathAny) State ¶ added in v0.14.0
func (n *ComponentPathAny) State() ygnmi.WildcardQuery[*oc.Component]
State returns a Query that can be used in gNMI operations.
func (*ComponentPathAny) Type ¶ added in v0.14.0
func (n *ComponentPathAny) Type() *Component_TypePathAny
Type (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/type" Path from root: "/platform/component/state/type"
type ComponentPathMap ¶ added in v0.14.0
ComponentPathMap represents the /openconfig-unione/platform/component YANG schema element.
func (*ComponentPathMap) Config ¶ added in v0.14.0
func (n *ComponentPathMap) Config() ygnmi.ConfigQuery[map[string]*oc.Component]
Config returns a Query that can be used in gNMI operations.
func (*ComponentPathMap) PathOriginName ¶ added in v0.14.0
func (n *ComponentPathMap) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*ComponentPathMap) State ¶ added in v0.14.0
func (n *ComponentPathMap) State() ygnmi.SingletonQuery[map[string]*oc.Component]
State returns a Query that can be used in gNMI operations.
type ComponentPathMapAny ¶ added in v0.14.0
ComponentPathMapAny represents the wildcard version of the /openconfig-unione/platform/component YANG schema element.
func (*ComponentPathMapAny) Config ¶ added in v0.14.0
func (n *ComponentPathMapAny) Config() ygnmi.WildcardQuery[map[string]*oc.Component]
Config returns a Query that can be used in gNMI operations.
func (*ComponentPathMapAny) State ¶ added in v0.14.0
func (n *ComponentPathMapAny) State() ygnmi.WildcardQuery[map[string]*oc.Component]
State returns a Query that can be used in gNMI operations.
type Component_E1Path ¶ added in v0.14.0
Component_E1Path represents the /openconfig-unione/platform/component/state/e1 YANG schema element.
func (*Component_E1Path) PathOriginName ¶ added in v0.14.0
func (n *Component_E1Path) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Component_E1Path) State ¶ added in v0.14.0
func (n *Component_E1Path) State() ygnmi.SingletonQuery[oc.Component_E1_Union]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/e1" Path from root: "/platform/component/state/e1"
type Component_E1PathAny ¶ added in v0.14.0
Component_E1PathAny represents the wildcard version of the /openconfig-unione/platform/component/state/e1 YANG schema element.
func (*Component_E1PathAny) State ¶ added in v0.14.0
func (n *Component_E1PathAny) State() ygnmi.WildcardQuery[oc.Component_E1_Union]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/e1" Path from root: "/platform/component/state/e1"
type Component_EnumeratedPath ¶ added in v0.14.0
Component_EnumeratedPath represents the /openconfig-unione/platform/component/state/enumerated YANG schema element.
func (*Component_EnumeratedPath) PathOriginName ¶ added in v0.14.0
func (n *Component_EnumeratedPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Component_EnumeratedPath) State ¶ added in v0.14.0
func (n *Component_EnumeratedPath) State() ygnmi.SingletonQuery[oc.Component_Enumerated_Union]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/enumerated" Path from root: "/platform/component/state/enumerated"
type Component_EnumeratedPathAny ¶ added in v0.14.0
type Component_EnumeratedPathAny struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
Component_EnumeratedPathAny represents the wildcard version of the /openconfig-unione/platform/component/state/enumerated YANG schema element.
func (*Component_EnumeratedPathAny) State ¶ added in v0.14.0
func (n *Component_EnumeratedPathAny) State() ygnmi.WildcardQuery[oc.Component_Enumerated_Union]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/enumerated" Path from root: "/platform/component/state/enumerated"
type Component_NamePath ¶ added in v0.14.0
Component_NamePath represents the /openconfig-unione/platform/component/state/name YANG schema element.
func (*Component_NamePath) Config ¶ added in v0.14.0
func (n *Component_NamePath) Config() ygnmi.ConfigQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "config/name" Path from root: "/platform/component/config/name"
func (*Component_NamePath) PathOriginName ¶ added in v0.14.0
func (n *Component_NamePath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Component_NamePath) State ¶ added in v0.14.0
func (n *Component_NamePath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/name" Path from root: "/platform/component/state/name"
type Component_NamePathAny ¶ added in v0.14.0
Component_NamePathAny represents the wildcard version of the /openconfig-unione/platform/component/state/name YANG schema element.
func (*Component_NamePathAny) Config ¶ added in v0.14.0
func (n *Component_NamePathAny) Config() ygnmi.WildcardQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "config/name" Path from root: "/platform/component/config/name"
func (*Component_NamePathAny) State ¶ added in v0.14.0
func (n *Component_NamePathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/name" Path from root: "/platform/component/state/name"
type Component_PowerPath ¶ added in v0.14.0
Component_PowerPath represents the /openconfig-unione/platform/component/state/power YANG schema element.
func (*Component_PowerPath) PathOriginName ¶ added in v0.14.0
func (n *Component_PowerPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Component_PowerPath) State ¶ added in v0.14.0
func (n *Component_PowerPath) State() ygnmi.SingletonQuery[oc.Component_Power_Union]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/power" Path from root: "/platform/component/state/power"
type Component_PowerPathAny ¶ added in v0.14.0
Component_PowerPathAny represents the wildcard version of the /openconfig-unione/platform/component/state/power YANG schema element.
func (*Component_PowerPathAny) State ¶ added in v0.14.0
func (n *Component_PowerPathAny) State() ygnmi.WildcardQuery[oc.Component_Power_Union]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/power" Path from root: "/platform/component/state/power"
type Component_R1Path ¶ added in v0.14.0
Component_R1Path represents the /openconfig-unione/platform/component/state/r1 YANG schema element.
func (*Component_R1Path) PathOriginName ¶ added in v0.14.0
func (n *Component_R1Path) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Component_R1Path) State ¶ added in v0.14.0
func (n *Component_R1Path) State() ygnmi.SingletonQuery[oc.Component_E1_Union]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/r1" Path from root: "/platform/component/state/r1"
type Component_R1PathAny ¶ added in v0.14.0
Component_R1PathAny represents the wildcard version of the /openconfig-unione/platform/component/state/r1 YANG schema element.
func (*Component_R1PathAny) State ¶ added in v0.14.0
func (n *Component_R1PathAny) State() ygnmi.WildcardQuery[oc.Component_E1_Union]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/r1" Path from root: "/platform/component/state/r1"
type Component_TypePath ¶ added in v0.14.0
Component_TypePath represents the /openconfig-unione/platform/component/state/type YANG schema element.
func (*Component_TypePath) PathOriginName ¶ added in v0.14.0
func (n *Component_TypePath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*Component_TypePath) State ¶ added in v0.14.0
func (n *Component_TypePath) State() ygnmi.SingletonQuery[oc.Component_Type_Union]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/type" Path from root: "/platform/component/state/type"
type Component_TypePathAny ¶ added in v0.14.0
Component_TypePathAny represents the wildcard version of the /openconfig-unione/platform/component/state/type YANG schema element.
func (*Component_TypePathAny) State ¶ added in v0.14.0
func (n *Component_TypePathAny) State() ygnmi.WildcardQuery[oc.Component_Type_Union]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/type" Path from root: "/platform/component/state/type"
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) 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 ¶ 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 DupEnumPath ¶ added in v0.14.0
DupEnumPath represents the /openconfig-unione/dup-enum YANG schema element.
func (*DupEnumPath) A ¶ added in v0.14.0
func (n *DupEnumPath) A() *DupEnum_APath
A (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/A" Path from root: "/dup-enum/state/A"
func (*DupEnumPath) B ¶ added in v0.14.0
func (n *DupEnumPath) B() *DupEnum_BPath
B (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/B" Path from root: "/dup-enum/state/B"
func (*DupEnumPath) Config ¶ added in v0.14.0
func (n *DupEnumPath) Config() ygnmi.ConfigQuery[*oc.DupEnum]
Config returns a Query that can be used in gNMI operations.
func (*DupEnumPath) PathOriginName ¶ added in v0.14.0
func (n *DupEnumPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*DupEnumPath) State ¶ added in v0.14.0
func (n *DupEnumPath) State() ygnmi.SingletonQuery[*oc.DupEnum]
State returns a Query that can be used in gNMI operations.
type DupEnumPathAny ¶ added in v0.14.0
DupEnumPathAny represents the wildcard version of the /openconfig-unione/dup-enum YANG schema element.
func (*DupEnumPathAny) A ¶ added in v0.14.0
func (n *DupEnumPathAny) A() *DupEnum_APathAny
A (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/A" Path from root: "/dup-enum/state/A"
func (*DupEnumPathAny) B ¶ added in v0.14.0
func (n *DupEnumPathAny) B() *DupEnum_BPathAny
B (leaf):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/B" Path from root: "/dup-enum/state/B"
func (*DupEnumPathAny) Config ¶ added in v0.14.0
func (n *DupEnumPathAny) Config() ygnmi.WildcardQuery[*oc.DupEnum]
Config returns a Query that can be used in gNMI operations.
func (*DupEnumPathAny) State ¶ added in v0.14.0
func (n *DupEnumPathAny) State() ygnmi.WildcardQuery[*oc.DupEnum]
State returns a Query that can be used in gNMI operations.
type DupEnum_APath ¶ added in v0.14.0
DupEnum_APath represents the /openconfig-unione/dup-enum/state/A YANG schema element.
func (*DupEnum_APath) PathOriginName ¶ added in v0.14.0
func (n *DupEnum_APath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*DupEnum_APath) State ¶ added in v0.14.0
func (n *DupEnum_APath) State() ygnmi.SingletonQuery[oc.E_DupEnum_A]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/A" Path from root: "/dup-enum/state/A"
type DupEnum_APathAny ¶ added in v0.14.0
DupEnum_APathAny represents the wildcard version of the /openconfig-unione/dup-enum/state/A YANG schema element.
func (*DupEnum_APathAny) State ¶ added in v0.14.0
func (n *DupEnum_APathAny) State() ygnmi.WildcardQuery[oc.E_DupEnum_A]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/A" Path from root: "/dup-enum/state/A"
type DupEnum_BPath ¶ added in v0.14.0
DupEnum_BPath represents the /openconfig-unione/dup-enum/state/B YANG schema element.
func (*DupEnum_BPath) PathOriginName ¶ added in v0.14.0
func (n *DupEnum_BPath) PathOriginName() string
PathOrigin returns the name of the origin for the path object.
func (*DupEnum_BPath) State ¶ added in v0.14.0
func (n *DupEnum_BPath) State() ygnmi.SingletonQuery[oc.E_DupEnum_B]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/B" Path from root: "/dup-enum/state/B"
type DupEnum_BPathAny ¶ added in v0.14.0
DupEnum_BPathAny represents the wildcard version of the /openconfig-unione/dup-enum/state/B YANG schema element.
func (*DupEnum_BPathAny) State ¶ added in v0.14.0
func (n *DupEnum_BPathAny) State() ygnmi.WildcardQuery[oc.E_DupEnum_B]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "state/B" Path from root: "/dup-enum/state/B"
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) PathOriginName ¶ added in v0.13.0
PathOrigin returns the name of the origin for the path object.
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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) 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 ¶ 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) Component ¶ added in v0.14.0
func (n *RootPath) Component(Name string) *ComponentPath
Component (list):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "platform/component" Path from root: "/platform/component" Name: string
func (*RootPath) ComponentAny ¶ added in v0.14.0
func (n *RootPath) ComponentAny() *ComponentPathAny
ComponentAny (list):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "platform/component" Path from root: "/platform/component"
func (*RootPath) ComponentMap ¶ added in v0.14.0
func (n *RootPath) ComponentMap() *ComponentPathMap
ComponentMap (list):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "platform/component" Path from root: "/platform/component"
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) DupEnum ¶ added in v0.14.0
func (n *RootPath) DupEnum() *DupEnumPath
DupEnum (container):
Defining module: "openconfig-unione" Instantiating module: "openconfig-unione" Path from parent: "dup-enum" Path from root: "/dup-enum"
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"