lag

package
v0.5.7 Latest Latest
Warning

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

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

Documentation

Overview

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

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

  • models-yang/models/bgp/open-traffic-generator-bgp.yang
  • models-yang/models/discovery/open-traffic-generator-discovery.yang
  • models-yang/models/flow/open-traffic-generator-flow.yang
  • models-yang/models/interface/open-traffic-generator-port.yang
  • models-yang/models/isis/open-traffic-generator-isis.yang
  • models-yang/models/lacp/open-traffic-generator-lacp.yang
  • models-yang/models/lag/open-traffic-generator-lag.yang
  • models-yang/models/lldp/open-traffic-generator-lldp.yang
  • models-yang/models/rsvp/open-traffic-generator-rsvp.yang
  • models-yang/models/types/open-traffic-generator-types.yang

Imported modules were sourced from:

  • models-yang/models/...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LagPath

type LagPath struct {
	*ygnmi.NodePath
}

LagPath represents the /open-traffic-generator-lag/lags/lag YANG schema element.

func (*LagPath) Counters

func (n *LagPath) Counters() *Lag_CountersPath

Counters (container): Counters of an OTG LAG.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/counters"
Path from root:       "/lags/lag/state/counters"

func (*LagPath) InRate

func (n *LagPath) InRate() *Lag_InRatePath

InRate (leaf): The current receive rate of an OTG LAG, measured in bits per second.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/in-rate"
Path from root:       "/lags/lag/state/in-rate"

func (*LagPath) Name

func (n *LagPath) Name() *Lag_NamePath

Name (leaf): An arbitary name of an OTG LAG determined by the OTG configuration.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "*/name"
Path from root:       "/lags/lag/*/name"

func (*LagPath) OperStatus

func (n *LagPath) OperStatus() *Lag_OperStatusPath

OperStatus (leaf): The current operational state of an OTG LAG.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/oper-status"
Path from root:       "/lags/lag/state/oper-status"

func (*LagPath) OutRate

func (n *LagPath) OutRate() *Lag_OutRatePath

OutRate (leaf): The current transmit rate of an OTG LAG, measured in bits per second.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/out-rate"
Path from root:       "/lags/lag/state/out-rate"

func (*LagPath) State

func (n *LagPath) State() ygnmi.SingletonQuery[*oc.Lag]

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

type LagPathAny

type LagPathAny struct {
	*ygnmi.NodePath
}

LagPathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag YANG schema element.

func (*LagPathAny) Counters

func (n *LagPathAny) Counters() *Lag_CountersPathAny

Counters (container): Counters of an OTG LAG.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/counters"
Path from root:       "/lags/lag/state/counters"

func (*LagPathAny) InRate

func (n *LagPathAny) InRate() *Lag_InRatePathAny

InRate (leaf): The current receive rate of an OTG LAG, measured in bits per second.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/in-rate"
Path from root:       "/lags/lag/state/in-rate"

func (*LagPathAny) Name

func (n *LagPathAny) Name() *Lag_NamePathAny

Name (leaf): An arbitary name of an OTG LAG determined by the OTG configuration.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "*/name"
Path from root:       "/lags/lag/*/name"

func (*LagPathAny) OperStatus

func (n *LagPathAny) OperStatus() *Lag_OperStatusPathAny

OperStatus (leaf): The current operational state of an OTG LAG.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/oper-status"
Path from root:       "/lags/lag/state/oper-status"

func (*LagPathAny) OutRate

func (n *LagPathAny) OutRate() *Lag_OutRatePathAny

OutRate (leaf): The current transmit rate of an OTG LAG, measured in bits per second.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/out-rate"
Path from root:       "/lags/lag/state/out-rate"

func (*LagPathAny) State

func (n *LagPathAny) State() ygnmi.WildcardQuery[*oc.Lag]

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

type LagPathMap added in v0.1.24

type LagPathMap struct {
	*ygnmi.NodePath
}

LagPathMap represents the /open-traffic-generator-lag/lags/lag YANG schema element.

type LagPathMapAny added in v0.1.24

type LagPathMapAny struct {
	*ygnmi.NodePath
}

LagPathMapAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag YANG schema element.

type Lag_CountersPath

type Lag_CountersPath struct {
	*ygnmi.NodePath
}

Lag_CountersPath represents the /open-traffic-generator-lag/lags/lag/state/counters YANG schema element.

func (*Lag_CountersPath) InFrames

InFrames (leaf): The total number of packets received on the LAG.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "in-frames"
Path from root:       "/lags/lag/state/counters/in-frames"

func (*Lag_CountersPath) InOctets

InOctets (leaf): The total number of octets received on the LAG.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "in-octets"
Path from root:       "/lags/lag/state/counters/in-octets"

func (*Lag_CountersPath) MemberPortsUp

MemberPortsUp (leaf): The current *-number of member ports on the LAG in UP state.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "member-ports-up"
Path from root:       "/lags/lag/state/counters/member-ports-up"

func (*Lag_CountersPath) OutFrames

OutFrames (leaf): The total number of packets transmitted on the LAG.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "out-frames"
Path from root:       "/lags/lag/state/counters/out-frames"

func (*Lag_CountersPath) OutOctets

OutOctets (leaf): The total number of octets transmitted on the LAG.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "out-octets"
Path from root:       "/lags/lag/state/counters/out-octets"

func (*Lag_CountersPath) State

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

type Lag_CountersPathAny

type Lag_CountersPathAny struct {
	*ygnmi.NodePath
}

Lag_CountersPathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/counters YANG schema element.

func (*Lag_CountersPathAny) InFrames

InFrames (leaf): The total number of packets received on the LAG.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "in-frames"
Path from root:       "/lags/lag/state/counters/in-frames"

func (*Lag_CountersPathAny) InOctets

InOctets (leaf): The total number of octets received on the LAG.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "in-octets"
Path from root:       "/lags/lag/state/counters/in-octets"

func (*Lag_CountersPathAny) MemberPortsUp

MemberPortsUp (leaf): The current *-number of member ports on the LAG in UP state.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "member-ports-up"
Path from root:       "/lags/lag/state/counters/member-ports-up"

func (*Lag_CountersPathAny) OutFrames

OutFrames (leaf): The total number of packets transmitted on the LAG.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "out-frames"
Path from root:       "/lags/lag/state/counters/out-frames"

func (*Lag_CountersPathAny) OutOctets

OutOctets (leaf): The total number of octets transmitted on the LAG.

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "out-octets"
Path from root:       "/lags/lag/state/counters/out-octets"

func (*Lag_CountersPathAny) State

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

type Lag_Counters_InFramesPath

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

Lag_Counters_InFramesPath represents the /open-traffic-generator-lag/lags/lag/state/counters/in-frames YANG schema element.

func (*Lag_Counters_InFramesPath) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "in-frames"
Path from root:       "/lags/lag/state/counters/in-frames"

type Lag_Counters_InFramesPathAny

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

Lag_Counters_InFramesPathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/counters/in-frames YANG schema element.

func (*Lag_Counters_InFramesPathAny) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "in-frames"
Path from root:       "/lags/lag/state/counters/in-frames"

type Lag_Counters_InOctetsPath

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

Lag_Counters_InOctetsPath represents the /open-traffic-generator-lag/lags/lag/state/counters/in-octets YANG schema element.

func (*Lag_Counters_InOctetsPath) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "in-octets"
Path from root:       "/lags/lag/state/counters/in-octets"

type Lag_Counters_InOctetsPathAny

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

Lag_Counters_InOctetsPathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/counters/in-octets YANG schema element.

func (*Lag_Counters_InOctetsPathAny) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "in-octets"
Path from root:       "/lags/lag/state/counters/in-octets"

type Lag_Counters_MemberPortsUpPath

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

Lag_Counters_MemberPortsUpPath represents the /open-traffic-generator-lag/lags/lag/state/counters/member-ports-up YANG schema element.

func (*Lag_Counters_MemberPortsUpPath) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "member-ports-up"
Path from root:       "/lags/lag/state/counters/member-ports-up"

type Lag_Counters_MemberPortsUpPathAny

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

Lag_Counters_MemberPortsUpPathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/counters/member-ports-up YANG schema element.

func (*Lag_Counters_MemberPortsUpPathAny) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "member-ports-up"
Path from root:       "/lags/lag/state/counters/member-ports-up"

type Lag_Counters_OutFramesPath

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

Lag_Counters_OutFramesPath represents the /open-traffic-generator-lag/lags/lag/state/counters/out-frames YANG schema element.

func (*Lag_Counters_OutFramesPath) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "out-frames"
Path from root:       "/lags/lag/state/counters/out-frames"

type Lag_Counters_OutFramesPathAny

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

Lag_Counters_OutFramesPathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/counters/out-frames YANG schema element.

func (*Lag_Counters_OutFramesPathAny) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "out-frames"
Path from root:       "/lags/lag/state/counters/out-frames"

type Lag_Counters_OutOctetsPath

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

Lag_Counters_OutOctetsPath represents the /open-traffic-generator-lag/lags/lag/state/counters/out-octets YANG schema element.

func (*Lag_Counters_OutOctetsPath) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "out-octets"
Path from root:       "/lags/lag/state/counters/out-octets"

type Lag_Counters_OutOctetsPathAny

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

Lag_Counters_OutOctetsPathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/counters/out-octets YANG schema element.

func (*Lag_Counters_OutOctetsPathAny) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "out-octets"
Path from root:       "/lags/lag/state/counters/out-octets"

type Lag_InRatePath

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

Lag_InRatePath represents the /open-traffic-generator-lag/lags/lag/state/in-rate YANG schema element.

func (*Lag_InRatePath) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/in-rate"
Path from root:       "/lags/lag/state/in-rate"

type Lag_InRatePathAny

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

Lag_InRatePathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/in-rate YANG schema element.

func (*Lag_InRatePathAny) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/in-rate"
Path from root:       "/lags/lag/state/in-rate"

type Lag_NamePath

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

Lag_NamePath represents the /open-traffic-generator-lag/lags/lag/state/name YANG schema element.

func (*Lag_NamePath) Config

func (n *Lag_NamePath) Config() ygnmi.ConfigQuery[string]

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "name"
Path from root:       ""

func (*Lag_NamePath) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/name"
Path from root:       "/lags/lag/state/name"

type Lag_NamePathAny

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

Lag_NamePathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/name YANG schema element.

func (*Lag_NamePathAny) Config

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "name"
Path from root:       ""

func (*Lag_NamePathAny) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/name"
Path from root:       "/lags/lag/state/name"

type Lag_OperStatusPath

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

Lag_OperStatusPath represents the /open-traffic-generator-lag/lags/lag/state/oper-status YANG schema element.

func (*Lag_OperStatusPath) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/oper-status"
Path from root:       "/lags/lag/state/oper-status"

type Lag_OperStatusPathAny

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

Lag_OperStatusPathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/oper-status YANG schema element.

func (*Lag_OperStatusPathAny) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/oper-status"
Path from root:       "/lags/lag/state/oper-status"

type Lag_OutRatePath

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

Lag_OutRatePath represents the /open-traffic-generator-lag/lags/lag/state/out-rate YANG schema element.

func (*Lag_OutRatePath) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/out-rate"
Path from root:       "/lags/lag/state/out-rate"

type Lag_OutRatePathAny

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

Lag_OutRatePathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/out-rate YANG schema element.

func (*Lag_OutRatePathAny) State

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

Defining module:      "open-traffic-generator-lag"
Instantiating module: "open-traffic-generator-lag"
Path from parent:     "state/out-rate"
Path from root:       "/lags/lag/state/out-rate"

Jump to

Keyboard shortcuts

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