Documentation ¶
Overview ¶
Package simple is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. The generated paths are based on a compressed form of the schema.
This package was generated by ygnmi version: (devel): (ygot: v0.25.6) 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 ParentPath
- type ParentPathAny
- type Parent_ChildPath
- func (n *Parent_ChildPath) Config() ygnmi.ConfigQuery[*oc.Parent_Child]
- func (n *Parent_ChildPath) Five() *Parent_Child_FivePath
- func (n *Parent_ChildPath) Four() *Parent_Child_FourPath
- func (n *Parent_ChildPath) One() *Parent_Child_OnePath
- func (n *Parent_ChildPath) Six() *Parent_Child_SixPath
- func (n *Parent_ChildPath) State() ygnmi.SingletonQuery[*oc.Parent_Child]
- func (n *Parent_ChildPath) Three() *Parent_Child_ThreePath
- func (n *Parent_ChildPath) Two() *Parent_Child_TwoPath
- type Parent_ChildPathAny
- func (n *Parent_ChildPathAny) Config() ygnmi.WildcardQuery[*oc.Parent_Child]
- func (n *Parent_ChildPathAny) Five() *Parent_Child_FivePathAny
- func (n *Parent_ChildPathAny) Four() *Parent_Child_FourPathAny
- func (n *Parent_ChildPathAny) One() *Parent_Child_OnePathAny
- func (n *Parent_ChildPathAny) Six() *Parent_Child_SixPathAny
- func (n *Parent_ChildPathAny) State() ygnmi.WildcardQuery[*oc.Parent_Child]
- func (n *Parent_ChildPathAny) Three() *Parent_Child_ThreePathAny
- func (n *Parent_ChildPathAny) Two() *Parent_Child_TwoPathAny
- type Parent_Child_FivePath
- type Parent_Child_FivePathAny
- type Parent_Child_FourPath
- type Parent_Child_FourPathAny
- type Parent_Child_OnePath
- type Parent_Child_OnePathAny
- type Parent_Child_SixPath
- type Parent_Child_SixPathAny
- type Parent_Child_ThreePath
- type Parent_Child_ThreePathAny
- type Parent_Child_TwoPath
- type Parent_Child_TwoPathAny
- type RemoteContainerPath
- type RemoteContainerPathAny
- type RemoteContainer_ALeafPath
- type RemoteContainer_ALeafPathAny
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) 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) 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/state/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) 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/state/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/state/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) 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/state/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/state/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) 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/state/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/state/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) 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/state/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/state/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) 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/state/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) 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) 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/state/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) 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/state/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"