flow

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package flow 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: v0.7.4: (ygot: v0.25.4) 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 FlowPath

type FlowPath struct {
	*ygnmi.NodePath
}

FlowPath represents the /open-traffic-generator-flow/flows/flow YANG schema element.

func (*FlowPath) Counters

func (n *FlowPath) Counters() *Flow_CountersPath

Counters (container): Counters that correspond to the individual flow.

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

func (*FlowPath) InFrameRate

func (n *FlowPath) InFrameRate() *Flow_InFrameRatePath

InFrameRate (leaf): The rate, measured in frames per second, at which frames are being received for the flow.

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/in-frame-rate"
Path from root:       "/flows/flow/state/in-frame-rate"

func (*FlowPath) InRate

func (n *FlowPath) InRate() *Flow_InRatePath

InRate (leaf): The rate, measured in bits per second, at which the flow is being received.

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

func (*FlowPath) LossPct

func (n *FlowPath) LossPct() *Flow_LossPctPath

LossPct (leaf): The percentage of transmitted packets that were not received by the destinations of the flow.

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/loss-pct"
Path from root:       "/flows/flow/state/loss-pct"

func (*FlowPath) Name

func (n *FlowPath) Name() *Flow_NamePath

Name (leaf): An arbitary name used for the flow tracked by the system. This name must be unique for the flows tracked and exported by the target.

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

func (*FlowPath) OutFrameRate

func (n *FlowPath) OutFrameRate() *Flow_OutFrameRatePath

OutFrameRate (leaf): The rate, measured in frames per second, at which frames are being transmitted for the flow.

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/out-frame-rate"
Path from root:       "/flows/flow/state/out-frame-rate"

func (*FlowPath) OutRate

func (n *FlowPath) OutRate() *Flow_OutRatePath

OutRate (leaf): The rate, measured in bits per second, at which the flow is being transmitted.

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

func (*FlowPath) State

func (n *FlowPath) State() ygnmi.SingletonQuery[*oc.Flow]

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

func (*FlowPath) Transmit

func (n *FlowPath) Transmit() *Flow_TransmitPath

Transmit (leaf): Whether or not the flow is transmitting

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/transmit"
Path from root:       "/flows/flow/state/transmit"

type FlowPathAny

type FlowPathAny struct {
	*ygnmi.NodePath
}

FlowPathAny represents the wildcard version of the /open-traffic-generator-flow/flows/flow YANG schema element.

func (*FlowPathAny) Counters

func (n *FlowPathAny) Counters() *Flow_CountersPathAny

Counters (container): Counters that correspond to the individual flow.

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

func (*FlowPathAny) InFrameRate

func (n *FlowPathAny) InFrameRate() *Flow_InFrameRatePathAny

InFrameRate (leaf): The rate, measured in frames per second, at which frames are being received for the flow.

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/in-frame-rate"
Path from root:       "/flows/flow/state/in-frame-rate"

func (*FlowPathAny) InRate

func (n *FlowPathAny) InRate() *Flow_InRatePathAny

InRate (leaf): The rate, measured in bits per second, at which the flow is being received.

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

func (*FlowPathAny) LossPct

func (n *FlowPathAny) LossPct() *Flow_LossPctPathAny

LossPct (leaf): The percentage of transmitted packets that were not received by the destinations of the flow.

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/loss-pct"
Path from root:       "/flows/flow/state/loss-pct"

func (*FlowPathAny) Name

func (n *FlowPathAny) Name() *Flow_NamePathAny

Name (leaf): An arbitary name used for the flow tracked by the system. This name must be unique for the flows tracked and exported by the target.

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

func (*FlowPathAny) OutFrameRate

func (n *FlowPathAny) OutFrameRate() *Flow_OutFrameRatePathAny

OutFrameRate (leaf): The rate, measured in frames per second, at which frames are being transmitted for the flow.

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/out-frame-rate"
Path from root:       "/flows/flow/state/out-frame-rate"

func (*FlowPathAny) OutRate

func (n *FlowPathAny) OutRate() *Flow_OutRatePathAny

OutRate (leaf): The rate, measured in bits per second, at which the flow is being transmitted.

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

func (*FlowPathAny) State

func (n *FlowPathAny) State() ygnmi.WildcardQuery[*oc.Flow]

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

func (*FlowPathAny) Transmit

func (n *FlowPathAny) Transmit() *Flow_TransmitPathAny

Transmit (leaf): Whether or not the flow is transmitting

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/transmit"
Path from root:       "/flows/flow/state/transmit"

type Flow_CountersPath

type Flow_CountersPath struct {
	*ygnmi.NodePath
}

Flow_CountersPath represents the /open-traffic-generator-flow/flows/flow/state/counters YANG schema element.

func (*Flow_CountersPath) InOctets

InOctets (leaf): The total number of bytes received by the target for the flow.

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

func (*Flow_CountersPath) InPkts

InPkts (leaf): The total number of packets received by the target for the flow.

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "in-pkts"
Path from root:       "/flows/flow/state/counters/in-pkts"

func (*Flow_CountersPath) OutOctets

OutOctets (leaf): The total number of bytes sent by the target for the flow. These packets may be generated or forwarded by the target.

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

func (*Flow_CountersPath) OutPkts

OutPkts (leaf): The total number of packets sent by the target for the flow. These packets may be generated or forwarded by the target.

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "out-pkts"
Path from root:       "/flows/flow/state/counters/out-pkts"

func (*Flow_CountersPath) State

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

type Flow_CountersPathAny

type Flow_CountersPathAny struct {
	*ygnmi.NodePath
}

Flow_CountersPathAny represents the wildcard version of the /open-traffic-generator-flow/flows/flow/state/counters YANG schema element.

func (*Flow_CountersPathAny) InOctets

InOctets (leaf): The total number of bytes received by the target for the flow.

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

func (*Flow_CountersPathAny) InPkts

InPkts (leaf): The total number of packets received by the target for the flow.

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "in-pkts"
Path from root:       "/flows/flow/state/counters/in-pkts"

func (*Flow_CountersPathAny) OutOctets

OutOctets (leaf): The total number of bytes sent by the target for the flow. These packets may be generated or forwarded by the target.

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

func (*Flow_CountersPathAny) OutPkts

OutPkts (leaf): The total number of packets sent by the target for the flow. These packets may be generated or forwarded by the target.

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "out-pkts"
Path from root:       "/flows/flow/state/counters/out-pkts"

func (*Flow_CountersPathAny) State

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

type Flow_Counters_InOctetsPath

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

Flow_Counters_InOctetsPath represents the /open-traffic-generator-flow/flows/flow/state/counters/in-octets YANG schema element.

func (*Flow_Counters_InOctetsPath) State

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

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

type Flow_Counters_InOctetsPathAny

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

Flow_Counters_InOctetsPathAny represents the wildcard version of the /open-traffic-generator-flow/flows/flow/state/counters/in-octets YANG schema element.

func (*Flow_Counters_InOctetsPathAny) State

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

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

type Flow_Counters_InPktsPath

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

Flow_Counters_InPktsPath represents the /open-traffic-generator-flow/flows/flow/state/counters/in-pkts YANG schema element.

func (*Flow_Counters_InPktsPath) State

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

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "in-pkts"
Path from root:       "/flows/flow/state/counters/in-pkts"

type Flow_Counters_InPktsPathAny

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

Flow_Counters_InPktsPathAny represents the wildcard version of the /open-traffic-generator-flow/flows/flow/state/counters/in-pkts YANG schema element.

func (*Flow_Counters_InPktsPathAny) State

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

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "in-pkts"
Path from root:       "/flows/flow/state/counters/in-pkts"

type Flow_Counters_OutOctetsPath

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

Flow_Counters_OutOctetsPath represents the /open-traffic-generator-flow/flows/flow/state/counters/out-octets YANG schema element.

func (*Flow_Counters_OutOctetsPath) State

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

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

type Flow_Counters_OutOctetsPathAny

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

Flow_Counters_OutOctetsPathAny represents the wildcard version of the /open-traffic-generator-flow/flows/flow/state/counters/out-octets YANG schema element.

func (*Flow_Counters_OutOctetsPathAny) State

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

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

type Flow_Counters_OutPktsPath

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

Flow_Counters_OutPktsPath represents the /open-traffic-generator-flow/flows/flow/state/counters/out-pkts YANG schema element.

func (*Flow_Counters_OutPktsPath) State

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

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "out-pkts"
Path from root:       "/flows/flow/state/counters/out-pkts"

type Flow_Counters_OutPktsPathAny

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

Flow_Counters_OutPktsPathAny represents the wildcard version of the /open-traffic-generator-flow/flows/flow/state/counters/out-pkts YANG schema element.

func (*Flow_Counters_OutPktsPathAny) State

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

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "out-pkts"
Path from root:       "/flows/flow/state/counters/out-pkts"

type Flow_InFrameRatePath

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

Flow_InFrameRatePath represents the /open-traffic-generator-flow/flows/flow/state/in-frame-rate YANG schema element.

func (*Flow_InFrameRatePath) State

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

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/in-frame-rate"
Path from root:       "/flows/flow/state/in-frame-rate"

type Flow_InFrameRatePathAny

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

Flow_InFrameRatePathAny represents the wildcard version of the /open-traffic-generator-flow/flows/flow/state/in-frame-rate YANG schema element.

func (*Flow_InFrameRatePathAny) State

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

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/in-frame-rate"
Path from root:       "/flows/flow/state/in-frame-rate"

type Flow_InRatePath

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

Flow_InRatePath represents the /open-traffic-generator-flow/flows/flow/state/in-rate YANG schema element.

func (*Flow_InRatePath) State

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

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

type Flow_InRatePathAny

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

Flow_InRatePathAny represents the wildcard version of the /open-traffic-generator-flow/flows/flow/state/in-rate YANG schema element.

func (*Flow_InRatePathAny) State

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

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

type Flow_LossPctPath

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

Flow_LossPctPath represents the /open-traffic-generator-flow/flows/flow/state/loss-pct YANG schema element.

func (*Flow_LossPctPath) State

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

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/loss-pct"
Path from root:       "/flows/flow/state/loss-pct"

type Flow_LossPctPathAny

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

Flow_LossPctPathAny represents the wildcard version of the /open-traffic-generator-flow/flows/flow/state/loss-pct YANG schema element.

func (*Flow_LossPctPathAny) State

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

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/loss-pct"
Path from root:       "/flows/flow/state/loss-pct"

type Flow_NamePath

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

Flow_NamePath represents the /open-traffic-generator-flow/flows/flow/state/name YANG schema element.

func (*Flow_NamePath) Config

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

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

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

func (*Flow_NamePath) State

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

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

type Flow_NamePathAny

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

Flow_NamePathAny represents the wildcard version of the /open-traffic-generator-flow/flows/flow/state/name YANG schema element.

func (*Flow_NamePathAny) Config

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

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

func (*Flow_NamePathAny) State

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

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

type Flow_OutFrameRatePath

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

Flow_OutFrameRatePath represents the /open-traffic-generator-flow/flows/flow/state/out-frame-rate YANG schema element.

func (*Flow_OutFrameRatePath) State

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

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/out-frame-rate"
Path from root:       "/flows/flow/state/out-frame-rate"

type Flow_OutFrameRatePathAny

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

Flow_OutFrameRatePathAny represents the wildcard version of the /open-traffic-generator-flow/flows/flow/state/out-frame-rate YANG schema element.

func (*Flow_OutFrameRatePathAny) State

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

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/out-frame-rate"
Path from root:       "/flows/flow/state/out-frame-rate"

type Flow_OutRatePath

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

Flow_OutRatePath represents the /open-traffic-generator-flow/flows/flow/state/out-rate YANG schema element.

func (*Flow_OutRatePath) State

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

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

type Flow_OutRatePathAny

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

Flow_OutRatePathAny represents the wildcard version of the /open-traffic-generator-flow/flows/flow/state/out-rate YANG schema element.

func (*Flow_OutRatePathAny) State

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

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

type Flow_TransmitPath

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

Flow_TransmitPath represents the /open-traffic-generator-flow/flows/flow/state/transmit YANG schema element.

func (*Flow_TransmitPath) State

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

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/transmit"
Path from root:       "/flows/flow/state/transmit"

type Flow_TransmitPathAny

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

Flow_TransmitPathAny represents the wildcard version of the /open-traffic-generator-flow/flows/flow/state/transmit YANG schema element.

func (*Flow_TransmitPathAny) State

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

Defining module:      "open-traffic-generator-flow"
Instantiating module: "open-traffic-generator-flow"
Path from parent:     "state/transmit"
Path from root:       "/flows/flow/state/transmit"

Jump to

Keyboard shortcuts

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