Documentation ¶
Overview ¶
Package port 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 PortPath
- type PortPathAny
- func (n *PortPathAny) Counters() *Port_CountersPathAny
- func (n *PortPathAny) InRate() *Port_InRatePathAny
- func (n *PortPathAny) Link() *Port_LinkPathAny
- func (n *PortPathAny) Name() *Port_NamePathAny
- func (n *PortPathAny) OutRate() *Port_OutRatePathAny
- func (n *PortPathAny) State() ygnmi.WildcardQuery[*oc.Port]
- type PortPathMap
- type PortPathMapAny
- type Port_CountersPath
- func (n *Port_CountersPath) InFrames() *Port_Counters_InFramesPath
- func (n *Port_CountersPath) InOctets() *Port_Counters_InOctetsPath
- func (n *Port_CountersPath) OutFrames() *Port_Counters_OutFramesPath
- func (n *Port_CountersPath) OutOctets() *Port_Counters_OutOctetsPath
- func (n *Port_CountersPath) State() ygnmi.SingletonQuery[*oc.Port_Counters]
- type Port_CountersPathAny
- func (n *Port_CountersPathAny) InFrames() *Port_Counters_InFramesPathAny
- func (n *Port_CountersPathAny) InOctets() *Port_Counters_InOctetsPathAny
- func (n *Port_CountersPathAny) OutFrames() *Port_Counters_OutFramesPathAny
- func (n *Port_CountersPathAny) OutOctets() *Port_Counters_OutOctetsPathAny
- func (n *Port_CountersPathAny) State() ygnmi.WildcardQuery[*oc.Port_Counters]
- type Port_Counters_InFramesPath
- type Port_Counters_InFramesPathAny
- type Port_Counters_InOctetsPath
- type Port_Counters_InOctetsPathAny
- type Port_Counters_OutFramesPath
- type Port_Counters_OutFramesPathAny
- type Port_Counters_OutOctetsPath
- type Port_Counters_OutOctetsPathAny
- type Port_InRatePath
- type Port_InRatePathAny
- type Port_LinkPath
- type Port_LinkPathAny
- type Port_NamePath
- type Port_NamePathAny
- type Port_OutRatePath
- type Port_OutRatePathAny
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortPath ¶
PortPath represents the /open-traffic-generator-port/ports/port YANG schema element.
func (*PortPath) Counters ¶
func (n *PortPath) Counters() *Port_CountersPath
Counters (container): Counters of an OTG port.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/counters" Path from root: "/ports/port/state/counters"
func (*PortPath) InRate ¶
func (n *PortPath) InRate() *Port_InRatePath
InRate (leaf): The current receive rate of an OTG port, measured in bits per second.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/in-rate" Path from root: "/ports/port/state/in-rate"
func (*PortPath) Link ¶
func (n *PortPath) Link() *Port_LinkPath
Link (leaf): The current state of an OTG port.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/link" Path from root: "/ports/port/state/link"
func (*PortPath) Name ¶
func (n *PortPath) Name() *Port_NamePath
Name (leaf): An arbitary name of an OTG port determined by the OTG configuration.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "*/name" Path from root: "/ports/port/*/name"
func (*PortPath) OutRate ¶
func (n *PortPath) OutRate() *Port_OutRatePath
OutRate (leaf): The current transmit rate of an OTG port, measured in bits per second.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/out-rate" Path from root: "/ports/port/state/out-rate"
type PortPathAny ¶
PortPathAny represents the wildcard version of the /open-traffic-generator-port/ports/port YANG schema element.
func (*PortPathAny) Counters ¶
func (n *PortPathAny) Counters() *Port_CountersPathAny
Counters (container): Counters of an OTG port.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/counters" Path from root: "/ports/port/state/counters"
func (*PortPathAny) InRate ¶
func (n *PortPathAny) InRate() *Port_InRatePathAny
InRate (leaf): The current receive rate of an OTG port, measured in bits per second.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/in-rate" Path from root: "/ports/port/state/in-rate"
func (*PortPathAny) Link ¶
func (n *PortPathAny) Link() *Port_LinkPathAny
Link (leaf): The current state of an OTG port.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/link" Path from root: "/ports/port/state/link"
func (*PortPathAny) Name ¶
func (n *PortPathAny) Name() *Port_NamePathAny
Name (leaf): An arbitary name of an OTG port determined by the OTG configuration.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "*/name" Path from root: "/ports/port/*/name"
func (*PortPathAny) OutRate ¶
func (n *PortPathAny) OutRate() *Port_OutRatePathAny
OutRate (leaf): The current transmit rate of an OTG port, measured in bits per second.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/out-rate" Path from root: "/ports/port/state/out-rate"
func (*PortPathAny) State ¶
func (n *PortPathAny) State() ygnmi.WildcardQuery[*oc.Port]
State returns a Query that can be used in gNMI operations.
type PortPathMap ¶ added in v0.1.24
PortPathMap represents the /open-traffic-generator-port/ports/port YANG schema element.
type PortPathMapAny ¶ added in v0.1.24
PortPathMapAny represents the wildcard version of the /open-traffic-generator-port/ports/port YANG schema element.
type Port_CountersPath ¶
Port_CountersPath represents the /open-traffic-generator-port/ports/port/state/counters YANG schema element.
func (*Port_CountersPath) InFrames ¶
func (n *Port_CountersPath) InFrames() *Port_Counters_InFramesPath
InFrames (leaf): The total number of packets received on the port.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "in-frames" Path from root: "/ports/port/state/counters/in-frames"
func (*Port_CountersPath) InOctets ¶
func (n *Port_CountersPath) InOctets() *Port_Counters_InOctetsPath
InOctets (leaf): The total number of octets received on the port.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "in-octets" Path from root: "/ports/port/state/counters/in-octets"
func (*Port_CountersPath) OutFrames ¶
func (n *Port_CountersPath) OutFrames() *Port_Counters_OutFramesPath
OutFrames (leaf): The total number of packets transmitted on the port.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "out-frames" Path from root: "/ports/port/state/counters/out-frames"
func (*Port_CountersPath) OutOctets ¶
func (n *Port_CountersPath) OutOctets() *Port_Counters_OutOctetsPath
OutOctets (leaf): The total number of octets transmitted on the port.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "out-octets" Path from root: "/ports/port/state/counters/out-octets"
func (*Port_CountersPath) State ¶
func (n *Port_CountersPath) State() ygnmi.SingletonQuery[*oc.Port_Counters]
State returns a Query that can be used in gNMI operations.
type Port_CountersPathAny ¶
Port_CountersPathAny represents the wildcard version of the /open-traffic-generator-port/ports/port/state/counters YANG schema element.
func (*Port_CountersPathAny) InFrames ¶
func (n *Port_CountersPathAny) InFrames() *Port_Counters_InFramesPathAny
InFrames (leaf): The total number of packets received on the port.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "in-frames" Path from root: "/ports/port/state/counters/in-frames"
func (*Port_CountersPathAny) InOctets ¶
func (n *Port_CountersPathAny) InOctets() *Port_Counters_InOctetsPathAny
InOctets (leaf): The total number of octets received on the port.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "in-octets" Path from root: "/ports/port/state/counters/in-octets"
func (*Port_CountersPathAny) OutFrames ¶
func (n *Port_CountersPathAny) OutFrames() *Port_Counters_OutFramesPathAny
OutFrames (leaf): The total number of packets transmitted on the port.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "out-frames" Path from root: "/ports/port/state/counters/out-frames"
func (*Port_CountersPathAny) OutOctets ¶
func (n *Port_CountersPathAny) OutOctets() *Port_Counters_OutOctetsPathAny
OutOctets (leaf): The total number of octets transmitted on the port.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "out-octets" Path from root: "/ports/port/state/counters/out-octets"
func (*Port_CountersPathAny) State ¶
func (n *Port_CountersPathAny) State() ygnmi.WildcardQuery[*oc.Port_Counters]
State returns a Query that can be used in gNMI operations.
type Port_Counters_InFramesPath ¶
type Port_Counters_InFramesPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Port_Counters_InFramesPath represents the /open-traffic-generator-port/ports/port/state/counters/in-frames YANG schema element.
func (*Port_Counters_InFramesPath) State ¶
func (n *Port_Counters_InFramesPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "in-frames" Path from root: "/ports/port/state/counters/in-frames"
type Port_Counters_InFramesPathAny ¶
type Port_Counters_InFramesPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Port_Counters_InFramesPathAny represents the wildcard version of the /open-traffic-generator-port/ports/port/state/counters/in-frames YANG schema element.
func (*Port_Counters_InFramesPathAny) State ¶
func (n *Port_Counters_InFramesPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "in-frames" Path from root: "/ports/port/state/counters/in-frames"
type Port_Counters_InOctetsPath ¶
type Port_Counters_InOctetsPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Port_Counters_InOctetsPath represents the /open-traffic-generator-port/ports/port/state/counters/in-octets YANG schema element.
func (*Port_Counters_InOctetsPath) State ¶
func (n *Port_Counters_InOctetsPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "in-octets" Path from root: "/ports/port/state/counters/in-octets"
type Port_Counters_InOctetsPathAny ¶
type Port_Counters_InOctetsPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Port_Counters_InOctetsPathAny represents the wildcard version of the /open-traffic-generator-port/ports/port/state/counters/in-octets YANG schema element.
func (*Port_Counters_InOctetsPathAny) State ¶
func (n *Port_Counters_InOctetsPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "in-octets" Path from root: "/ports/port/state/counters/in-octets"
type Port_Counters_OutFramesPath ¶
type Port_Counters_OutFramesPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Port_Counters_OutFramesPath represents the /open-traffic-generator-port/ports/port/state/counters/out-frames YANG schema element.
func (*Port_Counters_OutFramesPath) State ¶
func (n *Port_Counters_OutFramesPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "out-frames" Path from root: "/ports/port/state/counters/out-frames"
type Port_Counters_OutFramesPathAny ¶
type Port_Counters_OutFramesPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Port_Counters_OutFramesPathAny represents the wildcard version of the /open-traffic-generator-port/ports/port/state/counters/out-frames YANG schema element.
func (*Port_Counters_OutFramesPathAny) State ¶
func (n *Port_Counters_OutFramesPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "out-frames" Path from root: "/ports/port/state/counters/out-frames"
type Port_Counters_OutOctetsPath ¶
type Port_Counters_OutOctetsPath struct { *ygnmi.NodePath // contains filtered or unexported fields }
Port_Counters_OutOctetsPath represents the /open-traffic-generator-port/ports/port/state/counters/out-octets YANG schema element.
func (*Port_Counters_OutOctetsPath) State ¶
func (n *Port_Counters_OutOctetsPath) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "out-octets" Path from root: "/ports/port/state/counters/out-octets"
type Port_Counters_OutOctetsPathAny ¶
type Port_Counters_OutOctetsPathAny struct { *ygnmi.NodePath // contains filtered or unexported fields }
Port_Counters_OutOctetsPathAny represents the wildcard version of the /open-traffic-generator-port/ports/port/state/counters/out-octets YANG schema element.
func (*Port_Counters_OutOctetsPathAny) State ¶
func (n *Port_Counters_OutOctetsPathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "out-octets" Path from root: "/ports/port/state/counters/out-octets"
type Port_InRatePath ¶
Port_InRatePath represents the /open-traffic-generator-port/ports/port/state/in-rate YANG schema element.
func (*Port_InRatePath) State ¶
func (n *Port_InRatePath) State() ygnmi.SingletonQuery[float32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/in-rate" Path from root: "/ports/port/state/in-rate"
type Port_InRatePathAny ¶
Port_InRatePathAny represents the wildcard version of the /open-traffic-generator-port/ports/port/state/in-rate YANG schema element.
func (*Port_InRatePathAny) State ¶
func (n *Port_InRatePathAny) State() ygnmi.WildcardQuery[float32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/in-rate" Path from root: "/ports/port/state/in-rate"
type Port_LinkPath ¶
Port_LinkPath represents the /open-traffic-generator-port/ports/port/state/link YANG schema element.
func (*Port_LinkPath) State ¶
func (n *Port_LinkPath) State() ygnmi.SingletonQuery[oc.E_Port_Link]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/link" Path from root: "/ports/port/state/link"
type Port_LinkPathAny ¶
Port_LinkPathAny represents the wildcard version of the /open-traffic-generator-port/ports/port/state/link YANG schema element.
func (*Port_LinkPathAny) State ¶
func (n *Port_LinkPathAny) State() ygnmi.WildcardQuery[oc.E_Port_Link]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/link" Path from root: "/ports/port/state/link"
type Port_NamePath ¶
Port_NamePath represents the /open-traffic-generator-port/ports/port/state/name YANG schema element.
func (*Port_NamePath) Config ¶
func (n *Port_NamePath) Config() ygnmi.ConfigQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "name" Path from root: ""
func (*Port_NamePath) State ¶
func (n *Port_NamePath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/name" Path from root: "/ports/port/state/name"
type Port_NamePathAny ¶
Port_NamePathAny represents the wildcard version of the /open-traffic-generator-port/ports/port/state/name YANG schema element.
func (*Port_NamePathAny) Config ¶
func (n *Port_NamePathAny) Config() ygnmi.WildcardQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "name" Path from root: ""
func (*Port_NamePathAny) State ¶
func (n *Port_NamePathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/name" Path from root: "/ports/port/state/name"
type Port_OutRatePath ¶
Port_OutRatePath represents the /open-traffic-generator-port/ports/port/state/out-rate YANG schema element.
func (*Port_OutRatePath) State ¶
func (n *Port_OutRatePath) State() ygnmi.SingletonQuery[float32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/out-rate" Path from root: "/ports/port/state/out-rate"
type Port_OutRatePathAny ¶
Port_OutRatePathAny represents the wildcard version of the /open-traffic-generator-port/ports/port/state/out-rate YANG schema element.
func (*Port_OutRatePathAny) State ¶
func (n *Port_OutRatePathAny) State() ygnmi.WildcardQuery[float32]
State returns a Query that can be used in gNMI operations.
Defining module: "open-traffic-generator-port" Instantiating module: "open-traffic-generator-port" Path from parent: "state/out-rate" Path from root: "/ports/port/state/out-rate"