proto

package
v0.0.0-...-9a46783 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CongestionRecord_EntryType_name = map[int32]string{
	1: "START",
	2: "UPDATE",
	3: "END",
	4: "POLLING",
}
View Source
var CongestionRecord_EntryType_value = map[string]int32{
	"START":   1,
	"UPDATE":  2,
	"END":     3,
	"POLLING": 4,
}
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"`
	QLenInterval                *uint32                          `protobuf:"varint,10,opt,name=qLenInterval" json:"qLenInterval,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_NoUnkeyedLiteral        struct{}                         `json:"-"`
	XXX_unrecognized            []byte                           `json:"-"`
	XXX_sizecache               int32                            `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) GetQLenInterval

func (m *ConfigRecord) GetQLenInterval() uint32

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

func (*ConfigRecord) XXX_DiscardUnknown

func (m *ConfigRecord) XXX_DiscardUnknown()

func (*ConfigRecord) XXX_Marshal

func (m *ConfigRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigRecord) XXX_Merge

func (m *ConfigRecord) XXX_Merge(src proto.Message)

func (*ConfigRecord) XXX_Size

func (m *ConfigRecord) XXX_Size() int

func (*ConfigRecord) XXX_Unmarshal

func (m *ConfigRecord) XXX_Unmarshal(b []byte) error

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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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

func (*ConfigRecord_PortConfigRecord) XXX_DiscardUnknown

func (m *ConfigRecord_PortConfigRecord) XXX_DiscardUnknown()

func (*ConfigRecord_PortConfigRecord) XXX_Marshal

func (m *ConfigRecord_PortConfigRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigRecord_PortConfigRecord) XXX_Merge

func (m *ConfigRecord_PortConfigRecord) XXX_Merge(src proto.Message)

func (*ConfigRecord_PortConfigRecord) XXX_Size

func (m *ConfigRecord_PortConfigRecord) XXX_Size() int

func (*ConfigRecord_PortConfigRecord) XXX_Unmarshal

func (m *ConfigRecord_PortConfigRecord) XXX_Unmarshal(b []byte) error

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_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `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

func (*CongestionRecord) XXX_DiscardUnknown

func (m *CongestionRecord) XXX_DiscardUnknown()

func (*CongestionRecord) XXX_Marshal

func (m *CongestionRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CongestionRecord) XXX_Merge

func (m *CongestionRecord) XXX_Merge(src proto.Message)

func (*CongestionRecord) XXX_Size

func (m *CongestionRecord) XXX_Size() int

func (*CongestionRecord) XXX_Unmarshal

func (m *CongestionRecord) XXX_Unmarshal(b []byte) error

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) 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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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

func (*ErrorRecord) XXX_DiscardUnknown

func (m *ErrorRecord) XXX_DiscardUnknown()

func (*ErrorRecord) XXX_Marshal

func (m *ErrorRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ErrorRecord) XXX_Merge

func (m *ErrorRecord) XXX_Merge(src proto.Message)

func (*ErrorRecord) XXX_Size

func (m *ErrorRecord) XXX_Size() int

func (*ErrorRecord) XXX_Unmarshal

func (m *ErrorRecord) XXX_Unmarshal(b []byte) error

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_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `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

func (*GlobalBufferUsageRecord) XXX_DiscardUnknown

func (m *GlobalBufferUsageRecord) XXX_DiscardUnknown()

func (*GlobalBufferUsageRecord) XXX_Marshal

func (m *GlobalBufferUsageRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GlobalBufferUsageRecord) XXX_Merge

func (m *GlobalBufferUsageRecord) XXX_Merge(src proto.Message)

func (*GlobalBufferUsageRecord) XXX_Size

func (m *GlobalBufferUsageRecord) XXX_Size() int

func (*GlobalBufferUsageRecord) XXX_Unmarshal

func (m *GlobalBufferUsageRecord) XXX_Unmarshal(b []byte) error

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_NoUnkeyedLiteral    struct{}                 `json:"-"`
	XXX_unrecognized        []byte                   `json:"-"`
	XXX_sizecache           int32                    `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

func (*LanzRecord) XXX_DiscardUnknown

func (m *LanzRecord) XXX_DiscardUnknown()

func (*LanzRecord) XXX_Marshal

func (m *LanzRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LanzRecord) XXX_Merge

func (m *LanzRecord) XXX_Merge(src proto.Message)

func (*LanzRecord) XXX_Size

func (m *LanzRecord) XXX_Size() int

func (*LanzRecord) XXX_Unmarshal

func (m *LanzRecord) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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