common

package
v5.6.5 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdminState_Types_name = map[int32]string{
	0: "UNKNOWN",
	1: "PREPROVISIONED",
	2: "ENABLED",
	3: "DISABLED",
	4: "DOWNLOADING_IMAGE",
}
View Source
var AdminState_Types_value = map[string]int32{
	"UNKNOWN":           0,
	"PREPROVISIONED":    1,
	"ENABLED":           2,
	"DISABLED":          3,
	"DOWNLOADING_IMAGE": 4,
}
View Source
var ConnectStatus_Types_name = map[int32]string{
	0: "UNKNOWN",
	1: "UNREACHABLE",
	2: "REACHABLE",
}
View Source
var ConnectStatus_Types_value = map[string]int32{
	"UNKNOWN":     0,
	"UNREACHABLE": 1,
	"REACHABLE":   2,
}
View Source
var OperStatus_Types_name = map[int32]string{
	0: "UNKNOWN",
	1: "DISCOVERED",
	2: "ACTIVATING",
	3: "TESTING",
	4: "ACTIVE",
	5: "FAILED",
	6: "RECONCILING",
	7: "RECONCILING_FAILED",
	8: "REBOOTED",
}
View Source
var OperStatus_Types_value = map[string]int32{
	"UNKNOWN":            0,
	"DISCOVERED":         1,
	"ACTIVATING":         2,
	"TESTING":            3,
	"ACTIVE":             4,
	"FAILED":             5,
	"RECONCILING":        6,
	"RECONCILING_FAILED": 7,
	"REBOOTED":           8,
}
View Source
var OperationResp_OperationReturnCode_name = map[int32]string{
	0: "OPERATION_SUCCESS",
	1: "OPERATION_FAILURE",
	2: "OPERATION_UNSUPPORTED",
	3: "OPERATION_IN_PROGRESS",
}
View Source
var OperationResp_OperationReturnCode_value = map[string]int32{
	"OPERATION_SUCCESS":     0,
	"OPERATION_FAILURE":     1,
	"OPERATION_UNSUPPORTED": 2,
	"OPERATION_IN_PROGRESS": 3,
}
View Source
var TestModeKeys_name = map[int32]string{
	0: "api_test",
}
View Source
var TestModeKeys_value = map[string]int32{
	"api_test": 0,
}

Functions

This section is empty.

Types

type AdminState

type AdminState struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AdminState) Descriptor

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

func (*AdminState) ProtoMessage

func (*AdminState) ProtoMessage()

func (*AdminState) Reset

func (m *AdminState) Reset()

func (*AdminState) String

func (m *AdminState) String() string

func (*AdminState) XXX_DiscardUnknown

func (m *AdminState) XXX_DiscardUnknown()

func (*AdminState) XXX_Marshal

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

func (*AdminState) XXX_Merge

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

func (*AdminState) XXX_Size

func (m *AdminState) XXX_Size() int

func (*AdminState) XXX_Unmarshal

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

type AdminState_Types

type AdminState_Types int32

Administrative State

const (
	// The administrative state of the device is unknown
	AdminState_UNKNOWN AdminState_Types = 0
	// The device is pre-provisioned into Voltha, but not contacted by it
	AdminState_PREPROVISIONED AdminState_Types = 1
	// The device is enabled for activation and operation
	AdminState_ENABLED AdminState_Types = 2
	// The device is disabled and shall not perform its intended forwarding
	// functions other than being available for re-activation.
	AdminState_DISABLED AdminState_Types = 3
	// The device is in the state of image download
	AdminState_DOWNLOADING_IMAGE AdminState_Types = 4
)

func (AdminState_Types) EnumDescriptor

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

func (AdminState_Types) String

func (x AdminState_Types) String() string

type ConnectStatus

type ConnectStatus struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConnectStatus) Descriptor

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

func (*ConnectStatus) ProtoMessage

func (*ConnectStatus) ProtoMessage()

func (*ConnectStatus) Reset

func (m *ConnectStatus) Reset()

func (*ConnectStatus) String

func (m *ConnectStatus) String() string

func (*ConnectStatus) XXX_DiscardUnknown

func (m *ConnectStatus) XXX_DiscardUnknown()

func (*ConnectStatus) XXX_Marshal

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

func (*ConnectStatus) XXX_Merge

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

func (*ConnectStatus) XXX_Size

func (m *ConnectStatus) XXX_Size() int

func (*ConnectStatus) XXX_Unmarshal

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

type ConnectStatus_Types

type ConnectStatus_Types int32

Connectivity Status

const (
	// The device connectivity status is unknown
	ConnectStatus_UNKNOWN ConnectStatus_Types = 0
	// The device cannot be reached by Voltha
	ConnectStatus_UNREACHABLE ConnectStatus_Types = 1
	// There is live communication between device and Voltha
	ConnectStatus_REACHABLE ConnectStatus_Types = 2
)

func (ConnectStatus_Types) EnumDescriptor

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

func (ConnectStatus_Types) String

func (x ConnectStatus_Types) String() string

type Connection

type Connection struct {
	// endpoint is the endpoint sending the request
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// contextInfo represents additional contextual information
	ContextInfo string `protobuf:"bytes,2,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"`
	// keep_alive_interval is used to indicate to the remote endpoint how often it
	// will get a keep alive notification
	KeepAliveInterval    int64    `protobuf:"varint,3,opt,name=keep_alive_interval,json=keepAliveInterval,proto3" json:"keep_alive_interval,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Connection) Descriptor

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

func (*Connection) GetContextInfo

func (m *Connection) GetContextInfo() string

func (*Connection) GetEndpoint

func (m *Connection) GetEndpoint() string

func (*Connection) GetKeepAliveInterval

func (m *Connection) GetKeepAliveInterval() int64

func (*Connection) ProtoMessage

func (*Connection) ProtoMessage()

func (*Connection) Reset

func (m *Connection) Reset()

func (*Connection) String

func (m *Connection) String() string

func (*Connection) XXX_DiscardUnknown

func (m *Connection) XXX_DiscardUnknown()

func (*Connection) XXX_Marshal

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

func (*Connection) XXX_Merge

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

func (*Connection) XXX_Size

func (m *Connection) XXX_Size() int

func (*Connection) XXX_Unmarshal

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

type ID

type ID struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Convey a resource identifier

func (*ID) Descriptor

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

func (*ID) GetId

func (m *ID) GetId() string

func (*ID) ProtoMessage

func (*ID) ProtoMessage()

func (*ID) Reset

func (m *ID) Reset()

func (*ID) String

func (m *ID) String() string

func (*ID) XXX_DiscardUnknown

func (m *ID) XXX_DiscardUnknown()

func (*ID) XXX_Marshal

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

func (*ID) XXX_Merge

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

func (*ID) XXX_Size

func (m *ID) XXX_Size() int

func (*ID) XXX_Unmarshal

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

type IDs

type IDs struct {
	Items                []*ID    `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents a list of IDs

func (*IDs) Descriptor

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

func (*IDs) GetItems

func (m *IDs) GetItems() []*ID

func (*IDs) ProtoMessage

func (*IDs) ProtoMessage()

func (*IDs) Reset

func (m *IDs) Reset()

func (*IDs) String

func (m *IDs) String() string

func (*IDs) XXX_DiscardUnknown

func (m *IDs) XXX_DiscardUnknown()

func (*IDs) XXX_Marshal

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

func (*IDs) XXX_Merge

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

func (*IDs) XXX_Size

func (m *IDs) XXX_Size() int

func (*IDs) XXX_Unmarshal

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

type Key

type Key struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Full path for KV store

func (*Key) Descriptor

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

func (*Key) GetKey

func (m *Key) GetKey() string

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) Reset

func (m *Key) Reset()

func (*Key) String

func (m *Key) String() string

func (*Key) XXX_DiscardUnknown

func (m *Key) XXX_DiscardUnknown()

func (*Key) XXX_Marshal

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

func (*Key) XXX_Merge

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

func (*Key) XXX_Size

func (m *Key) XXX_Size() int

func (*Key) XXX_Unmarshal

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

type OperStatus

type OperStatus struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OperStatus) Descriptor

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

func (*OperStatus) ProtoMessage

func (*OperStatus) ProtoMessage()

func (*OperStatus) Reset

func (m *OperStatus) Reset()

func (*OperStatus) String

func (m *OperStatus) String() string

func (*OperStatus) XXX_DiscardUnknown

func (m *OperStatus) XXX_DiscardUnknown()

func (*OperStatus) XXX_Marshal

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

func (*OperStatus) XXX_Merge

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

func (*OperStatus) XXX_Size

func (m *OperStatus) XXX_Size() int

func (*OperStatus) XXX_Unmarshal

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

type OperStatus_Types

type OperStatus_Types int32

Operational Status

const (
	// The status of the device is unknown at this point
	OperStatus_UNKNOWN OperStatus_Types = 0
	// The device has been discovered, but not yet activated
	OperStatus_DISCOVERED OperStatus_Types = 1
	// The device is being activated (booted, rebooted, upgraded, etc.)
	OperStatus_ACTIVATING OperStatus_Types = 2
	// Service impacting tests are being conducted
	OperStatus_TESTING OperStatus_Types = 3
	// The device is up and active
	OperStatus_ACTIVE OperStatus_Types = 4
	// The device has failed and cannot fulfill its intended role
	OperStatus_FAILED OperStatus_Types = 5
	// The device is reconciling
	OperStatus_RECONCILING OperStatus_Types = 6
	// The device is in reconciling failed
	OperStatus_RECONCILING_FAILED OperStatus_Types = 7
	// The device has rebooted
	OperStatus_REBOOTED OperStatus_Types = 8
)

func (OperStatus_Types) EnumDescriptor

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

func (OperStatus_Types) String

func (x OperStatus_Types) String() string

type OperationResp

type OperationResp struct {
	// Return code
	Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"`
	// Additional Info
	AdditionalInfo       string   `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OperationResp) Descriptor

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

func (*OperationResp) GetAdditionalInfo

func (m *OperationResp) GetAdditionalInfo() string

func (*OperationResp) GetCode

func (*OperationResp) ProtoMessage

func (*OperationResp) ProtoMessage()

func (*OperationResp) Reset

func (m *OperationResp) Reset()

func (*OperationResp) String

func (m *OperationResp) String() string

func (*OperationResp) XXX_DiscardUnknown

func (m *OperationResp) XXX_DiscardUnknown()

func (*OperationResp) XXX_Marshal

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

func (*OperationResp) XXX_Merge

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

func (*OperationResp) XXX_Size

func (m *OperationResp) XXX_Size() int

func (*OperationResp) XXX_Unmarshal

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

type OperationResp_OperationReturnCode

type OperationResp_OperationReturnCode int32
const (
	OperationResp_OPERATION_SUCCESS     OperationResp_OperationReturnCode = 0
	OperationResp_OPERATION_FAILURE     OperationResp_OperationReturnCode = 1
	OperationResp_OPERATION_UNSUPPORTED OperationResp_OperationReturnCode = 2
	OperationResp_OPERATION_IN_PROGRESS OperationResp_OperationReturnCode = 3
)

func (OperationResp_OperationReturnCode) EnumDescriptor

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

func (OperationResp_OperationReturnCode) String

type PortStatistics added in v5.6.5

type PortStatistics struct {
	IntfId                  uint32   `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
	RxBytes                 uint64   `protobuf:"fixed64,2,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
	RxPackets               uint64   `protobuf:"fixed64,3,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"`
	RxUcastPackets          uint64   `protobuf:"fixed64,4,opt,name=rx_ucast_packets,json=rxUcastPackets,proto3" json:"rx_ucast_packets,omitempty"`
	RxMcastPackets          uint64   `protobuf:"fixed64,5,opt,name=rx_mcast_packets,json=rxMcastPackets,proto3" json:"rx_mcast_packets,omitempty"`
	RxBcastPackets          uint64   `protobuf:"fixed64,6,opt,name=rx_bcast_packets,json=rxBcastPackets,proto3" json:"rx_bcast_packets,omitempty"`
	RxErrorPackets          uint64   `protobuf:"fixed64,7,opt,name=rx_error_packets,json=rxErrorPackets,proto3" json:"rx_error_packets,omitempty"`
	RxFrames                uint64   `protobuf:"fixed64,17,opt,name=rx_frames,json=rxFrames,proto3" json:"rx_frames,omitempty"`
	RxFrames_64             uint64   `protobuf:"fixed64,18,opt,name=rx_frames_64,json=rxFrames64,proto3" json:"rx_frames_64,omitempty"`
	RxFrames_65_127         uint64   `protobuf:"fixed64,19,opt,name=rx_frames_65_127,json=rxFrames65127,proto3" json:"rx_frames_65_127,omitempty"`
	RxFrames_128_255        uint64   `protobuf:"fixed64,20,opt,name=rx_frames_128_255,json=rxFrames128255,proto3" json:"rx_frames_128_255,omitempty"`
	RxFrames_256_511        uint64   `protobuf:"fixed64,21,opt,name=rx_frames_256_511,json=rxFrames256511,proto3" json:"rx_frames_256_511,omitempty"`
	RxFrames_512_1023       uint64   `protobuf:"fixed64,22,opt,name=rx_frames_512_1023,json=rxFrames5121023,proto3" json:"rx_frames_512_1023,omitempty"`
	RxFrames_1024_1518      uint64   `protobuf:"fixed64,23,opt,name=rx_frames_1024_1518,json=rxFrames10241518,proto3" json:"rx_frames_1024_1518,omitempty"`
	RxFrames_1519_2047      uint64   `protobuf:"fixed64,24,opt,name=rx_frames_1519_2047,json=rxFrames15192047,proto3" json:"rx_frames_1519_2047,omitempty"`
	RxFrames_2048_4095      uint64   `protobuf:"fixed64,25,opt,name=rx_frames_2048_4095,json=rxFrames20484095,proto3" json:"rx_frames_2048_4095,omitempty"`
	RxFrames_4096_9216      uint64   `protobuf:"fixed64,26,opt,name=rx_frames_4096_9216,json=rxFrames40969216,proto3" json:"rx_frames_4096_9216,omitempty"`
	RxFrames_9217_16383     uint64   `protobuf:"fixed64,27,opt,name=rx_frames_9217_16383,json=rxFrames921716383,proto3" json:"rx_frames_9217_16383,omitempty"`
	RxCrcErrors             uint64   `protobuf:"fixed64,14,opt,name=rx_crc_errors,json=rxCrcErrors,proto3" json:"rx_crc_errors,omitempty"`
	RxUndersizePackets      uint64   `protobuf:"fixed64,39,opt,name=rxUndersizePackets,proto3" json:"rxUndersizePackets,omitempty"`
	RxOversizePackets       uint64   `protobuf:"fixed64,40,opt,name=rxOversizePackets,proto3" json:"rxOversizePackets,omitempty"`
	RxGem                   uint64   `protobuf:"fixed64,43,opt,name=rxGem,proto3" json:"rxGem,omitempty"`
	RxGemDropped            uint64   `protobuf:"fixed64,44,opt,name=rxGemDropped,proto3" json:"rxGemDropped,omitempty"`
	RxGemIdle               uint64   `protobuf:"fixed64,45,opt,name=rxGemIdle,proto3" json:"rxGemIdle,omitempty"`
	RxGemCorrected          uint64   `protobuf:"fixed64,46,opt,name=rxGemCorrected,proto3" json:"rxGemCorrected,omitempty"`
	RxGemIllegal            uint64   `protobuf:"fixed64,47,opt,name=rxGemIllegal,proto3" json:"rxGemIllegal,omitempty"`
	RxFragmentError         uint64   `protobuf:"fixed64,48,opt,name=rxFragmentError,proto3" json:"rxFragmentError,omitempty"`
	RxPacketsDropped        uint64   `protobuf:"fixed64,49,opt,name=rxPacketsDropped,proto3" json:"rxPacketsDropped,omitempty"`
	RxCpuOmciPacketsDropped uint64   `protobuf:"fixed64,50,opt,name=rxCpuOmciPacketsDropped,proto3" json:"rxCpuOmciPacketsDropped,omitempty"`
	RxCpu                   uint64   `protobuf:"fixed64,51,opt,name=rxCpu,proto3" json:"rxCpu,omitempty"`
	RxOmci                  uint64   `protobuf:"fixed64,52,opt,name=rxOmci,proto3" json:"rxOmci,omitempty"`
	RxOmciPacketsCrcError   uint64   `protobuf:"fixed64,53,opt,name=rxOmciPacketsCrcError,proto3" json:"rxOmciPacketsCrcError,omitempty"`
	RxFcsErrorPackets       uint64   `protobuf:"fixed64,62,opt,name=rxFcsErrorPackets,proto3" json:"rxFcsErrorPackets,omitempty"`
	TxBytes                 uint64   `protobuf:"fixed64,8,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	TxPackets               uint64   `protobuf:"fixed64,9,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"`
	TxUcastPackets          uint64   `protobuf:"fixed64,10,opt,name=tx_ucast_packets,json=txUcastPackets,proto3" json:"tx_ucast_packets,omitempty"`
	TxMcastPackets          uint64   `protobuf:"fixed64,11,opt,name=tx_mcast_packets,json=txMcastPackets,proto3" json:"tx_mcast_packets,omitempty"`
	TxBcastPackets          uint64   `protobuf:"fixed64,12,opt,name=tx_bcast_packets,json=txBcastPackets,proto3" json:"tx_bcast_packets,omitempty"`
	TxErrorPackets          uint64   `protobuf:"fixed64,13,opt,name=tx_error_packets,json=txErrorPackets,proto3" json:"tx_error_packets,omitempty"`
	TxFrames                uint64   `protobuf:"fixed64,28,opt,name=tx_frames,json=txFrames,proto3" json:"tx_frames,omitempty"`
	TxFrames_64             uint64   `protobuf:"fixed64,29,opt,name=tx_frames_64,json=txFrames64,proto3" json:"tx_frames_64,omitempty"`
	TxFrames_65_127         uint64   `protobuf:"fixed64,30,opt,name=tx_frames_65_127,json=txFrames65127,proto3" json:"tx_frames_65_127,omitempty"`
	TxFrames_128_255        uint64   `protobuf:"fixed64,31,opt,name=tx_frames_128_255,json=txFrames128255,proto3" json:"tx_frames_128_255,omitempty"`
	TxFrames_256_511        uint64   `protobuf:"fixed64,32,opt,name=tx_frames_256_511,json=txFrames256511,proto3" json:"tx_frames_256_511,omitempty"`
	TxFrames_512_1023       uint64   `protobuf:"fixed64,33,opt,name=tx_frames_512_1023,json=txFrames5121023,proto3" json:"tx_frames_512_1023,omitempty"`
	TxFrames_1024_1518      uint64   `protobuf:"fixed64,34,opt,name=tx_frames_1024_1518,json=txFrames10241518,proto3" json:"tx_frames_1024_1518,omitempty"`
	TxFrames_1519_2047      uint64   `protobuf:"fixed64,35,opt,name=tx_frames_1519_2047,json=txFrames15192047,proto3" json:"tx_frames_1519_2047,omitempty"`
	TxFrames_2048_4095      uint64   `protobuf:"fixed64,36,opt,name=tx_frames_2048_4095,json=txFrames20484095,proto3" json:"tx_frames_2048_4095,omitempty"`
	TxFrames_4096_9216      uint64   `protobuf:"fixed64,37,opt,name=tx_frames_4096_9216,json=txFrames40969216,proto3" json:"tx_frames_4096_9216,omitempty"`
	TxFrames_9217_16383     uint64   `protobuf:"fixed64,38,opt,name=tx_frames_9217_16383,json=txFrames921716383,proto3" json:"tx_frames_9217_16383,omitempty"`
	TxUndersizePackets      uint64   `protobuf:"fixed64,41,opt,name=txUndersizePackets,proto3" json:"txUndersizePackets,omitempty"`
	TxOversizePackets       uint64   `protobuf:"fixed64,42,opt,name=txOversizePackets,proto3" json:"txOversizePackets,omitempty"`
	TxGem                   uint64   `protobuf:"fixed64,54,opt,name=txGem,proto3" json:"txGem,omitempty"`
	TxCpu                   uint64   `protobuf:"fixed64,55,opt,name=txCpu,proto3" json:"txCpu,omitempty"`
	TxOmci                  uint64   `protobuf:"fixed64,56,opt,name=txOmci,proto3" json:"txOmci,omitempty"`
	TxDroppedIllegalLength  uint64   `protobuf:"fixed64,57,opt,name=txDroppedIllegalLength,proto3" json:"txDroppedIllegalLength,omitempty"`
	TxDroppedTpidMiss       uint64   `protobuf:"fixed64,58,opt,name=txDroppedTpidMiss,proto3" json:"txDroppedTpidMiss,omitempty"`
	TxDroppedVidMiss        uint64   `protobuf:"fixed64,59,opt,name=txDroppedVidMiss,proto3" json:"txDroppedVidMiss,omitempty"`
	TxDroppedTotal          uint64   `protobuf:"fixed64,60,opt,name=txDroppedTotal,proto3" json:"txDroppedTotal,omitempty"`
	BipErrors               uint64   `protobuf:"fixed64,15,opt,name=bip_errors,json=bipErrors,proto3" json:"bip_errors,omitempty"`
	BipUnits                uint64   `protobuf:"fixed64,61,opt,name=bip_units,json=bipUnits,proto3" json:"bip_units,omitempty"`
	Timestamp               uint32   `protobuf:"fixed32,16,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

func (*PortStatistics) Descriptor added in v5.6.5

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

func (*PortStatistics) GetBipErrors added in v5.6.5

func (m *PortStatistics) GetBipErrors() uint64

func (*PortStatistics) GetBipUnits added in v5.6.5

func (m *PortStatistics) GetBipUnits() uint64

func (*PortStatistics) GetIntfId added in v5.6.5

func (m *PortStatistics) GetIntfId() uint32

func (*PortStatistics) GetRxBcastPackets added in v5.6.5

func (m *PortStatistics) GetRxBcastPackets() uint64

func (*PortStatistics) GetRxBytes added in v5.6.5

func (m *PortStatistics) GetRxBytes() uint64

func (*PortStatistics) GetRxCpu added in v5.6.5

func (m *PortStatistics) GetRxCpu() uint64

func (*PortStatistics) GetRxCpuOmciPacketsDropped added in v5.6.5

func (m *PortStatistics) GetRxCpuOmciPacketsDropped() uint64

func (*PortStatistics) GetRxCrcErrors added in v5.6.5

func (m *PortStatistics) GetRxCrcErrors() uint64

func (*PortStatistics) GetRxErrorPackets added in v5.6.5

func (m *PortStatistics) GetRxErrorPackets() uint64

func (*PortStatistics) GetRxFcsErrorPackets added in v5.6.5

func (m *PortStatistics) GetRxFcsErrorPackets() uint64

func (*PortStatistics) GetRxFragmentError added in v5.6.5

func (m *PortStatistics) GetRxFragmentError() uint64

func (*PortStatistics) GetRxFrames added in v5.6.5

func (m *PortStatistics) GetRxFrames() uint64

func (*PortStatistics) GetRxFrames_1024_1518 added in v5.6.5

func (m *PortStatistics) GetRxFrames_1024_1518() uint64

func (*PortStatistics) GetRxFrames_128_255 added in v5.6.5

func (m *PortStatistics) GetRxFrames_128_255() uint64

func (*PortStatistics) GetRxFrames_1519_2047 added in v5.6.5

func (m *PortStatistics) GetRxFrames_1519_2047() uint64

func (*PortStatistics) GetRxFrames_2048_4095 added in v5.6.5

func (m *PortStatistics) GetRxFrames_2048_4095() uint64

func (*PortStatistics) GetRxFrames_256_511 added in v5.6.5

func (m *PortStatistics) GetRxFrames_256_511() uint64

func (*PortStatistics) GetRxFrames_4096_9216 added in v5.6.5

func (m *PortStatistics) GetRxFrames_4096_9216() uint64

func (*PortStatistics) GetRxFrames_512_1023 added in v5.6.5

func (m *PortStatistics) GetRxFrames_512_1023() uint64

func (*PortStatistics) GetRxFrames_64 added in v5.6.5

func (m *PortStatistics) GetRxFrames_64() uint64

func (*PortStatistics) GetRxFrames_65_127 added in v5.6.5

func (m *PortStatistics) GetRxFrames_65_127() uint64

func (*PortStatistics) GetRxFrames_9217_16383 added in v5.6.5

func (m *PortStatistics) GetRxFrames_9217_16383() uint64

func (*PortStatistics) GetRxGem added in v5.6.5

func (m *PortStatistics) GetRxGem() uint64

func (*PortStatistics) GetRxGemCorrected added in v5.6.5

func (m *PortStatistics) GetRxGemCorrected() uint64

func (*PortStatistics) GetRxGemDropped added in v5.6.5

func (m *PortStatistics) GetRxGemDropped() uint64

func (*PortStatistics) GetRxGemIdle added in v5.6.5

func (m *PortStatistics) GetRxGemIdle() uint64

func (*PortStatistics) GetRxGemIllegal added in v5.6.5

func (m *PortStatistics) GetRxGemIllegal() uint64

func (*PortStatistics) GetRxMcastPackets added in v5.6.5

func (m *PortStatistics) GetRxMcastPackets() uint64

func (*PortStatistics) GetRxOmci added in v5.6.5

func (m *PortStatistics) GetRxOmci() uint64

func (*PortStatistics) GetRxOmciPacketsCrcError added in v5.6.5

func (m *PortStatistics) GetRxOmciPacketsCrcError() uint64

func (*PortStatistics) GetRxOversizePackets added in v5.6.5

func (m *PortStatistics) GetRxOversizePackets() uint64

func (*PortStatistics) GetRxPackets added in v5.6.5

func (m *PortStatistics) GetRxPackets() uint64

func (*PortStatistics) GetRxPacketsDropped added in v5.6.5

func (m *PortStatistics) GetRxPacketsDropped() uint64

func (*PortStatistics) GetRxUcastPackets added in v5.6.5

func (m *PortStatistics) GetRxUcastPackets() uint64

func (*PortStatistics) GetRxUndersizePackets added in v5.6.5

func (m *PortStatistics) GetRxUndersizePackets() uint64

func (*PortStatistics) GetTimestamp added in v5.6.5

func (m *PortStatistics) GetTimestamp() uint32

func (*PortStatistics) GetTxBcastPackets added in v5.6.5

func (m *PortStatistics) GetTxBcastPackets() uint64

func (*PortStatistics) GetTxBytes added in v5.6.5

func (m *PortStatistics) GetTxBytes() uint64

func (*PortStatistics) GetTxCpu added in v5.6.5

func (m *PortStatistics) GetTxCpu() uint64

func (*PortStatistics) GetTxDroppedIllegalLength added in v5.6.5

func (m *PortStatistics) GetTxDroppedIllegalLength() uint64

func (*PortStatistics) GetTxDroppedTotal added in v5.6.5

func (m *PortStatistics) GetTxDroppedTotal() uint64

func (*PortStatistics) GetTxDroppedTpidMiss added in v5.6.5

func (m *PortStatistics) GetTxDroppedTpidMiss() uint64

func (*PortStatistics) GetTxDroppedVidMiss added in v5.6.5

func (m *PortStatistics) GetTxDroppedVidMiss() uint64

func (*PortStatistics) GetTxErrorPackets added in v5.6.5

func (m *PortStatistics) GetTxErrorPackets() uint64

func (*PortStatistics) GetTxFrames added in v5.6.5

func (m *PortStatistics) GetTxFrames() uint64

func (*PortStatistics) GetTxFrames_1024_1518 added in v5.6.5

func (m *PortStatistics) GetTxFrames_1024_1518() uint64

func (*PortStatistics) GetTxFrames_128_255 added in v5.6.5

func (m *PortStatistics) GetTxFrames_128_255() uint64

func (*PortStatistics) GetTxFrames_1519_2047 added in v5.6.5

func (m *PortStatistics) GetTxFrames_1519_2047() uint64

func (*PortStatistics) GetTxFrames_2048_4095 added in v5.6.5

func (m *PortStatistics) GetTxFrames_2048_4095() uint64

func (*PortStatistics) GetTxFrames_256_511 added in v5.6.5

func (m *PortStatistics) GetTxFrames_256_511() uint64

func (*PortStatistics) GetTxFrames_4096_9216 added in v5.6.5

func (m *PortStatistics) GetTxFrames_4096_9216() uint64

func (*PortStatistics) GetTxFrames_512_1023 added in v5.6.5

func (m *PortStatistics) GetTxFrames_512_1023() uint64

func (*PortStatistics) GetTxFrames_64 added in v5.6.5

func (m *PortStatistics) GetTxFrames_64() uint64

func (*PortStatistics) GetTxFrames_65_127 added in v5.6.5

func (m *PortStatistics) GetTxFrames_65_127() uint64

func (*PortStatistics) GetTxFrames_9217_16383 added in v5.6.5

func (m *PortStatistics) GetTxFrames_9217_16383() uint64

func (*PortStatistics) GetTxGem added in v5.6.5

func (m *PortStatistics) GetTxGem() uint64

func (*PortStatistics) GetTxMcastPackets added in v5.6.5

func (m *PortStatistics) GetTxMcastPackets() uint64

func (*PortStatistics) GetTxOmci added in v5.6.5

func (m *PortStatistics) GetTxOmci() uint64

func (*PortStatistics) GetTxOversizePackets added in v5.6.5

func (m *PortStatistics) GetTxOversizePackets() uint64

func (*PortStatistics) GetTxPackets added in v5.6.5

func (m *PortStatistics) GetTxPackets() uint64

func (*PortStatistics) GetTxUcastPackets added in v5.6.5

func (m *PortStatistics) GetTxUcastPackets() uint64

func (*PortStatistics) GetTxUndersizePackets added in v5.6.5

func (m *PortStatistics) GetTxUndersizePackets() uint64

func (*PortStatistics) ProtoMessage added in v5.6.5

func (*PortStatistics) ProtoMessage()

func (*PortStatistics) Reset added in v5.6.5

func (m *PortStatistics) Reset()

func (*PortStatistics) String added in v5.6.5

func (m *PortStatistics) String() string

func (*PortStatistics) XXX_DiscardUnknown added in v5.6.5

func (m *PortStatistics) XXX_DiscardUnknown()

func (*PortStatistics) XXX_Marshal added in v5.6.5

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

func (*PortStatistics) XXX_Merge added in v5.6.5

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

func (*PortStatistics) XXX_Size added in v5.6.5

func (m *PortStatistics) XXX_Size() int

func (*PortStatistics) XXX_Unmarshal added in v5.6.5

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

type TestModeKeys

type TestModeKeys int32
const (
	TestModeKeys_api_test TestModeKeys = 0
)

func (TestModeKeys) EnumDescriptor

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

func (TestModeKeys) String

func (x TestModeKeys) String() string

Jump to

Keyboard shortcuts

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