proto

package
v0.0.0-...-e1401db Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GlobalBufferUsageRecord_EntryType_name = map[int32]string{
		1: "LOW",
		2: "UPDATE",
		3: "HIGH",
	}
	GlobalBufferUsageRecord_EntryType_value = map[string]int32{
		"LOW":    1,
		"UPDATE": 2,
		"HIGH":   3,
	}
)

Enum value maps for GlobalBufferUsageRecord_EntryType.

View Source
var (
	CongestionRecord_EntryType_name = map[int32]string{
		1: "START",
		2: "UPDATE",
		3: "END",
		4: "POLLING",
	}
	CongestionRecord_EntryType_value = map[string]int32{
		"START":   1,
		"UPDATE":  2,
		"END":     3,
		"POLLING": 4,
	}
)

Enum value maps for CongestionRecord_EntryType.

Functions

This section is empty.

Types

type ConfigRecord

type ConfigRecord struct {
	Timestamp                   *uint64                          `protobuf:"varint,1,req,name=timestamp" json:"timestamp,omitempty"`                                     // Time of change in configuration in micro-seconds (UTC)
	LanzVersion                 *uint32                          `protobuf:"varint,2,req,name=lanzVersion" json:"lanzVersion,omitempty"`                                 // LANZ feature version
	NumOfPorts                  *uint32                          `protobuf:"varint,3,req,name=numOfPorts" json:"numOfPorts,omitempty"`                                   // Num of ports in the switch
	SegmentSize                 *uint32                          `protobuf:"varint,4,req,name=segmentSize" json:"segmentSize,omitempty"`                                 // Segement size
	MaxQueueSize                *uint32                          `protobuf:"varint,5,req,name=maxQueueSize" json:"maxQueueSize,omitempty"`                               // Maximum queue size in segments
	QLenInterval                *uint32                          `protobuf:"varint,10,opt,name=qLenInterval" json:"qLenInterval,omitempty"`                              // Frequency of update
	PortConfigRecord            []*ConfigRecord_PortConfigRecord `protobuf:"bytes,6,rep,name=portConfigRecord" json:"portConfigRecord,omitempty"`                        // Lanz config details of each port
	GlobalUsageHighThreshold    *uint32                          `protobuf:"varint,7,opt,name=globalUsageHighThreshold" json:"globalUsageHighThreshold,omitempty"`       // High threshold for global usage monitoring
	GlobalUsageLowThreshold     *uint32                          `protobuf:"varint,8,opt,name=globalUsageLowThreshold" json:"globalUsageLowThreshold,omitempty"`         // Low threshold for global usage monitoring
	GlobalUsageReportingEnabled *bool                            `protobuf:"varint,9,opt,name=globalUsageReportingEnabled" json:"globalUsageReportingEnabled,omitempty"` // Global buffer reporting enabled
	// contains filtered or unexported fields
}

func (*ConfigRecord) Descriptor deprecated

func (*ConfigRecord) Descriptor() ([]byte, []int)

Deprecated: Use ConfigRecord.ProtoReflect.Descriptor instead.

func (*ConfigRecord) GetGlobalUsageHighThreshold

func (x *ConfigRecord) GetGlobalUsageHighThreshold() uint32

func (*ConfigRecord) GetGlobalUsageLowThreshold

func (x *ConfigRecord) GetGlobalUsageLowThreshold() uint32

func (*ConfigRecord) GetGlobalUsageReportingEnabled

func (x *ConfigRecord) GetGlobalUsageReportingEnabled() bool

func (*ConfigRecord) GetLanzVersion

func (x *ConfigRecord) GetLanzVersion() uint32

func (*ConfigRecord) GetMaxQueueSize

func (x *ConfigRecord) GetMaxQueueSize() uint32

func (*ConfigRecord) GetNumOfPorts

func (x *ConfigRecord) GetNumOfPorts() uint32

func (*ConfigRecord) GetPortConfigRecord

func (x *ConfigRecord) GetPortConfigRecord() []*ConfigRecord_PortConfigRecord

func (*ConfigRecord) GetQLenInterval

func (x *ConfigRecord) GetQLenInterval() uint32

func (*ConfigRecord) GetSegmentSize

func (x *ConfigRecord) GetSegmentSize() uint32

func (*ConfigRecord) GetTimestamp

func (x *ConfigRecord) GetTimestamp() uint64

func (*ConfigRecord) ProtoMessage

func (*ConfigRecord) ProtoMessage()

func (*ConfigRecord) ProtoReflect

func (x *ConfigRecord) ProtoReflect() protoreflect.Message

func (*ConfigRecord) Reset

func (x *ConfigRecord) Reset()

func (*ConfigRecord) String

func (x *ConfigRecord) String() string

type ConfigRecord_PortConfigRecord

type ConfigRecord_PortConfigRecord struct {
	IntfName      *string `protobuf:"bytes,1,req,name=intfName" json:"intfName,omitempty"`            // Name of the port
	SwitchId      *uint32 `protobuf:"varint,2,req,name=switchId" json:"switchId,omitempty"`           // Id of the chip on a multi-chip system
	PortId        *uint32 `protobuf:"varint,3,req,name=portId" json:"portId,omitempty"`               // Id of the port
	InternalPort  *bool   `protobuf:"varint,4,req,name=internalPort" json:"internalPort,omitempty"`   // 'True' if it's an internal port
	HighThreshold *uint32 `protobuf:"varint,5,req,name=highThreshold" json:"highThreshold,omitempty"` // Higher threshold
	LowThreshold  *uint32 `protobuf:"varint,6,req,name=lowThreshold" json:"lowThreshold,omitempty"`   // Lower threshold
	// contains filtered or unexported fields
}

func (*ConfigRecord_PortConfigRecord) Descriptor deprecated

func (*ConfigRecord_PortConfigRecord) Descriptor() ([]byte, []int)

Deprecated: Use ConfigRecord_PortConfigRecord.ProtoReflect.Descriptor instead.

func (*ConfigRecord_PortConfigRecord) GetHighThreshold

func (x *ConfigRecord_PortConfigRecord) GetHighThreshold() uint32

func (*ConfigRecord_PortConfigRecord) GetInternalPort

func (x *ConfigRecord_PortConfigRecord) GetInternalPort() bool

func (*ConfigRecord_PortConfigRecord) GetIntfName

func (x *ConfigRecord_PortConfigRecord) GetIntfName() string

func (*ConfigRecord_PortConfigRecord) GetLowThreshold

func (x *ConfigRecord_PortConfigRecord) GetLowThreshold() uint32

func (*ConfigRecord_PortConfigRecord) GetPortId

func (x *ConfigRecord_PortConfigRecord) GetPortId() uint32

func (*ConfigRecord_PortConfigRecord) GetSwitchId

func (x *ConfigRecord_PortConfigRecord) GetSwitchId() uint32

func (*ConfigRecord_PortConfigRecord) ProtoMessage

func (*ConfigRecord_PortConfigRecord) ProtoMessage()

func (*ConfigRecord_PortConfigRecord) ProtoReflect

func (*ConfigRecord_PortConfigRecord) Reset

func (x *ConfigRecord_PortConfigRecord) Reset()

func (*ConfigRecord_PortConfigRecord) String

type CongestionRecord

type CongestionRecord struct {
	Timestamp          *uint64                     `protobuf:"varint,1,req,name=timestamp" json:"timestamp,omitempty"`                                              // Time of congestion in micro-seconds (UTC)
	IntfName           *string                     `protobuf:"bytes,2,req,name=intfName" json:"intfName,omitempty"`                                                 // Name of the port
	SwitchId           *uint32                     `protobuf:"varint,3,req,name=switchId" json:"switchId,omitempty"`                                                // Id of the chip on a multi-chip system
	PortId             *uint32                     `protobuf:"varint,4,req,name=portId" json:"portId,omitempty"`                                                    // Id of the port
	QueueSize          *uint32                     `protobuf:"varint,5,req,name=queueSize" json:"queueSize,omitempty"`                                              // Queue size in segments at time of congestion
	EntryType          *CongestionRecord_EntryType `protobuf:"varint,6,opt,name=entryType,enum=LanzProtobuf.CongestionRecord_EntryType" json:"entryType,omitempty"` // Type of entry
	TrafficClass       *uint32                     `protobuf:"varint,7,opt,name=trafficClass" json:"trafficClass,omitempty"`                                        // Traffic Class
	TimeOfMaxQLen      *uint64                     `protobuf:"varint,8,opt,name=timeOfMaxQLen" json:"timeOfMaxQLen,omitempty"`                                      // Time of max q len since congestion start
	TxLatency          *uint32                     `protobuf:"varint,9,opt,name=txLatency" json:"txLatency,omitempty"`                                              // Transmit latency
	QDropCount         *uint32                     `protobuf:"varint,10,opt,name=qDropCount" json:"qDropCount,omitempty"`                                           // Queue drop count
	FabricPeerIntfName *string                     `protobuf:"bytes,11,opt,name=fabricPeerIntfName" json:"fabricPeerIntfName,omitempty"`                            // Name of the fabric port's peer
	// contains filtered or unexported fields
}

func (*CongestionRecord) Descriptor deprecated

func (*CongestionRecord) Descriptor() ([]byte, []int)

Deprecated: Use CongestionRecord.ProtoReflect.Descriptor instead.

func (*CongestionRecord) GetEntryType

func (x *CongestionRecord) GetEntryType() CongestionRecord_EntryType

func (*CongestionRecord) GetFabricPeerIntfName

func (x *CongestionRecord) GetFabricPeerIntfName() string

func (*CongestionRecord) GetIntfName

func (x *CongestionRecord) GetIntfName() string

func (*CongestionRecord) GetPortId

func (x *CongestionRecord) GetPortId() uint32

func (*CongestionRecord) GetQDropCount

func (x *CongestionRecord) GetQDropCount() uint32

func (*CongestionRecord) GetQueueSize

func (x *CongestionRecord) GetQueueSize() uint32

func (*CongestionRecord) GetSwitchId

func (x *CongestionRecord) GetSwitchId() uint32

func (*CongestionRecord) GetTimeOfMaxQLen

func (x *CongestionRecord) GetTimeOfMaxQLen() uint64

func (*CongestionRecord) GetTimestamp

func (x *CongestionRecord) GetTimestamp() uint64

func (*CongestionRecord) GetTrafficClass

func (x *CongestionRecord) GetTrafficClass() uint32

func (*CongestionRecord) GetTxLatency

func (x *CongestionRecord) GetTxLatency() uint32

func (*CongestionRecord) ProtoMessage

func (*CongestionRecord) ProtoMessage()

func (*CongestionRecord) ProtoReflect

func (x *CongestionRecord) ProtoReflect() protoreflect.Message

func (*CongestionRecord) Reset

func (x *CongestionRecord) Reset()

func (*CongestionRecord) String

func (x *CongestionRecord) String() string

type CongestionRecord_EntryType

type CongestionRecord_EntryType int32
const (
	CongestionRecord_START   CongestionRecord_EntryType = 1
	CongestionRecord_UPDATE  CongestionRecord_EntryType = 2
	CongestionRecord_END     CongestionRecord_EntryType = 3
	CongestionRecord_POLLING CongestionRecord_EntryType = 4
)

func (CongestionRecord_EntryType) Descriptor

func (CongestionRecord_EntryType) Enum

func (CongestionRecord_EntryType) EnumDescriptor deprecated

func (CongestionRecord_EntryType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CongestionRecord_EntryType.Descriptor instead.

func (CongestionRecord_EntryType) Number

func (CongestionRecord_EntryType) String

func (CongestionRecord_EntryType) Type

func (*CongestionRecord_EntryType) UnmarshalJSON deprecated

func (x *CongestionRecord_EntryType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ErrorRecord

type ErrorRecord struct {
	Timestamp    *uint64 `protobuf:"varint,1,req,name=timestamp" json:"timestamp,omitempty"`      // Time of event in micro-seconds (UTC)
	ErrorMessage *string `protobuf:"bytes,2,req,name=errorMessage" json:"errorMessage,omitempty"` // Text message
	// contains filtered or unexported fields
}

func (*ErrorRecord) Descriptor deprecated

func (*ErrorRecord) Descriptor() ([]byte, []int)

Deprecated: Use ErrorRecord.ProtoReflect.Descriptor instead.

func (*ErrorRecord) GetErrorMessage

func (x *ErrorRecord) GetErrorMessage() string

func (*ErrorRecord) GetTimestamp

func (x *ErrorRecord) GetTimestamp() uint64

func (*ErrorRecord) ProtoMessage

func (*ErrorRecord) ProtoMessage()

func (*ErrorRecord) ProtoReflect

func (x *ErrorRecord) ProtoReflect() protoreflect.Message

func (*ErrorRecord) Reset

func (x *ErrorRecord) Reset()

func (*ErrorRecord) String

func (x *ErrorRecord) String() string

type GlobalBufferUsageRecord

type GlobalBufferUsageRecord struct {
	EntryType  *GlobalBufferUsageRecord_EntryType `protobuf:"varint,1,opt,name=entryType,enum=LanzProtobuf.GlobalBufferUsageRecord_EntryType" json:"entryType,omitempty"`
	Timestamp  *uint64                            `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`   // Time of entry in micro-seconds (UTC)
	BufferSize *uint32                            `protobuf:"varint,3,opt,name=bufferSize" json:"bufferSize,omitempty"` // Size of global buffer
	Duration   *uint32                            `protobuf:"varint,4,opt,name=duration" json:"duration,omitempty"`     // duration of buffer usage between high and low
	// contains filtered or unexported fields
}

func (*GlobalBufferUsageRecord) Descriptor deprecated

func (*GlobalBufferUsageRecord) Descriptor() ([]byte, []int)

Deprecated: Use GlobalBufferUsageRecord.ProtoReflect.Descriptor instead.

func (*GlobalBufferUsageRecord) GetBufferSize

func (x *GlobalBufferUsageRecord) GetBufferSize() uint32

func (*GlobalBufferUsageRecord) GetDuration

func (x *GlobalBufferUsageRecord) GetDuration() uint32

func (*GlobalBufferUsageRecord) GetEntryType

func (*GlobalBufferUsageRecord) GetTimestamp

func (x *GlobalBufferUsageRecord) GetTimestamp() uint64

func (*GlobalBufferUsageRecord) ProtoMessage

func (*GlobalBufferUsageRecord) ProtoMessage()

func (*GlobalBufferUsageRecord) ProtoReflect

func (x *GlobalBufferUsageRecord) ProtoReflect() protoreflect.Message

func (*GlobalBufferUsageRecord) Reset

func (x *GlobalBufferUsageRecord) Reset()

func (*GlobalBufferUsageRecord) String

func (x *GlobalBufferUsageRecord) String() string

type GlobalBufferUsageRecord_EntryType

type GlobalBufferUsageRecord_EntryType int32
const (
	GlobalBufferUsageRecord_LOW    GlobalBufferUsageRecord_EntryType = 1
	GlobalBufferUsageRecord_UPDATE GlobalBufferUsageRecord_EntryType = 2
	GlobalBufferUsageRecord_HIGH   GlobalBufferUsageRecord_EntryType = 3
)

func (GlobalBufferUsageRecord_EntryType) Descriptor

func (GlobalBufferUsageRecord_EntryType) Enum

func (GlobalBufferUsageRecord_EntryType) EnumDescriptor deprecated

func (GlobalBufferUsageRecord_EntryType) EnumDescriptor() ([]byte, []int)

Deprecated: Use GlobalBufferUsageRecord_EntryType.Descriptor instead.

func (GlobalBufferUsageRecord_EntryType) Number

func (GlobalBufferUsageRecord_EntryType) String

func (GlobalBufferUsageRecord_EntryType) Type

func (*GlobalBufferUsageRecord_EntryType) UnmarshalJSON deprecated

func (x *GlobalBufferUsageRecord_EntryType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type LanzRecord

type LanzRecord struct {
	ConfigRecord            *ConfigRecord            `protobuf:"bytes,1,opt,name=configRecord" json:"configRecord,omitempty"`
	CongestionRecord        *CongestionRecord        `protobuf:"bytes,2,opt,name=congestionRecord" json:"congestionRecord,omitempty"`
	ErrorRecord             *ErrorRecord             `protobuf:"bytes,3,opt,name=errorRecord" json:"errorRecord,omitempty"`
	GlobalBufferUsageRecord *GlobalBufferUsageRecord `protobuf:"bytes,4,opt,name=globalBufferUsageRecord" json:"globalBufferUsageRecord,omitempty"`
	// contains filtered or unexported fields
}

func (*LanzRecord) Descriptor deprecated

func (*LanzRecord) Descriptor() ([]byte, []int)

Deprecated: Use LanzRecord.ProtoReflect.Descriptor instead.

func (*LanzRecord) GetConfigRecord

func (x *LanzRecord) GetConfigRecord() *ConfigRecord

func (*LanzRecord) GetCongestionRecord

func (x *LanzRecord) GetCongestionRecord() *CongestionRecord

func (*LanzRecord) GetErrorRecord

func (x *LanzRecord) GetErrorRecord() *ErrorRecord

func (*LanzRecord) GetGlobalBufferUsageRecord

func (x *LanzRecord) GetGlobalBufferUsageRecord() *GlobalBufferUsageRecord

func (*LanzRecord) ProtoMessage

func (*LanzRecord) ProtoMessage()

func (*LanzRecord) ProtoReflect

func (x *LanzRecord) ProtoReflect() protoreflect.Message

func (*LanzRecord) Reset

func (x *LanzRecord) Reset()

func (*LanzRecord) String

func (x *LanzRecord) String() string

Jump to

Keyboard shortcuts

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