exampleocpath

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

This package was generated by ygnmi version: (devel): (ygot: v0.29.9) 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 APath added in v0.8.2

type APath struct {
	*ygnmi.NodePath
}

APath represents the /openconfig-nested/a YANG schema element.

func (*APath) B added in v0.8.2

func (n *APath) B() *A_BPath

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) State added in v0.8.2

func (n *APath) State() ygnmi.SingletonQuery[*oc.A]

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

type APathAny added in v0.8.2

type APathAny struct {
	*ygnmi.NodePath
}

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"

func (*APathAny) Config added in v0.8.2

func (n *APathAny) Config() ygnmi.WildcardQuery[*oc.A]

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

func (*APathAny) State added in v0.8.2

func (n *APathAny) State() ygnmi.WildcardQuery[*oc.A]

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

type A_BPath added in v0.8.2

type A_BPath struct {
	*ygnmi.NodePath
}

A_BPath represents the /openconfig-nested/a/b YANG schema element.

func (*A_BPath) C added in v0.8.2

func (n *A_BPath) C() *A_B_CPath

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) State added in v0.8.2

func (n *A_BPath) State() ygnmi.SingletonQuery[*oc.A_B]

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

type A_BPathAny added in v0.8.2

type A_BPathAny struct {
	*ygnmi.NodePath
}

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

type A_B_CPath struct {
	*ygnmi.NodePath
}

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) State added in v0.8.2

func (n *A_B_CPath) State() ygnmi.SingletonQuery[*oc.A_B_C]

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

type A_B_CPathAny added in v0.8.2

type A_B_CPathAny struct {
	*ygnmi.NodePath
}

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

type A_B_C_DPath struct {
	*ygnmi.NodePath
}

A_B_C_DPath represents the /openconfig-nested/a/b/c/d YANG schema element.

func (*A_B_C_DPath) Config added in v0.8.2

func (n *A_B_C_DPath) Config() ygnmi.ConfigQuery[*oc.A_B_C_D]

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

func (*A_B_C_DPath) E added in v0.8.2

func (n *A_B_C_DPath) E() *A_B_C_D_EPath

E (container):

Defining module:      "openconfig-nested"
Instantiating module: "openconfig-nested"
Path from parent:     "e"
Path from root:       "/a/b/c/d/e"

func (*A_B_C_DPath) State added in v0.8.2

func (n *A_B_C_DPath) State() ygnmi.SingletonQuery[*oc.A_B_C_D]

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

type A_B_C_DPathAny added in v0.8.2

type A_B_C_DPathAny struct {
	*ygnmi.NodePath
}

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

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

func (*A_B_C_DPathAny) E added in v0.8.2

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

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

type A_B_C_D_EPath added in v0.8.2

type A_B_C_D_EPath struct {
	*ygnmi.NodePath
}

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

F (container):

Defining module:      "openconfig-nested"
Instantiating module: "openconfig-nested"
Path from parent:     "f"
Path from root:       "/a/b/c/d/e/f"

func (*A_B_C_D_EPath) State added in v0.8.2

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

type A_B_C_D_EPathAny added in v0.8.2

type A_B_C_D_EPathAny struct {
	*ygnmi.NodePath
}

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

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

func (*A_B_C_D_EPathAny) F added in v0.8.2

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

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

type A_B_C_D_E_FPath added in v0.8.2

type A_B_C_D_E_FPath struct {
	*ygnmi.NodePath
}

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

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

func (*A_B_C_D_E_FPath) G added in v0.8.2

G (container):

Defining module:      "openconfig-nested"
Instantiating module: "openconfig-nested"
Path from parent:     "g"
Path from root:       "/a/b/c/d/e/f/g"

func (*A_B_C_D_E_FPath) State added in v0.8.2

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

type A_B_C_D_E_FPathAny added in v0.8.2

type A_B_C_D_E_FPathAny struct {
	*ygnmi.NodePath
}

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

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

func (*A_B_C_D_E_FPathAny) G added in v0.8.2

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

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

type A_B_C_D_E_F_GPath added in v0.8.2

type A_B_C_D_E_F_GPath struct {
	*ygnmi.NodePath
}

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

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

H (container):

Defining module:      "openconfig-nested"
Instantiating module: "openconfig-nested"
Path from parent:     "h"
Path from root:       "/a/b/c/d/e/f/g/h"

func (*A_B_C_D_E_F_GPath) State added in v0.8.2

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

type A_B_C_D_E_F_GPathAny added in v0.8.2

type A_B_C_D_E_F_GPathAny struct {
	*ygnmi.NodePath
}

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

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

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

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

type A_B_C_D_E_F_G_HPath struct {
	*ygnmi.NodePath
}

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

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

I (container):

Defining module:      "openconfig-nested"
Instantiating module: "openconfig-nested"
Path from parent:     "i"
Path from root:       "/a/b/c/d/e/f/g/h/i"

func (*A_B_C_D_E_F_G_HPath) State added in v0.8.2

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

type A_B_C_D_E_F_G_HPathAny struct {
	*ygnmi.NodePath
}

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

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

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

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

type A_B_C_D_E_F_G_H_IPath struct {
	*ygnmi.NodePath
}

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

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

J (container):

Defining module:      "openconfig-nested"
Instantiating module: "openconfig-nested"
Path from parent:     "j"
Path from root:       "/a/b/c/d/e/f/g/h/i/j"

func (*A_B_C_D_E_F_G_H_IPath) State added in v0.8.2

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

type A_B_C_D_E_F_G_H_IPathAny struct {
	*ygnmi.NodePath
}

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

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

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

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

type A_B_C_D_E_F_G_H_I_JPath struct {
	*ygnmi.NodePath
}

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

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

K (container):

Defining module:      "openconfig-nested"
Instantiating module: "openconfig-nested"
Path from parent:     "k"
Path from root:       "/a/b/c/d/e/f/g/h/i/j/k"

func (*A_B_C_D_E_F_G_H_I_JPath) State added in v0.8.2

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

type A_B_C_D_E_F_G_H_I_JPathAny struct {
	*ygnmi.NodePath
}

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

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

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

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

type A_B_C_D_E_F_G_H_I_J_KPath struct {
	*ygnmi.NodePath
}

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

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

L (container):

Defining module:      "openconfig-nested"
Instantiating module: "openconfig-nested"
Path from parent:     "l"
Path from root:       "/a/b/c/d/e/f/g/h/i/j/k/l"

func (*A_B_C_D_E_F_G_H_I_J_KPath) State added in v0.8.2

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

type A_B_C_D_E_F_G_H_I_J_KPathAny struct {
	*ygnmi.NodePath
}

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

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

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

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

type A_B_C_D_E_F_G_H_I_J_K_LPath struct {
	*ygnmi.NodePath
}

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

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

M (container):

Defining module:      "openconfig-nested"
Instantiating module: "openconfig-nested"
Path from parent:     "m"
Path from root:       "/a/b/c/d/e/f/g/h/i/j/k/l/m"

func (*A_B_C_D_E_F_G_H_I_J_K_LPath) State added in v0.8.2

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

type A_B_C_D_E_F_G_H_I_J_K_LPathAny struct {
	*ygnmi.NodePath
}

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

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

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

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

type A_B_C_D_E_F_G_H_I_J_K_L_MPath struct {
	*ygnmi.NodePath
}

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

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

Foo (leaf):

Defining module:      "openconfig-nested"
Instantiating module: "openconfig-nested"
Path from parent:     "state/foo"
Path from root:       "/a/b/c/d/e/f/g/h/i/j/k/l/m/state/foo"

func (*A_B_C_D_E_F_G_H_I_J_K_L_MPath) State added in v0.8.2

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

type A_B_C_D_E_F_G_H_I_J_K_L_MPathAny struct {
	*ygnmi.NodePath
}

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

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

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

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

type A_B_C_D_E_F_G_H_I_J_K_L_M_FooPath added in v0.8.2

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

A_B_C_D_E_F_G_H_I_J_K_L_M_FooPath represents the /openconfig-nested/a/b/c/d/e/f/g/h/i/j/k/l/m/state/foo YANG schema element.

func (*A_B_C_D_E_F_G_H_I_J_K_L_M_FooPath) State added in v0.8.2

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

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.

func (*Batch) Config

func (b *Batch) Config() ygnmi.SingletonQuery[*oc.Root]

Config returns a Query that can be used in gNMI operations. The returned query is immutable, adding paths does not modify existing queries.

func (*Batch) State

func (b *Batch) State() ygnmi.SingletonQuery[*oc.Root]

State returns a Query that can be used in gNMI operations. The returned query is immutable, adding paths does not modify existing queries.

type ContainerPath added in v0.8.2

type ContainerPath struct {
	*ygnmi.NodePath
}

ContainerPath represents the /openconfig-nested/container YANG schema element.

func (*ContainerPath) Config added in v0.8.2

func (n *ContainerPath) Config() ygnmi.ConfigQuery[*oc.Container]

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

func (*ContainerPath) State added in v0.8.2

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

type ContainerPathAny added in v0.8.2

type ContainerPathAny struct {
	*ygnmi.NodePath
}

ContainerPathAny represents the wildcard version of the /openconfig-nested/container YANG schema element.

func (*ContainerPathAny) Config added in v0.8.2

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

func (*ContainerPathAny) State added in v0.8.2

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

type ModelPath added in v0.8.2

type ModelPath struct {
	*ygnmi.NodePath
}

ModelPath represents the /openconfig-withlistval/model YANG schema element.

func (*ModelPath) Config added in v0.8.2

func (n *ModelPath) Config() ygnmi.ConfigQuery[*oc.Model]

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

func (*ModelPath) MultiKey added in v0.8.2

func (n *ModelPath) MultiKey(Key1 uint32, Key2 uint64) *modelb.Model_MultiKeyPath

MultiKey (list):

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "b/multi-key"
Path from root:       "/model/b/multi-key"

Key1: uint32
Key2: uint64

func (*ModelPath) MultiKeyAny added in v0.8.2

func (n *ModelPath) MultiKeyAny() *modelb.Model_MultiKeyPathAny

MultiKeyAny (list):

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "b/multi-key"
Path from root:       "/model/b/multi-key"

func (*ModelPath) MultiKeyMap added in v0.8.2

func (n *ModelPath) MultiKeyMap() *modelb.Model_MultiKeyPathMap

MultiKeyMap (list):

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "b/multi-key"
Path from root:       "/model/b/multi-key"

func (*ModelPath) NoKeyAny added in v0.8.2

func (n *ModelPath) NoKeyAny() *Model_NoKeyPathAny

NoKeyAny (list):

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "c/no-key"
Path from root:       "/model/c/no-key"

func (*ModelPath) SingleKey added in v0.8.2

func (n *ModelPath) SingleKey(Key string) *a.Model_SingleKeyPath

SingleKey (list):

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "a/single-key"
Path from root:       "/model/a/single-key"

Key: string

func (*ModelPath) SingleKeyAny added in v0.8.2

func (n *ModelPath) SingleKeyAny() *a.Model_SingleKeyPathAny

SingleKeyAny (list):

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "a/single-key"
Path from root:       "/model/a/single-key"

func (*ModelPath) SingleKeyMap added in v0.8.2

func (n *ModelPath) SingleKeyMap() *a.Model_SingleKeyPathMap

SingleKeyMap (list):

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "a/single-key"
Path from root:       "/model/a/single-key"

func (*ModelPath) State added in v0.8.2

func (n *ModelPath) State() ygnmi.SingletonQuery[*oc.Model]

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

type ModelPathAny added in v0.8.2

type ModelPathAny struct {
	*ygnmi.NodePath
}

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

type Model_NoKeyPath struct {
	*ygnmi.NodePath
}

Model_NoKeyPath represents the /openconfig-withlistval/model/c/no-key YANG schema element.

func (*Model_NoKeyPath) State added in v0.8.2

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

type Model_NoKeyPathAny added in v0.8.2

type Model_NoKeyPathAny struct {
	*ygnmi.NodePath
}

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

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

type Model_NoKey_FooPath added in v0.8.2

type Model_NoKey_FooPath struct {
	*ygnmi.NodePath
}

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

Key (leaf):

Defining module:      "openconfig-withlistval"
Instantiating module: "openconfig-withlistval"
Path from parent:     "state/key"
Path from root:       "/model/c/no-key/foo/state/key"

func (*Model_NoKey_FooPath) State added in v0.8.2

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

func (*Model_NoKey_FooPath) Value added in v0.8.2

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

type Model_NoKey_FooPathAny struct {
	*ygnmi.NodePath
}

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

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

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

func (*Model_NoKey_FooPathAny) Value added in v0.8.2

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

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

Model_NoKey_Foo_KeyPath represents the /openconfig-withlistval/model/c/no-key/foo/state/key YANG schema element.

func (*Model_NoKey_Foo_KeyPath) State added in v0.8.2

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

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

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

Model_NoKey_Foo_ValuePath represents the /openconfig-withlistval/model/c/no-key/foo/state/value YANG schema element.

func (*Model_NoKey_Foo_ValuePath) State added in v0.8.2

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

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

type ParentPath struct {
	*ygnmi.NodePath
}

ParentPath represents the /openconfig-simple/parent YANG schema element.

func (*ParentPath) Child added in v0.8.2

func (n *ParentPath) Child() *Parent_ChildPath

Child (container):

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

func (*ParentPath) Config added in v0.8.2

func (n *ParentPath) Config() ygnmi.ConfigQuery[*oc.Parent]

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

func (*ParentPath) State added in v0.8.2

func (n *ParentPath) State() ygnmi.SingletonQuery[*oc.Parent]

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

type ParentPathAny added in v0.8.2

type ParentPathAny struct {
	*ygnmi.NodePath
}

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

type Parent_ChildPath struct {
	*ygnmi.NodePath
}

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

func (*Parent_ChildPath) Config added in v0.8.2

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

func (*Parent_ChildPath) Five added in v0.8.2

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

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

One (leaf):

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

func (*Parent_ChildPath) Six added in v0.8.2

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

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

func (*Parent_ChildPath) Three added in v0.8.2

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

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

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 added in v0.8.2

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

func (*Parent_ChildPathAny) Five added in v0.8.2

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

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

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

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

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

func (*Parent_ChildPathAny) Three added in v0.8.2

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

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

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 added in v0.8.2

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

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

func (*Parent_Child_FivePath) State added in v0.8.2

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

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 added in v0.8.2

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

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

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 added in v0.8.2

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

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

func (*Parent_Child_FourPath) State added in v0.8.2

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

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 added in v0.8.2

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

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

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 added in v0.8.2

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

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

func (*Parent_Child_OnePath) State added in v0.8.2

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

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 added in v0.8.2

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

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

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 added in v0.8.2

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

Defining module:      "openconfig-simple"
Instantiating module: "openconfig-simple"
Path from parent:     "config/six"
Path from root:       "/parent/child/config/six"

func (*Parent_Child_SixPath) State added in v0.8.2

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

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 added in v0.8.2

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

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

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 added in v0.8.2

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

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

func (*Parent_Child_ThreePath) State added in v0.8.2

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

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 added in v0.8.2

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

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

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 added in v0.8.2

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

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 added in v0.8.2

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

type RemoteContainerPath struct {
	*ygnmi.NodePath
}

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

func (*RemoteContainerPath) ALeaf added in v0.8.2

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

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

func (*RemoteContainerPath) State added in v0.8.2

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

type RemoteContainerPathAny added in v0.8.2

type RemoteContainerPathAny struct {
	*ygnmi.NodePath
}

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

func (*RemoteContainerPathAny) ALeaf added in v0.8.2

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

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

func (*RemoteContainerPathAny) State added in v0.8.2

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

type RemoteContainer_ALeafPath added in v0.8.2

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 added in v0.8.2

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

Defining module:      "openconfig-remote"
Instantiating module: "openconfig-simple"
Path from parent:     "config/a-leaf"
Path from root:       "/remote-container/config/a-leaf"

func (*RemoteContainer_ALeafPath) State added in v0.8.2

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

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

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

func (n *RootPath) A() *APath

A (container):

Defining module:      "openconfig-nested"
Instantiating module: "openconfig-nested"
Path from parent:     "a"
Path from root:       "/a"

func (*RootPath) Config

func (n *RootPath) Config() ygnmi.ConfigQuery[*oc.Root]

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

func (*RootPath) Container added in v0.8.1

func (n *RootPath) Container() *ContainerPath

Container (container):

Defining module:      "openconfig-nested"
Instantiating module: "openconfig-nested"
Path from parent:     "container"
Path from root:       "/container"

func (*RootPath) Model

func (n *RootPath) Model() *ModelPath

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"

func (*RootPath) State

func (n *RootPath) State() ygnmi.SingletonQuery[*oc.Root]

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

Jump to

Keyboard shortcuts

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