nested

package
v0.0.0-...-45eeedb Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package nested is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. The generated paths are based on a compressed form of the schema.

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

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

Imported modules were sourced from:

Index

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

Jump to

Keyboard shortcuts

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