simple

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package simple is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.

This package was generated by ygnmi version: (devel): (ygot: v0.29.17) using the following YANG input files:

  • ../../pathgen/testdata/yang/openconfig-simple.yang
  • ../../pathgen/testdata/yang/openconfig-withlistval.yang
  • ../../pathgen/testdata/yang/openconfig-nested.yang

Imported modules were sourced from:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParentPath

type ParentPath struct {
	*ygnmi.NodePath
}

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

type ParentPathAny struct {
	*ygnmi.NodePath
}

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

type Parent_ChildPath struct {
	*ygnmi.NodePath
}

Parent_ChildPath represents the /openconfig-simple/parent/child YANG schema element.

func (*Parent_ChildPath) Config

Config returns a Query that can be used in gNMI operations.

func (*Parent_ChildPath) Five

Five (leaf):

Defining module:      "openconfig-simple"
Instantiating module: "openconfig-simple"
Path from parent:     "*/five"
Path from root:       "/parent/child/*/five"

func (*Parent_ChildPath) Four

Four (leaf):

Defining module:      "openconfig-simple"
Instantiating module: "openconfig-simple"
Path from parent:     "*/four"
Path from root:       "/parent/child/*/four"

func (*Parent_ChildPath) One

One (leaf):

Defining module:      "openconfig-simple"
Instantiating module: "openconfig-simple"
Path from parent:     "*/one"
Path from root:       "/parent/child/*/one"

func (*Parent_ChildPath) Six

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

State returns a Query that can be used in gNMI operations.

func (*Parent_ChildPath) Three

Three (leaf):

Defining module:      "openconfig-simple"
Instantiating module: "openconfig-simple"
Path from parent:     "*/three"
Path from root:       "/parent/child/*/three"

func (*Parent_ChildPath) Two

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

type Parent_ChildPathAny struct {
	*ygnmi.NodePath
}

Parent_ChildPathAny represents the wildcard version of the /openconfig-simple/parent/child YANG schema element.

func (*Parent_ChildPathAny) Config

Config returns a Query that can be used in gNMI operations.

func (*Parent_ChildPathAny) Five

Five (leaf):

Defining module:      "openconfig-simple"
Instantiating module: "openconfig-simple"
Path from parent:     "*/five"
Path from root:       "/parent/child/*/five"

func (*Parent_ChildPathAny) Four

Four (leaf):

Defining module:      "openconfig-simple"
Instantiating module: "openconfig-simple"
Path from parent:     "*/four"
Path from root:       "/parent/child/*/four"

func (*Parent_ChildPathAny) One

One (leaf):

Defining module:      "openconfig-simple"
Instantiating module: "openconfig-simple"
Path from parent:     "*/one"
Path from root:       "/parent/child/*/one"

func (*Parent_ChildPathAny) Six

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

State returns a Query that can be used in gNMI operations.

func (*Parent_ChildPathAny) Three

Three (leaf):

Defining module:      "openconfig-simple"
Instantiating module: "openconfig-simple"
Path from parent:     "*/three"
Path from root:       "/parent/child/*/three"

func (*Parent_ChildPathAny) Two

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

type Parent_Child_FivePath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Parent_Child_FivePath represents the /openconfig-simple/parent/child/state/five YANG schema element.

func (*Parent_Child_FivePath) Config

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

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

type Parent_Child_FivePathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Parent_Child_FivePathAny represents the wildcard version of the /openconfig-simple/parent/child/state/five YANG schema element.

func (*Parent_Child_FivePathAny) Config

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

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

type Parent_Child_FourPath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Parent_Child_FourPath represents the /openconfig-simple/parent/child/state/four YANG schema element.

func (*Parent_Child_FourPath) Config

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

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

type Parent_Child_FourPathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Parent_Child_FourPathAny represents the wildcard version of the /openconfig-simple/parent/child/state/four YANG schema element.

func (*Parent_Child_FourPathAny) Config

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

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

type Parent_Child_OnePath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Parent_Child_OnePath represents the /openconfig-simple/parent/child/state/one YANG schema element.

func (*Parent_Child_OnePath) Config

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

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

type Parent_Child_OnePathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Parent_Child_OnePathAny represents the wildcard version of the /openconfig-simple/parent/child/state/one YANG schema element.

func (*Parent_Child_OnePathAny) Config

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

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

type Parent_Child_SixPath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Parent_Child_SixPath represents the /openconfig-simple/parent/child/state/six YANG schema element.

func (*Parent_Child_SixPath) Config

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

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

type Parent_Child_SixPathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Parent_Child_SixPathAny represents the wildcard version of the /openconfig-simple/parent/child/state/six YANG schema element.

func (*Parent_Child_SixPathAny) Config

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

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

type Parent_Child_ThreePath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Parent_Child_ThreePath represents the /openconfig-simple/parent/child/state/three YANG schema element.

func (*Parent_Child_ThreePath) Config

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

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

type Parent_Child_ThreePathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Parent_Child_ThreePathAny represents the wildcard version of the /openconfig-simple/parent/child/state/three YANG schema element.

func (*Parent_Child_ThreePathAny) Config

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

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

type Parent_Child_TwoPath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Parent_Child_TwoPath represents the /openconfig-simple/parent/child/state/two YANG schema element.

func (*Parent_Child_TwoPath) State

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

type Parent_Child_TwoPathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Parent_Child_TwoPathAny represents the wildcard version of the /openconfig-simple/parent/child/state/two YANG schema element.

func (*Parent_Child_TwoPathAny) State

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

type RemoteContainerPath struct {
	*ygnmi.NodePath
}

RemoteContainerPath represents the /openconfig-simple/remote-container YANG schema element.

func (*RemoteContainerPath) ALeaf

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

Config returns a Query that can be used in gNMI operations.

func (*RemoteContainerPath) State

State returns a Query that can be used in gNMI operations.

type RemoteContainerPathAny

type RemoteContainerPathAny struct {
	*ygnmi.NodePath
}

RemoteContainerPathAny represents the wildcard version of the /openconfig-simple/remote-container YANG schema element.

func (*RemoteContainerPathAny) ALeaf

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

Config returns a Query that can be used in gNMI operations.

func (*RemoteContainerPathAny) State

State returns a Query that can be used in gNMI operations.

type RemoteContainer_ALeafPath

type RemoteContainer_ALeafPath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

RemoteContainer_ALeafPath represents the /openconfig-simple/remote-container/state/a-leaf YANG schema element.

func (*RemoteContainer_ALeafPath) Config

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

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

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

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"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL