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 ¶
- type LagPath
- type LagPathAny
- func (n *LagPathAny) Counters() *Lag_CountersPathAny
- func (n *LagPathAny) InRate() *Lag_InRatePathAny
- func (n *LagPathAny) Name() *Lag_NamePathAny
- func (n *LagPathAny) OperStatus() *Lag_OperStatusPathAny
- func (n *LagPathAny) OutRate() *Lag_OutRatePathAny
- func (n *LagPathAny) State() ygnmi.WildcardQuery[*oc.Lag]
- type LagPathMap
- type LagPathMapAny
- type Lag_CountersPath
- func (n *Lag_CountersPath) InFrames() *Lag_Counters_InFramesPath
- func (n *Lag_CountersPath) InOctets() *Lag_Counters_InOctetsPath
- func (n *Lag_CountersPath) MemberPortsUp() *Lag_Counters_MemberPortsUpPath
- func (n *Lag_CountersPath) OutFrames() *Lag_Counters_OutFramesPath
- func (n *Lag_CountersPath) OutOctets() *Lag_Counters_OutOctetsPath
- func (n *Lag_CountersPath) State() ygnmi.SingletonQuery[*oc.Lag_Counters]
- type Lag_CountersPathAny
- func (n *Lag_CountersPathAny) InFrames() *Lag_Counters_InFramesPathAny
- func (n *Lag_CountersPathAny) InOctets() *Lag_Counters_InOctetsPathAny
- func (n *Lag_CountersPathAny) MemberPortsUp() *Lag_Counters_MemberPortsUpPathAny
- func (n *Lag_CountersPathAny) OutFrames() *Lag_Counters_OutFramesPathAny
- func (n *Lag_CountersPathAny) OutOctets() *Lag_Counters_OutOctetsPathAny
- func (n *Lag_CountersPathAny) State() ygnmi.WildcardQuery[*oc.Lag_Counters]
- type Lag_Counters_InFramesPath
- type Lag_Counters_InFramesPathAny
- type Lag_Counters_InOctetsPath
- type Lag_Counters_InOctetsPathAny
- type Lag_Counters_MemberPortsUpPath
- type Lag_Counters_MemberPortsUpPathAny
- type Lag_Counters_OutFramesPath
- type Lag_Counters_OutFramesPathAny
- type Lag_Counters_OutOctetsPath
- type Lag_Counters_OutOctetsPathAny
- type Lag_InRatePath
- type Lag_InRatePathAny
- type Lag_NamePath
- type Lag_NamePathAny
- type Lag_OperStatusPath
- type Lag_OperStatusPathAny
- type Lag_OutRatePath
- type Lag_OutRatePathAny
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LagPath ¶
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"
type LagPathAny ¶
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
LagPathMap represents the /open-traffic-generator-lag/lags/lag YANG schema element.
type LagPathMapAny ¶ added in v0.1.24
LagPathMapAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag YANG schema element.
type Lag_CountersPath ¶
Lag_CountersPath represents the /open-traffic-generator-lag/lags/lag/state/counters YANG schema element.
func (*Lag_CountersPath) InFrames ¶
func (n *Lag_CountersPath) InFrames() *Lag_Counters_InFramesPath
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 ¶
func (n *Lag_CountersPath) InOctets() *Lag_Counters_InOctetsPath
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 ¶
func (n *Lag_CountersPath) MemberPortsUp() *Lag_Counters_MemberPortsUpPath
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 ¶
func (n *Lag_CountersPath) OutFrames() *Lag_Counters_OutFramesPath
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 ¶
func (n *Lag_CountersPath) OutOctets() *Lag_Counters_OutOctetsPath
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 ¶
func (n *Lag_CountersPath) State() ygnmi.SingletonQuery[*oc.Lag_Counters]
State returns a Query that can be used in gNMI operations.
type Lag_CountersPathAny ¶
Lag_CountersPathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/counters YANG schema element.
func (*Lag_CountersPathAny) InFrames ¶
func (n *Lag_CountersPathAny) InFrames() *Lag_Counters_InFramesPathAny
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 ¶
func (n *Lag_CountersPathAny) InOctets() *Lag_Counters_InOctetsPathAny
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 ¶
func (n *Lag_CountersPathAny) MemberPortsUp() *Lag_Counters_MemberPortsUpPathAny
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 ¶
func (n *Lag_CountersPathAny) OutFrames() *Lag_Counters_OutFramesPathAny
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 ¶
func (n *Lag_CountersPathAny) OutOctets() *Lag_Counters_OutOctetsPathAny
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 ¶
func (n *Lag_CountersPathAny) State() ygnmi.WildcardQuery[*oc.Lag_Counters]
State returns a Query that can be used in gNMI operations.
type Lag_Counters_InFramesPath ¶
Lag_Counters_InFramesPath represents the /open-traffic-generator-lag/lags/lag/state/counters/in-frames YANG schema element.
func (*Lag_Counters_InFramesPath) State ¶
func (n *Lag_Counters_InFramesPath) State() ygnmi.SingletonQuery[uint64]
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 ¶
func (n *Lag_Counters_InFramesPathAny) State() ygnmi.WildcardQuery[uint64]
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 ¶
Lag_Counters_InOctetsPath represents the /open-traffic-generator-lag/lags/lag/state/counters/in-octets YANG schema element.
func (*Lag_Counters_InOctetsPath) State ¶
func (n *Lag_Counters_InOctetsPath) State() ygnmi.SingletonQuery[uint64]
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 ¶
func (n *Lag_Counters_InOctetsPathAny) State() ygnmi.WildcardQuery[uint64]
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 ¶
func (n *Lag_Counters_MemberPortsUpPath) State() ygnmi.SingletonQuery[uint64]
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 ¶
func (n *Lag_Counters_MemberPortsUpPathAny) State() ygnmi.WildcardQuery[uint64]
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 ¶
func (n *Lag_Counters_OutFramesPath) State() ygnmi.SingletonQuery[uint64]
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 ¶
func (n *Lag_Counters_OutFramesPathAny) State() ygnmi.WildcardQuery[uint64]
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 ¶
func (n *Lag_Counters_OutOctetsPath) State() ygnmi.SingletonQuery[uint64]
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 ¶
func (n *Lag_Counters_OutOctetsPathAny) State() ygnmi.WildcardQuery[uint64]
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 ¶
Lag_InRatePath represents the /open-traffic-generator-lag/lags/lag/state/in-rate YANG schema element.
func (*Lag_InRatePath) State ¶
func (n *Lag_InRatePath) State() ygnmi.SingletonQuery[float32]
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 ¶
Lag_InRatePathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/in-rate YANG schema element.
func (*Lag_InRatePathAny) State ¶
func (n *Lag_InRatePathAny) State() ygnmi.WildcardQuery[float32]
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 ¶
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 ¶
func (n *Lag_NamePath) State() ygnmi.SingletonQuery[string]
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 ¶
Lag_NamePathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/name YANG schema element.
func (*Lag_NamePathAny) Config ¶
func (n *Lag_NamePathAny) Config() ygnmi.WildcardQuery[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_NamePathAny) State ¶
func (n *Lag_NamePathAny) State() ygnmi.WildcardQuery[string]
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 ¶
Lag_OperStatusPath represents the /open-traffic-generator-lag/lags/lag/state/oper-status YANG schema element.
func (*Lag_OperStatusPath) State ¶
func (n *Lag_OperStatusPath) State() ygnmi.SingletonQuery[oc.E_Lag_OperStatus]
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 ¶
Lag_OperStatusPathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/oper-status YANG schema element.
func (*Lag_OperStatusPathAny) State ¶
func (n *Lag_OperStatusPathAny) State() ygnmi.WildcardQuery[oc.E_Lag_OperStatus]
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 ¶
Lag_OutRatePath represents the /open-traffic-generator-lag/lags/lag/state/out-rate YANG schema element.
func (*Lag_OutRatePath) State ¶
func (n *Lag_OutRatePath) State() ygnmi.SingletonQuery[float32]
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 ¶
Lag_OutRatePathAny represents the wildcard version of the /open-traffic-generator-lag/lags/lag/state/out-rate YANG schema element.
func (*Lag_OutRatePathAny) State ¶
func (n *Lag_OutRatePathAny) State() ygnmi.WildcardQuery[float32]
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"