proto

package
v0.0.0-...-d002785 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

lanz.proto

It has these top-level messages:

ConfigRecord
GlobalBufferUsageRecord
CongestionRecord
ErrorRecord
LanzRecord

Index

Constants

This section is empty.

Variables

View Source
var CongestionRecord_EntryType_name = map[int32]string{
	1: "START",
	2: "UPDATE",
	3: "END",
}
View Source
var CongestionRecord_EntryType_value = map[string]int32{
	"START":  1,
	"UPDATE": 2,
	"END":    3,
}
View Source
var GlobalBufferUsageRecord_EntryType_name = map[int32]string{
	1: "LOW",
	2: "UPDATE",
	3: "HIGH",
}
View Source
var GlobalBufferUsageRecord_EntryType_value = map[string]int32{
	"LOW":    1,
	"UPDATE": 2,
	"HIGH":   3,
}

Functions

This section is empty.

Types

type ConfigRecord

type ConfigRecord struct {
	Timestamp                   *uint64                          `protobuf:"varint,1,req,name=timestamp" json:"timestamp,omitempty"`
	LanzVersion                 *uint32                          `protobuf:"varint,2,req,name=lanzVersion" json:"lanzVersion,omitempty"`
	NumOfPorts                  *uint32                          `protobuf:"varint,3,req,name=numOfPorts" json:"numOfPorts,omitempty"`
	SegmentSize                 *uint32                          `protobuf:"varint,4,req,name=segmentSize" json:"segmentSize,omitempty"`
	MaxQueueSize                *uint32                          `protobuf:"varint,5,req,name=maxQueueSize" json:"maxQueueSize,omitempty"`
	PortConfigRecord            []*ConfigRecord_PortConfigRecord `protobuf:"bytes,6,rep,name=portConfigRecord" json:"portConfigRecord,omitempty"`
	GlobalUsageHighThreshold    *uint32                          `protobuf:"varint,7,opt,name=globalUsageHighThreshold" json:"globalUsageHighThreshold,omitempty"`
	GlobalUsageLowThreshold     *uint32                          `protobuf:"varint,8,opt,name=globalUsageLowThreshold" json:"globalUsageLowThreshold,omitempty"`
	GlobalUsageReportingEnabled *bool                            `protobuf:"varint,9,opt,name=globalUsageReportingEnabled" json:"globalUsageReportingEnabled,omitempty"`
	XXX_unrecognized            []byte                           `json:"-"`
}

func (*ConfigRecord) Descriptor

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

func (*ConfigRecord) GetGlobalUsageHighThreshold

func (m *ConfigRecord) GetGlobalUsageHighThreshold() uint32

func (*ConfigRecord) GetGlobalUsageLowThreshold

func (m *ConfigRecord) GetGlobalUsageLowThreshold() uint32

func (*ConfigRecord) GetGlobalUsageReportingEnabled

func (m *ConfigRecord) GetGlobalUsageReportingEnabled() bool

func (*ConfigRecord) GetLanzVersion

func (m *ConfigRecord) GetLanzVersion() uint32

func (*ConfigRecord) GetMaxQueueSize

func (m *ConfigRecord) GetMaxQueueSize() uint32

func (*ConfigRecord) GetNumOfPorts

func (m *ConfigRecord) GetNumOfPorts() uint32

func (*ConfigRecord) GetPortConfigRecord

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

func (*ConfigRecord) GetSegmentSize

func (m *ConfigRecord) GetSegmentSize() uint32

func (*ConfigRecord) GetTimestamp

func (m *ConfigRecord) GetTimestamp() uint64

func (*ConfigRecord) ProtoMessage

func (*ConfigRecord) ProtoMessage()

func (*ConfigRecord) Reset

func (m *ConfigRecord) Reset()

func (*ConfigRecord) String

func (m *ConfigRecord) String() string

type ConfigRecord_PortConfigRecord

type ConfigRecord_PortConfigRecord struct {
	IntfName         *string `protobuf:"bytes,1,req,name=intfName" json:"intfName,omitempty"`
	SwitchId         *uint32 `protobuf:"varint,2,req,name=switchId" json:"switchId,omitempty"`
	PortId           *uint32 `protobuf:"varint,3,req,name=portId" json:"portId,omitempty"`
	InternalPort     *bool   `protobuf:"varint,4,req,name=internalPort" json:"internalPort,omitempty"`
	HighThreshold    *uint32 `protobuf:"varint,5,req,name=highThreshold" json:"highThreshold,omitempty"`
	LowThreshold     *uint32 `protobuf:"varint,6,req,name=lowThreshold" json:"lowThreshold,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ConfigRecord_PortConfigRecord) Descriptor

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

func (*ConfigRecord_PortConfigRecord) GetHighThreshold

func (m *ConfigRecord_PortConfigRecord) GetHighThreshold() uint32

func (*ConfigRecord_PortConfigRecord) GetInternalPort

func (m *ConfigRecord_PortConfigRecord) GetInternalPort() bool

func (*ConfigRecord_PortConfigRecord) GetIntfName

func (m *ConfigRecord_PortConfigRecord) GetIntfName() string

func (*ConfigRecord_PortConfigRecord) GetLowThreshold

func (m *ConfigRecord_PortConfigRecord) GetLowThreshold() uint32

func (*ConfigRecord_PortConfigRecord) GetPortId

func (m *ConfigRecord_PortConfigRecord) GetPortId() uint32

func (*ConfigRecord_PortConfigRecord) GetSwitchId

func (m *ConfigRecord_PortConfigRecord) GetSwitchId() uint32

func (*ConfigRecord_PortConfigRecord) ProtoMessage

func (*ConfigRecord_PortConfigRecord) ProtoMessage()

func (*ConfigRecord_PortConfigRecord) Reset

func (m *ConfigRecord_PortConfigRecord) Reset()

func (*ConfigRecord_PortConfigRecord) String

type CongestionRecord

type CongestionRecord struct {
	Timestamp          *uint64                     `protobuf:"varint,1,req,name=timestamp" json:"timestamp,omitempty"`
	IntfName           *string                     `protobuf:"bytes,2,req,name=intfName" json:"intfName,omitempty"`
	SwitchId           *uint32                     `protobuf:"varint,3,req,name=switchId" json:"switchId,omitempty"`
	PortId             *uint32                     `protobuf:"varint,4,req,name=portId" json:"portId,omitempty"`
	QueueSize          *uint32                     `protobuf:"varint,5,req,name=queueSize" json:"queueSize,omitempty"`
	EntryType          *CongestionRecord_EntryType `protobuf:"varint,6,opt,name=entryType,enum=LanzProtobuf.CongestionRecord_EntryType" json:"entryType,omitempty"`
	TrafficClass       *uint32                     `protobuf:"varint,7,opt,name=trafficClass" json:"trafficClass,omitempty"`
	TimeOfMaxQLen      *uint64                     `protobuf:"varint,8,opt,name=timeOfMaxQLen" json:"timeOfMaxQLen,omitempty"`
	TxLatency          *uint32                     `protobuf:"varint,9,opt,name=txLatency" json:"txLatency,omitempty"`
	QDropCount         *uint32                     `protobuf:"varint,10,opt,name=qDropCount" json:"qDropCount,omitempty"`
	FabricPeerIntfName *string                     `protobuf:"bytes,11,opt,name=fabricPeerIntfName" json:"fabricPeerIntfName,omitempty"`
	XXX_unrecognized   []byte                      `json:"-"`
}

func (*CongestionRecord) Descriptor

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

func (*CongestionRecord) GetEntryType

func (m *CongestionRecord) GetEntryType() CongestionRecord_EntryType

func (*CongestionRecord) GetFabricPeerIntfName

func (m *CongestionRecord) GetFabricPeerIntfName() string

func (*CongestionRecord) GetIntfName

func (m *CongestionRecord) GetIntfName() string

func (*CongestionRecord) GetPortId

func (m *CongestionRecord) GetPortId() uint32

func (*CongestionRecord) GetQDropCount

func (m *CongestionRecord) GetQDropCount() uint32

func (*CongestionRecord) GetQueueSize

func (m *CongestionRecord) GetQueueSize() uint32

func (*CongestionRecord) GetSwitchId

func (m *CongestionRecord) GetSwitchId() uint32

func (*CongestionRecord) GetTimeOfMaxQLen

func (m *CongestionRecord) GetTimeOfMaxQLen() uint64

func (*CongestionRecord) GetTimestamp

func (m *CongestionRecord) GetTimestamp() uint64

func (*CongestionRecord) GetTrafficClass

func (m *CongestionRecord) GetTrafficClass() uint32

func (*CongestionRecord) GetTxLatency

func (m *CongestionRecord) GetTxLatency() uint32

func (*CongestionRecord) ProtoMessage

func (*CongestionRecord) ProtoMessage()

func (*CongestionRecord) Reset

func (m *CongestionRecord) Reset()

func (*CongestionRecord) String

func (m *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
)

func (CongestionRecord_EntryType) Enum

func (CongestionRecord_EntryType) EnumDescriptor

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

func (CongestionRecord_EntryType) String

func (*CongestionRecord_EntryType) UnmarshalJSON

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

type ErrorRecord

type ErrorRecord struct {
	Timestamp        *uint64 `protobuf:"varint,1,req,name=timestamp" json:"timestamp,omitempty"`
	ErrorMessage     *string `protobuf:"bytes,2,req,name=errorMessage" json:"errorMessage,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ErrorRecord) Descriptor

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

func (*ErrorRecord) GetErrorMessage

func (m *ErrorRecord) GetErrorMessage() string

func (*ErrorRecord) GetTimestamp

func (m *ErrorRecord) GetTimestamp() uint64

func (*ErrorRecord) ProtoMessage

func (*ErrorRecord) ProtoMessage()

func (*ErrorRecord) Reset

func (m *ErrorRecord) Reset()

func (*ErrorRecord) String

func (m *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"`
	BufferSize       *uint32                            `protobuf:"varint,3,opt,name=bufferSize" json:"bufferSize,omitempty"`
	Duration         *uint32                            `protobuf:"varint,4,opt,name=duration" json:"duration,omitempty"`
	XXX_unrecognized []byte                             `json:"-"`
}

func (*GlobalBufferUsageRecord) Descriptor

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

func (*GlobalBufferUsageRecord) GetBufferSize

func (m *GlobalBufferUsageRecord) GetBufferSize() uint32

func (*GlobalBufferUsageRecord) GetDuration

func (m *GlobalBufferUsageRecord) GetDuration() uint32

func (*GlobalBufferUsageRecord) GetEntryType

func (*GlobalBufferUsageRecord) GetTimestamp

func (m *GlobalBufferUsageRecord) GetTimestamp() uint64

func (*GlobalBufferUsageRecord) ProtoMessage

func (*GlobalBufferUsageRecord) ProtoMessage()

func (*GlobalBufferUsageRecord) Reset

func (m *GlobalBufferUsageRecord) Reset()

func (*GlobalBufferUsageRecord) String

func (m *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) Enum

func (GlobalBufferUsageRecord_EntryType) EnumDescriptor

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

func (GlobalBufferUsageRecord_EntryType) String

func (*GlobalBufferUsageRecord_EntryType) UnmarshalJSON

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

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"`
	XXX_unrecognized        []byte                   `json:"-"`
}

func (*LanzRecord) Descriptor

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

func (*LanzRecord) GetConfigRecord

func (m *LanzRecord) GetConfigRecord() *ConfigRecord

func (*LanzRecord) GetCongestionRecord

func (m *LanzRecord) GetCongestionRecord() *CongestionRecord

func (*LanzRecord) GetErrorRecord

func (m *LanzRecord) GetErrorRecord() *ErrorRecord

func (*LanzRecord) GetGlobalBufferUsageRecord

func (m *LanzRecord) GetGlobalBufferUsageRecord() *GlobalBufferUsageRecord

func (*LanzRecord) ProtoMessage

func (*LanzRecord) ProtoMessage()

func (*LanzRecord) Reset

func (m *LanzRecord) Reset()

func (*LanzRecord) String

func (m *LanzRecord) String() string

Jump to

Keyboard shortcuts

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