setpathoriginpath

package
v0.14.0 Latest Latest
Warning

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

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

Documentation

Overview

Package setpathoriginpath 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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APath

type APath struct {
	*ygnmi.NodePath
}

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

func (*APath) B

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

func (n *APath) Config() ygnmi.ConfigQuery[*oc.A]

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

func (*APath) PathOriginName

func (n *APath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

func (*APath) State

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

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

type APathAny

type APathAny struct {
	*ygnmi.NodePath
}

APathAny represents the wildcard version of the /openconfig-nested/a YANG schema element.

func (*APathAny) B

func (n *APathAny) B() *A_BPathAny

B (container):

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

func (*APathAny) Config

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

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

func (*APathAny) State

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

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

type A_BPath

type A_BPath struct {
	*ygnmi.NodePath
}

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

func (*A_BPath) C

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

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

func (n *A_BPath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

func (*A_BPath) State

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

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

type A_BPathAny

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

func (n *A_BPathAny) C() *A_B_CPathAny

C (container):

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

func (*A_BPathAny) Config

func (n *A_BPathAny) Config() ygnmi.WildcardQuery[*oc.A_B]

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

func (*A_BPathAny) State

func (n *A_BPathAny) State() ygnmi.WildcardQuery[*oc.A_B]

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

type A_B_CPath

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

func (n *A_B_CPath) Config() ygnmi.ConfigQuery[*oc.A_B_C]

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

func (*A_B_CPath) D

func (n *A_B_CPath) D() *A_B_C_DPath

D (container):

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

func (*A_B_CPath) PathOriginName

func (n *A_B_CPath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

func (*A_B_CPath) State

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

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

func (n *A_B_CPathAny) Config() ygnmi.WildcardQuery[*oc.A_B_C]

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

func (*A_B_CPathAny) D

func (n *A_B_CPathAny) D() *A_B_C_DPathAny

D (container):

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

func (*A_B_CPathAny) State

func (n *A_B_CPathAny) State() ygnmi.WildcardQuery[*oc.A_B_C]

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

type A_B_C_DPath

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

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

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

func (*A_B_C_DPath) E

func (n *A_B_C_DPath) E() *A_B_C_D_EPath

E (container):

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

func (*A_B_C_DPath) PathOriginName

func (n *A_B_C_DPath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

func (*A_B_C_DPath) State

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

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

type A_B_C_DPathAny

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

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

func (*A_B_C_DPathAny) E

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

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

type A_B_C_D_EPath

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

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

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

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

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

type A_B_C_D_EPathAny

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

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

func (*A_B_C_D_EPathAny) F

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

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

type A_B_C_D_E_FPath

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

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

func (*A_B_C_D_E_FPath) G

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

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

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

type A_B_C_D_E_FPathAny

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

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

func (*A_B_C_D_E_FPathAny) G

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

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

type A_B_C_D_E_F_GPath

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

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

func (*A_B_C_D_E_F_GPath) H

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

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

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

type A_B_C_D_E_F_GPathAny

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

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

func (*A_B_C_D_E_F_GPathAny) H

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

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

type A_B_C_D_E_F_G_HPath

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

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

func (*A_B_C_D_E_F_G_HPath) I

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

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

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

type A_B_C_D_E_F_G_HPathAny

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

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

func (*A_B_C_D_E_F_G_HPathAny) I

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

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

type A_B_C_D_E_F_G_H_IPath

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

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

func (*A_B_C_D_E_F_G_H_IPath) J

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

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

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

type A_B_C_D_E_F_G_H_IPathAny

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

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

func (*A_B_C_D_E_F_G_H_IPathAny) J

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

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

type A_B_C_D_E_F_G_H_I_JPath

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

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

func (*A_B_C_D_E_F_G_H_I_JPath) K

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

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

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

type A_B_C_D_E_F_G_H_I_JPathAny

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

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

func (*A_B_C_D_E_F_G_H_I_JPathAny) K

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

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

type A_B_C_D_E_F_G_H_I_J_KPath

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

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

func (*A_B_C_D_E_F_G_H_I_J_KPath) L

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

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

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

type A_B_C_D_E_F_G_H_I_J_KPathAny

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

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

func (*A_B_C_D_E_F_G_H_I_J_KPathAny) L

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

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

type A_B_C_D_E_F_G_H_I_J_K_LPath

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

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

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

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

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

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_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

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

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

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

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

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

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

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

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

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

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

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

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

type A_B_C_D_E_F_G_H_I_J_K_L_M_FooPath

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

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

func (*A_B_C_D_E_F_G_H_I_J_K_L_M_FooPath) PathOriginName

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

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

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

type A_B_C_D_E_F_G_H_I_J_K_L_M_FooPathAny

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

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

func (*A_B_C_D_E_F_G_H_I_J_K_L_M_FooPathAny) State

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

type ComponentPath struct {
	*ygnmi.NodePath
}

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

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

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

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

type ComponentPathAny struct {
	*ygnmi.NodePath
}

ComponentPathAny represents the wildcard version of the /openconfig-unione/platform/component YANG schema element.

func (*ComponentPathAny) Config added in v0.14.0

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

func (*ComponentPathAny) E1 added in v0.14.0

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

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

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

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

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

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

func (*ComponentPathAny) Type added in v0.14.0

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

type ComponentPathMap struct {
	*ygnmi.NodePath
}

ComponentPathMap represents the /openconfig-unione/platform/component YANG schema element.

func (*ComponentPathMap) Config added in v0.14.0

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

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

type ComponentPathMapAny added in v0.14.0

type ComponentPathMapAny struct {
	*ygnmi.NodePath
}

ComponentPathMapAny represents the wildcard version of the /openconfig-unione/platform/component YANG schema element.

func (*ComponentPathMapAny) Config added in v0.14.0

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

func (*ComponentPathMapAny) State added in v0.14.0

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

type Component_E1Path added in v0.14.0

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

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

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

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

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

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

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

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

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

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

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

Component_NamePath represents the /openconfig-unione/platform/component/config/name YANG schema element.

func (*Component_NamePath) Config added in v0.14.0

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

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

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

Component_NamePathAny represents the wildcard version of the /openconfig-unione/platform/component/config/name YANG schema element.

func (*Component_NamePathAny) Config added in v0.14.0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type ContainerPath struct {
	*ygnmi.NodePath
}

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

func (*ContainerPath) Config

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

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

func (*ContainerPath) PathOriginName

func (n *ContainerPath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

func (*ContainerPath) State

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

type ContainerPathAny

type ContainerPathAny struct {
	*ygnmi.NodePath
}

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

func (*ContainerPathAny) Config

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

func (*ContainerPathAny) State

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

type DupEnumPath added in v0.14.0

type DupEnumPath struct {
	*ygnmi.NodePath
}

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

type DupEnumPathAny struct {
	*ygnmi.NodePath
}

DupEnumPathAny represents the wildcard version of the /openconfig-unione/dup-enum YANG schema element.

func (*DupEnumPathAny) A added in v0.14.0

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

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

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

func (*DupEnumPathAny) State added in v0.14.0

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

type DupEnum_APath added in v0.14.0

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

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

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

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

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

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

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

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

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

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

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

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

type ModelPath struct {
	*ygnmi.NodePath
}

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

func (*ModelPath) Config

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

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

func (*ModelPath) MultiKey

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

MultiKey (list):

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

Key1: uint32
Key2: uint64

func (*ModelPath) MultiKeyAny

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

MultiKeyAny (list):

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

func (*ModelPath) MultiKeyMap

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

MultiKeyMap (list):

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

func (*ModelPath) NoKeyAny

func (n *ModelPath) NoKeyAny() *Model_NoKeyPathAny

NoKeyAny (list):

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

func (*ModelPath) PathOriginName

func (n *ModelPath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

func (*ModelPath) SingleKey

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

SingleKey (list):

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

Key: string

func (*ModelPath) SingleKeyAny

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

SingleKeyAny (list):

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

func (*ModelPath) SingleKeyMap

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

SingleKeyMap (list):

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

func (*ModelPath) State

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

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

type ModelPathAny

type ModelPathAny struct {
	*ygnmi.NodePath
}

ModelPathAny represents the wildcard version of the /openconfig-withlistval/model YANG schema element.

func (*ModelPathAny) Config

func (n *ModelPathAny) Config() ygnmi.WildcardQuery[*oc.Model]

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

func (*ModelPathAny) MultiKey

func (n *ModelPathAny) MultiKey(Key1 uint32, Key2 uint64) *modelb.Model_MultiKeyPathAny

MultiKey (list):

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

Key1: uint32
Key2: uint64

func (*ModelPathAny) MultiKeyAny

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

MultiKeyAny (list):

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

func (*ModelPathAny) MultiKeyMap

func (n *ModelPathAny) MultiKeyMap() *modelb.Model_MultiKeyPathMapAny

MultiKeyMap (list):

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

func (*ModelPathAny) NoKeyAny

func (n *ModelPathAny) NoKeyAny() *Model_NoKeyPathAny

NoKeyAny (list):

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

func (*ModelPathAny) SingleKey

func (n *ModelPathAny) SingleKey(Key string) *a.Model_SingleKeyPathAny

SingleKey (list):

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

Key: string

func (*ModelPathAny) SingleKeyAny

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

SingleKeyAny (list):

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

func (*ModelPathAny) SingleKeyMap

func (n *ModelPathAny) SingleKeyMap() *a.Model_SingleKeyPathMapAny

SingleKeyMap (list):

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

func (*ModelPathAny) State

func (n *ModelPathAny) State() ygnmi.WildcardQuery[*oc.Model]

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

type Model_NoKeyPath

type Model_NoKeyPath struct {
	*ygnmi.NodePath
}

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

func (*Model_NoKeyPath) PathOriginName

func (n *Model_NoKeyPath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

func (*Model_NoKeyPath) State

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

type Model_NoKeyPathAny

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

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

type Model_NoKey_FooPath

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

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

func (n *Model_NoKey_FooPath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

func (*Model_NoKey_FooPath) State

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

func (*Model_NoKey_FooPath) Value

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

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

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

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

func (*Model_NoKey_FooPathAny) Value

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

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) PathOriginName

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

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

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

type Model_NoKey_Foo_KeyPathAny

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

Model_NoKey_Foo_KeyPathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key/foo/state/key YANG schema element.

func (*Model_NoKey_Foo_KeyPathAny) State

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

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) PathOriginName

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

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

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

type Model_NoKey_Foo_ValuePathAny

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

Model_NoKey_Foo_ValuePathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key/foo/state/value YANG schema element.

func (*Model_NoKey_Foo_ValuePathAny) State

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

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) PathOriginName

func (n *ParentPath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

func (*ParentPath) State

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

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

type ParentPathAny

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) PathOriginName

func (n *Parent_ChildPath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

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/config/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) PathOriginName

func (n *Parent_Child_FivePath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

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/config/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/config/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) PathOriginName

func (n *Parent_Child_FourPath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

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/config/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/config/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) PathOriginName

func (n *Parent_Child_OnePath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

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/config/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/config/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) PathOriginName

func (n *Parent_Child_SixPath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

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/config/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/config/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) PathOriginName

func (n *Parent_Child_ThreePath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

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/config/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) PathOriginName

func (n *Parent_Child_TwoPath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

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) PathOriginName

func (n *RemoteContainerPath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

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/config/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) PathOriginName

func (n *RemoteContainer_ALeafPath) PathOriginName() string

PathOrigin returns the name of the origin for the path object.

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/config/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"

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) 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

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

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