| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: voltha_protos/openolt.proto |
| |
| package openolt |
| |
| import ( |
| context "context" |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| common "github.com/opencord/voltha-protos/v4/go/common" |
| config "github.com/opencord/voltha-protos/v4/go/ext/config" |
| tech_profile "github.com/opencord/voltha-protos/v4/go/tech_profile" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| grpc "google.golang.org/grpc" |
| codes "google.golang.org/grpc/codes" |
| status "google.golang.org/grpc/status" |
| math "math" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // SchedulerConfig from public import voltha_protos/tech_profile.proto |
| type SchedulerConfig = tech_profile.SchedulerConfig |
| |
| // TrafficShapingInfo from public import voltha_protos/tech_profile.proto |
| type TrafficShapingInfo = tech_profile.TrafficShapingInfo |
| |
| // TrafficScheduler from public import voltha_protos/tech_profile.proto |
| type TrafficScheduler = tech_profile.TrafficScheduler |
| |
| // TrafficSchedulers from public import voltha_protos/tech_profile.proto |
| type TrafficSchedulers = tech_profile.TrafficSchedulers |
| |
| // TailDropDiscardConfig from public import voltha_protos/tech_profile.proto |
| type TailDropDiscardConfig = tech_profile.TailDropDiscardConfig |
| |
| // RedDiscardConfig from public import voltha_protos/tech_profile.proto |
| type RedDiscardConfig = tech_profile.RedDiscardConfig |
| |
| // WRedDiscardConfig from public import voltha_protos/tech_profile.proto |
| type WRedDiscardConfig = tech_profile.WRedDiscardConfig |
| |
| // DiscardConfig from public import voltha_protos/tech_profile.proto |
| type DiscardConfig = tech_profile.DiscardConfig |
| type DiscardConfig_TailDropDiscardConfig = tech_profile.DiscardConfig_TailDropDiscardConfig |
| type DiscardConfig_RedDiscardConfig = tech_profile.DiscardConfig_RedDiscardConfig |
| type DiscardConfig_WredDiscardConfig = tech_profile.DiscardConfig_WredDiscardConfig |
| |
| // TrafficQueue from public import voltha_protos/tech_profile.proto |
| type TrafficQueue = tech_profile.TrafficQueue |
| |
| // TrafficQueues from public import voltha_protos/tech_profile.proto |
| type TrafficQueues = tech_profile.TrafficQueues |
| |
| // Direction from public import voltha_protos/tech_profile.proto |
| type Direction = tech_profile.Direction |
| |
| var Direction_name = tech_profile.Direction_name |
| var Direction_value = tech_profile.Direction_value |
| |
| const Direction_UPSTREAM = Direction(tech_profile.Direction_UPSTREAM) |
| const Direction_DOWNSTREAM = Direction(tech_profile.Direction_DOWNSTREAM) |
| const Direction_BIDIRECTIONAL = Direction(tech_profile.Direction_BIDIRECTIONAL) |
| |
| // SchedulingPolicy from public import voltha_protos/tech_profile.proto |
| type SchedulingPolicy = tech_profile.SchedulingPolicy |
| |
| var SchedulingPolicy_name = tech_profile.SchedulingPolicy_name |
| var SchedulingPolicy_value = tech_profile.SchedulingPolicy_value |
| |
| const SchedulingPolicy_WRR = SchedulingPolicy(tech_profile.SchedulingPolicy_WRR) |
| const SchedulingPolicy_StrictPriority = SchedulingPolicy(tech_profile.SchedulingPolicy_StrictPriority) |
| const SchedulingPolicy_Hybrid = SchedulingPolicy(tech_profile.SchedulingPolicy_Hybrid) |
| |
| // AdditionalBW from public import voltha_protos/tech_profile.proto |
| type AdditionalBW = tech_profile.AdditionalBW |
| |
| var AdditionalBW_name = tech_profile.AdditionalBW_name |
| var AdditionalBW_value = tech_profile.AdditionalBW_value |
| |
| const AdditionalBW_AdditionalBW_None = AdditionalBW(tech_profile.AdditionalBW_AdditionalBW_None) |
| const AdditionalBW_AdditionalBW_NA = AdditionalBW(tech_profile.AdditionalBW_AdditionalBW_NA) |
| const AdditionalBW_AdditionalBW_BestEffort = AdditionalBW(tech_profile.AdditionalBW_AdditionalBW_BestEffort) |
| const AdditionalBW_AdditionalBW_Auto = AdditionalBW(tech_profile.AdditionalBW_AdditionalBW_Auto) |
| |
| // DiscardPolicy from public import voltha_protos/tech_profile.proto |
| type DiscardPolicy = tech_profile.DiscardPolicy |
| |
| var DiscardPolicy_name = tech_profile.DiscardPolicy_name |
| var DiscardPolicy_value = tech_profile.DiscardPolicy_value |
| |
| const DiscardPolicy_TailDrop = DiscardPolicy(tech_profile.DiscardPolicy_TailDrop) |
| const DiscardPolicy_WTailDrop = DiscardPolicy(tech_profile.DiscardPolicy_WTailDrop) |
| const DiscardPolicy_Red = DiscardPolicy(tech_profile.DiscardPolicy_Red) |
| const DiscardPolicy_WRed = DiscardPolicy(tech_profile.DiscardPolicy_WRed) |
| |
| // InferredAdditionBWIndication from public import voltha_protos/tech_profile.proto |
| type InferredAdditionBWIndication = tech_profile.InferredAdditionBWIndication |
| |
| var InferredAdditionBWIndication_name = tech_profile.InferredAdditionBWIndication_name |
| var InferredAdditionBWIndication_value = tech_profile.InferredAdditionBWIndication_value |
| |
| const InferredAdditionBWIndication_InferredAdditionBWIndication_None = InferredAdditionBWIndication(tech_profile.InferredAdditionBWIndication_InferredAdditionBWIndication_None) |
| const InferredAdditionBWIndication_InferredAdditionBWIndication_Assured = InferredAdditionBWIndication(tech_profile.InferredAdditionBWIndication_InferredAdditionBWIndication_Assured) |
| const InferredAdditionBWIndication_InferredAdditionBWIndication_BestEffort = InferredAdditionBWIndication(tech_profile.InferredAdditionBWIndication_InferredAdditionBWIndication_BestEffort) |
| |
| // ID from public import voltha_protos/common.proto |
| type ID = common.ID |
| |
| // IDs from public import voltha_protos/common.proto |
| type IDs = common.IDs |
| |
| // AdminState from public import voltha_protos/common.proto |
| type AdminState = common.AdminState |
| |
| // OperStatus from public import voltha_protos/common.proto |
| type OperStatus = common.OperStatus |
| |
| // ConnectStatus from public import voltha_protos/common.proto |
| type ConnectStatus = common.ConnectStatus |
| |
| // OperationResp from public import voltha_protos/common.proto |
| type OperationResp = common.OperationResp |
| |
| // ValueType from public import voltha_protos/common.proto |
| type ValueType = common.ValueType |
| |
| // ValueSpecifier from public import voltha_protos/common.proto |
| type ValueSpecifier = common.ValueSpecifier |
| |
| // ReturnValues from public import voltha_protos/common.proto |
| type ReturnValues = common.ReturnValues |
| |
| // TestModeKeys from public import voltha_protos/common.proto |
| type TestModeKeys = common.TestModeKeys |
| |
| var TestModeKeys_name = common.TestModeKeys_name |
| var TestModeKeys_value = common.TestModeKeys_value |
| |
| const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test) |
| |
| // AdminState_Types from public import voltha_protos/common.proto |
| type AdminState_Types = common.AdminState_Types |
| |
| var AdminState_Types_name = common.AdminState_Types_name |
| var AdminState_Types_value = common.AdminState_Types_value |
| |
| const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN) |
| const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED) |
| const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED) |
| const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED) |
| const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE) |
| |
| // OperStatus_Types from public import voltha_protos/common.proto |
| type OperStatus_Types = common.OperStatus_Types |
| |
| var OperStatus_Types_name = common.OperStatus_Types_name |
| var OperStatus_Types_value = common.OperStatus_Types_value |
| |
| const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN) |
| const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED) |
| const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING) |
| const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING) |
| const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE) |
| const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED) |
| const OperStatus_RECONCILING = OperStatus_Types(common.OperStatus_RECONCILING) |
| |
| // ConnectStatus_Types from public import voltha_protos/common.proto |
| type ConnectStatus_Types = common.ConnectStatus_Types |
| |
| var ConnectStatus_Types_name = common.ConnectStatus_Types_name |
| var ConnectStatus_Types_value = common.ConnectStatus_Types_value |
| |
| const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN) |
| const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE) |
| const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE) |
| |
| // OperationResp_OperationReturnCode from public import voltha_protos/common.proto |
| type OperationResp_OperationReturnCode = common.OperationResp_OperationReturnCode |
| |
| var OperationResp_OperationReturnCode_name = common.OperationResp_OperationReturnCode_name |
| var OperationResp_OperationReturnCode_value = common.OperationResp_OperationReturnCode_value |
| |
| const OperationResp_OPERATION_SUCCESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_SUCCESS) |
| const OperationResp_OPERATION_FAILURE = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_FAILURE) |
| const OperationResp_OPERATION_UNSUPPORTED = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_UNSUPPORTED) |
| const OperationResp_OPERATION_IN_PROGRESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_IN_PROGRESS) |
| |
| // ValueType_Type from public import voltha_protos/common.proto |
| type ValueType_Type = common.ValueType_Type |
| |
| var ValueType_Type_name = common.ValueType_Type_name |
| var ValueType_Type_value = common.ValueType_Type_value |
| |
| const ValueType_EMPTY = ValueType_Type(common.ValueType_EMPTY) |
| const ValueType_DISTANCE = ValueType_Type(common.ValueType_DISTANCE) |
| |
| //* activation fail reason. |
| type OnuIndication_ActivationFailReason int32 |
| |
| const ( |
| OnuIndication_ONU_ACTIVATION_FAIL_REASON_NONE OnuIndication_ActivationFailReason = 0 |
| OnuIndication_ONU_ACTIVATION_FAIL_REASON_RANGING OnuIndication_ActivationFailReason = 1 |
| OnuIndication_ONU_ACTIVATION_FAIL_REASON_PASSWORD_AUTHENTICATION OnuIndication_ActivationFailReason = 2 |
| OnuIndication_ONU_ACTIVATION_FAIL_REASON_LOS OnuIndication_ActivationFailReason = 3 |
| OnuIndication_ONU_ACTIVATION_FAIL_ONU_ALARM OnuIndication_ActivationFailReason = 4 |
| OnuIndication_ONU_ACTIVATION_FAIL_SWITCH_OVER OnuIndication_ActivationFailReason = 5 |
| ) |
| |
| var OnuIndication_ActivationFailReason_name = map[int32]string{ |
| 0: "ONU_ACTIVATION_FAIL_REASON_NONE", |
| 1: "ONU_ACTIVATION_FAIL_REASON_RANGING", |
| 2: "ONU_ACTIVATION_FAIL_REASON_PASSWORD_AUTHENTICATION", |
| 3: "ONU_ACTIVATION_FAIL_REASON_LOS", |
| 4: "ONU_ACTIVATION_FAIL_ONU_ALARM", |
| 5: "ONU_ACTIVATION_FAIL_SWITCH_OVER", |
| } |
| |
| var OnuIndication_ActivationFailReason_value = map[string]int32{ |
| "ONU_ACTIVATION_FAIL_REASON_NONE": 0, |
| "ONU_ACTIVATION_FAIL_REASON_RANGING": 1, |
| "ONU_ACTIVATION_FAIL_REASON_PASSWORD_AUTHENTICATION": 2, |
| "ONU_ACTIVATION_FAIL_REASON_LOS": 3, |
| "ONU_ACTIVATION_FAIL_ONU_ALARM": 4, |
| "ONU_ACTIVATION_FAIL_SWITCH_OVER": 5, |
| } |
| |
| func (x OnuIndication_ActivationFailReason) String() string { |
| return proto.EnumName(OnuIndication_ActivationFailReason_name, int32(x)) |
| } |
| |
| func (OnuIndication_ActivationFailReason) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{5, 0} |
| } |
| |
| type DeviceInfo_DeviceResourceRanges_Pool_PoolType int32 |
| |
| const ( |
| DeviceInfo_DeviceResourceRanges_Pool_ONU_ID DeviceInfo_DeviceResourceRanges_Pool_PoolType = 0 |
| DeviceInfo_DeviceResourceRanges_Pool_ALLOC_ID DeviceInfo_DeviceResourceRanges_Pool_PoolType = 1 |
| DeviceInfo_DeviceResourceRanges_Pool_GEMPORT_ID DeviceInfo_DeviceResourceRanges_Pool_PoolType = 2 |
| DeviceInfo_DeviceResourceRanges_Pool_FLOW_ID DeviceInfo_DeviceResourceRanges_Pool_PoolType = 3 |
| ) |
| |
| var DeviceInfo_DeviceResourceRanges_Pool_PoolType_name = map[int32]string{ |
| 0: "ONU_ID", |
| 1: "ALLOC_ID", |
| 2: "GEMPORT_ID", |
| 3: "FLOW_ID", |
| } |
| |
| var DeviceInfo_DeviceResourceRanges_Pool_PoolType_value = map[string]int32{ |
| "ONU_ID": 0, |
| "ALLOC_ID": 1, |
| "GEMPORT_ID": 2, |
| "FLOW_ID": 3, |
| } |
| |
| func (x DeviceInfo_DeviceResourceRanges_Pool_PoolType) String() string { |
| return proto.EnumName(DeviceInfo_DeviceResourceRanges_Pool_PoolType_name, int32(x)) |
| } |
| |
| func (DeviceInfo_DeviceResourceRanges_Pool_PoolType) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{16, 0, 0, 0} |
| } |
| |
| type DeviceInfo_DeviceResourceRanges_Pool_SharingType int32 |
| |
| const ( |
| DeviceInfo_DeviceResourceRanges_Pool_DEDICATED_PER_INTF DeviceInfo_DeviceResourceRanges_Pool_SharingType = 0 |
| DeviceInfo_DeviceResourceRanges_Pool_SHARED_BY_ALL_INTF_ALL_TECH DeviceInfo_DeviceResourceRanges_Pool_SharingType = 1 |
| DeviceInfo_DeviceResourceRanges_Pool_SHARED_BY_ALL_INTF_SAME_TECH DeviceInfo_DeviceResourceRanges_Pool_SharingType = 2 |
| ) |
| |
| var DeviceInfo_DeviceResourceRanges_Pool_SharingType_name = map[int32]string{ |
| 0: "DEDICATED_PER_INTF", |
| 1: "SHARED_BY_ALL_INTF_ALL_TECH", |
| 2: "SHARED_BY_ALL_INTF_SAME_TECH", |
| } |
| |
| var DeviceInfo_DeviceResourceRanges_Pool_SharingType_value = map[string]int32{ |
| "DEDICATED_PER_INTF": 0, |
| "SHARED_BY_ALL_INTF_ALL_TECH": 1, |
| "SHARED_BY_ALL_INTF_SAME_TECH": 2, |
| } |
| |
| func (x DeviceInfo_DeviceResourceRanges_Pool_SharingType) String() string { |
| return proto.EnumName(DeviceInfo_DeviceResourceRanges_Pool_SharingType_name, int32(x)) |
| } |
| |
| func (DeviceInfo_DeviceResourceRanges_Pool_SharingType) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{16, 0, 0, 1} |
| } |
| |
| type GroupMember_InterfaceType int32 |
| |
| const ( |
| GroupMember_PON GroupMember_InterfaceType = 0 |
| GroupMember_EPON_1G_PATH GroupMember_InterfaceType = 1 |
| GroupMember_EPON_10G_PATH GroupMember_InterfaceType = 2 |
| ) |
| |
| var GroupMember_InterfaceType_name = map[int32]string{ |
| 0: "PON", |
| 1: "EPON_1G_PATH", |
| 2: "EPON_10G_PATH", |
| } |
| |
| var GroupMember_InterfaceType_value = map[string]int32{ |
| "PON": 0, |
| "EPON_1G_PATH": 1, |
| "EPON_10G_PATH": 2, |
| } |
| |
| func (x GroupMember_InterfaceType) String() string { |
| return proto.EnumName(GroupMember_InterfaceType_name, int32(x)) |
| } |
| |
| func (GroupMember_InterfaceType) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{46, 0} |
| } |
| |
| type Group_GroupMembersCommand int32 |
| |
| const ( |
| Group_ADD_MEMBERS Group_GroupMembersCommand = 0 |
| Group_REMOVE_MEMBERS Group_GroupMembersCommand = 1 |
| Group_SET_MEMBERS Group_GroupMembersCommand = 2 |
| ) |
| |
| var Group_GroupMembersCommand_name = map[int32]string{ |
| 0: "ADD_MEMBERS", |
| 1: "REMOVE_MEMBERS", |
| 2: "SET_MEMBERS", |
| } |
| |
| var Group_GroupMembersCommand_value = map[string]int32{ |
| "ADD_MEMBERS": 0, |
| "REMOVE_MEMBERS": 1, |
| "SET_MEMBERS": 2, |
| } |
| |
| func (x Group_GroupMembersCommand) String() string { |
| return proto.EnumName(Group_GroupMembersCommand_name, int32(x)) |
| } |
| |
| func (Group_GroupMembersCommand) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{47, 0} |
| } |
| |
| type Indication struct { |
| // Types that are valid to be assigned to Data: |
| // *Indication_OltInd |
| // *Indication_IntfInd |
| // *Indication_IntfOperInd |
| // *Indication_OnuDiscInd |
| // *Indication_OnuInd |
| // *Indication_OmciInd |
| // *Indication_PktInd |
| // *Indication_PortStats |
| // *Indication_FlowStats |
| // *Indication_AlarmInd |
| Data isIndication_Data `protobuf_oneof:"data"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Indication) Reset() { *m = Indication{} } |
| func (m *Indication) String() string { return proto.CompactTextString(m) } |
| func (*Indication) ProtoMessage() {} |
| func (*Indication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{0} |
| } |
| |
| func (m *Indication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Indication.Unmarshal(m, b) |
| } |
| func (m *Indication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Indication.Marshal(b, m, deterministic) |
| } |
| func (m *Indication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Indication.Merge(m, src) |
| } |
| func (m *Indication) XXX_Size() int { |
| return xxx_messageInfo_Indication.Size(m) |
| } |
| func (m *Indication) XXX_DiscardUnknown() { |
| xxx_messageInfo_Indication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Indication proto.InternalMessageInfo |
| |
| type isIndication_Data interface { |
| isIndication_Data() |
| } |
| |
| type Indication_OltInd struct { |
| OltInd *OltIndication `protobuf:"bytes,1,opt,name=olt_ind,json=oltInd,proto3,oneof"` |
| } |
| |
| type Indication_IntfInd struct { |
| IntfInd *IntfIndication `protobuf:"bytes,2,opt,name=intf_ind,json=intfInd,proto3,oneof"` |
| } |
| |
| type Indication_IntfOperInd struct { |
| IntfOperInd *IntfOperIndication `protobuf:"bytes,3,opt,name=intf_oper_ind,json=intfOperInd,proto3,oneof"` |
| } |
| |
| type Indication_OnuDiscInd struct { |
| OnuDiscInd *OnuDiscIndication `protobuf:"bytes,4,opt,name=onu_disc_ind,json=onuDiscInd,proto3,oneof"` |
| } |
| |
| type Indication_OnuInd struct { |
| OnuInd *OnuIndication `protobuf:"bytes,5,opt,name=onu_ind,json=onuInd,proto3,oneof"` |
| } |
| |
| type Indication_OmciInd struct { |
| OmciInd *OmciIndication `protobuf:"bytes,6,opt,name=omci_ind,json=omciInd,proto3,oneof"` |
| } |
| |
| type Indication_PktInd struct { |
| PktInd *PacketIndication `protobuf:"bytes,7,opt,name=pkt_ind,json=pktInd,proto3,oneof"` |
| } |
| |
| type Indication_PortStats struct { |
| PortStats *PortStatistics `protobuf:"bytes,8,opt,name=port_stats,json=portStats,proto3,oneof"` |
| } |
| |
| type Indication_FlowStats struct { |
| FlowStats *FlowStatistics `protobuf:"bytes,9,opt,name=flow_stats,json=flowStats,proto3,oneof"` |
| } |
| |
| type Indication_AlarmInd struct { |
| AlarmInd *AlarmIndication `protobuf:"bytes,10,opt,name=alarm_ind,json=alarmInd,proto3,oneof"` |
| } |
| |
| func (*Indication_OltInd) isIndication_Data() {} |
| |
| func (*Indication_IntfInd) isIndication_Data() {} |
| |
| func (*Indication_IntfOperInd) isIndication_Data() {} |
| |
| func (*Indication_OnuDiscInd) isIndication_Data() {} |
| |
| func (*Indication_OnuInd) isIndication_Data() {} |
| |
| func (*Indication_OmciInd) isIndication_Data() {} |
| |
| func (*Indication_PktInd) isIndication_Data() {} |
| |
| func (*Indication_PortStats) isIndication_Data() {} |
| |
| func (*Indication_FlowStats) isIndication_Data() {} |
| |
| func (*Indication_AlarmInd) isIndication_Data() {} |
| |
| func (m *Indication) GetData() isIndication_Data { |
| if m != nil { |
| return m.Data |
| } |
| return nil |
| } |
| |
| func (m *Indication) GetOltInd() *OltIndication { |
| if x, ok := m.GetData().(*Indication_OltInd); ok { |
| return x.OltInd |
| } |
| return nil |
| } |
| |
| func (m *Indication) GetIntfInd() *IntfIndication { |
| if x, ok := m.GetData().(*Indication_IntfInd); ok { |
| return x.IntfInd |
| } |
| return nil |
| } |
| |
| func (m *Indication) GetIntfOperInd() *IntfOperIndication { |
| if x, ok := m.GetData().(*Indication_IntfOperInd); ok { |
| return x.IntfOperInd |
| } |
| return nil |
| } |
| |
| func (m *Indication) GetOnuDiscInd() *OnuDiscIndication { |
| if x, ok := m.GetData().(*Indication_OnuDiscInd); ok { |
| return x.OnuDiscInd |
| } |
| return nil |
| } |
| |
| func (m *Indication) GetOnuInd() *OnuIndication { |
| if x, ok := m.GetData().(*Indication_OnuInd); ok { |
| return x.OnuInd |
| } |
| return nil |
| } |
| |
| func (m *Indication) GetOmciInd() *OmciIndication { |
| if x, ok := m.GetData().(*Indication_OmciInd); ok { |
| return x.OmciInd |
| } |
| return nil |
| } |
| |
| func (m *Indication) GetPktInd() *PacketIndication { |
| if x, ok := m.GetData().(*Indication_PktInd); ok { |
| return x.PktInd |
| } |
| return nil |
| } |
| |
| func (m *Indication) GetPortStats() *PortStatistics { |
| if x, ok := m.GetData().(*Indication_PortStats); ok { |
| return x.PortStats |
| } |
| return nil |
| } |
| |
| func (m *Indication) GetFlowStats() *FlowStatistics { |
| if x, ok := m.GetData().(*Indication_FlowStats); ok { |
| return x.FlowStats |
| } |
| return nil |
| } |
| |
| func (m *Indication) GetAlarmInd() *AlarmIndication { |
| if x, ok := m.GetData().(*Indication_AlarmInd); ok { |
| return x.AlarmInd |
| } |
| return nil |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*Indication) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*Indication_OltInd)(nil), |
| (*Indication_IntfInd)(nil), |
| (*Indication_IntfOperInd)(nil), |
| (*Indication_OnuDiscInd)(nil), |
| (*Indication_OnuInd)(nil), |
| (*Indication_OmciInd)(nil), |
| (*Indication_PktInd)(nil), |
| (*Indication_PortStats)(nil), |
| (*Indication_FlowStats)(nil), |
| (*Indication_AlarmInd)(nil), |
| } |
| } |
| |
| type AlarmIndication struct { |
| // Types that are valid to be assigned to Data: |
| // *AlarmIndication_LosInd |
| // *AlarmIndication_DyingGaspInd |
| // *AlarmIndication_OnuAlarmInd |
| // *AlarmIndication_OnuStartupFailInd |
| // *AlarmIndication_OnuSignalDegradeInd |
| // *AlarmIndication_OnuDriftOfWindowInd |
| // *AlarmIndication_OnuLossOmciInd |
| // *AlarmIndication_OnuSignalsFailInd |
| // *AlarmIndication_OnuTiwiInd |
| // *AlarmIndication_OnuActivationFailInd |
| // *AlarmIndication_OnuProcessingErrorInd |
| // *AlarmIndication_OnuLossOfSyncFailInd |
| // *AlarmIndication_OnuItuPonStatsInd |
| // *AlarmIndication_OnuDeactivationFailureInd |
| // *AlarmIndication_OnuRemoteDefectInd |
| // *AlarmIndication_OnuLossGemDelineationInd |
| // *AlarmIndication_OnuPhysicalEquipmentErrorInd |
| // *AlarmIndication_OnuLossOfAckInd |
| // *AlarmIndication_OnuDiffReachExceededInd |
| Data isAlarmIndication_Data `protobuf_oneof:"data"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *AlarmIndication) Reset() { *m = AlarmIndication{} } |
| func (m *AlarmIndication) String() string { return proto.CompactTextString(m) } |
| func (*AlarmIndication) ProtoMessage() {} |
| func (*AlarmIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{1} |
| } |
| |
| func (m *AlarmIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_AlarmIndication.Unmarshal(m, b) |
| } |
| func (m *AlarmIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_AlarmIndication.Marshal(b, m, deterministic) |
| } |
| func (m *AlarmIndication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_AlarmIndication.Merge(m, src) |
| } |
| func (m *AlarmIndication) XXX_Size() int { |
| return xxx_messageInfo_AlarmIndication.Size(m) |
| } |
| func (m *AlarmIndication) XXX_DiscardUnknown() { |
| xxx_messageInfo_AlarmIndication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_AlarmIndication proto.InternalMessageInfo |
| |
| type isAlarmIndication_Data interface { |
| isAlarmIndication_Data() |
| } |
| |
| type AlarmIndication_LosInd struct { |
| LosInd *LosIndication `protobuf:"bytes,1,opt,name=los_ind,json=losInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_DyingGaspInd struct { |
| DyingGaspInd *DyingGaspIndication `protobuf:"bytes,2,opt,name=dying_gasp_ind,json=dyingGaspInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuAlarmInd struct { |
| OnuAlarmInd *OnuAlarmIndication `protobuf:"bytes,3,opt,name=onu_alarm_ind,json=onuAlarmInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuStartupFailInd struct { |
| OnuStartupFailInd *OnuStartupFailureIndication `protobuf:"bytes,4,opt,name=onu_startup_fail_ind,json=onuStartupFailInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuSignalDegradeInd struct { |
| OnuSignalDegradeInd *OnuSignalDegradeIndication `protobuf:"bytes,5,opt,name=onu_signal_degrade_ind,json=onuSignalDegradeInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuDriftOfWindowInd struct { |
| OnuDriftOfWindowInd *OnuDriftOfWindowIndication `protobuf:"bytes,6,opt,name=onu_drift_of_window_ind,json=onuDriftOfWindowInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuLossOmciInd struct { |
| OnuLossOmciInd *OnuLossOfOmciChannelIndication `protobuf:"bytes,7,opt,name=onu_loss_omci_ind,json=onuLossOmciInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuSignalsFailInd struct { |
| OnuSignalsFailInd *OnuSignalsFailureIndication `protobuf:"bytes,8,opt,name=onu_signals_fail_ind,json=onuSignalsFailInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuTiwiInd struct { |
| OnuTiwiInd *OnuTransmissionInterferenceWarning `protobuf:"bytes,9,opt,name=onu_tiwi_ind,json=onuTiwiInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuActivationFailInd struct { |
| OnuActivationFailInd *OnuActivationFailureIndication `protobuf:"bytes,10,opt,name=onu_activation_fail_ind,json=onuActivationFailInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuProcessingErrorInd struct { |
| OnuProcessingErrorInd *OnuProcessingErrorIndication `protobuf:"bytes,11,opt,name=onu_processing_error_ind,json=onuProcessingErrorInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuLossOfSyncFailInd struct { |
| OnuLossOfSyncFailInd *OnuLossOfKeySyncFailureIndication `protobuf:"bytes,12,opt,name=onu_loss_of_sync_fail_ind,json=onuLossOfSyncFailInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuItuPonStatsInd struct { |
| OnuItuPonStatsInd *OnuItuPonStatsIndication `protobuf:"bytes,13,opt,name=onu_itu_pon_stats_ind,json=onuItuPonStatsInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuDeactivationFailureInd struct { |
| OnuDeactivationFailureInd *OnuDeactivationFailureIndication `protobuf:"bytes,14,opt,name=onu_deactivation_failure_ind,json=onuDeactivationFailureInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuRemoteDefectInd struct { |
| OnuRemoteDefectInd *OnuRemoteDefectIndication `protobuf:"bytes,15,opt,name=onu_remote_defect_ind,json=onuRemoteDefectInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuLossGemDelineationInd struct { |
| OnuLossGemDelineationInd *OnuLossOfGEMChannelDelineationIndication `protobuf:"bytes,16,opt,name=onu_loss_gem_delineation_ind,json=onuLossGemDelineationInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuPhysicalEquipmentErrorInd struct { |
| OnuPhysicalEquipmentErrorInd *OnuPhysicalEquipmentErrorIndication `protobuf:"bytes,17,opt,name=onu_physical_equipment_error_ind,json=onuPhysicalEquipmentErrorInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuLossOfAckInd struct { |
| OnuLossOfAckInd *OnuLossOfAcknowledgementIndication `protobuf:"bytes,18,opt,name=onu_loss_of_ack_ind,json=onuLossOfAckInd,proto3,oneof"` |
| } |
| |
| type AlarmIndication_OnuDiffReachExceededInd struct { |
| OnuDiffReachExceededInd *OnuDifferentialReachExceededIndication `protobuf:"bytes,19,opt,name=onu_diff_reach_exceeded_ind,json=onuDiffReachExceededInd,proto3,oneof"` |
| } |
| |
| func (*AlarmIndication_LosInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_DyingGaspInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuAlarmInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuStartupFailInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuSignalDegradeInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuDriftOfWindowInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuLossOmciInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuSignalsFailInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuTiwiInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuActivationFailInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuProcessingErrorInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuLossOfSyncFailInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuItuPonStatsInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuDeactivationFailureInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuRemoteDefectInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuLossGemDelineationInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuPhysicalEquipmentErrorInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuLossOfAckInd) isAlarmIndication_Data() {} |
| |
| func (*AlarmIndication_OnuDiffReachExceededInd) isAlarmIndication_Data() {} |
| |
| func (m *AlarmIndication) GetData() isAlarmIndication_Data { |
| if m != nil { |
| return m.Data |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetLosInd() *LosIndication { |
| if x, ok := m.GetData().(*AlarmIndication_LosInd); ok { |
| return x.LosInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetDyingGaspInd() *DyingGaspIndication { |
| if x, ok := m.GetData().(*AlarmIndication_DyingGaspInd); ok { |
| return x.DyingGaspInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuAlarmInd() *OnuAlarmIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuAlarmInd); ok { |
| return x.OnuAlarmInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuStartupFailInd() *OnuStartupFailureIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuStartupFailInd); ok { |
| return x.OnuStartupFailInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuSignalDegradeInd() *OnuSignalDegradeIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuSignalDegradeInd); ok { |
| return x.OnuSignalDegradeInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuDriftOfWindowInd() *OnuDriftOfWindowIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuDriftOfWindowInd); ok { |
| return x.OnuDriftOfWindowInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuLossOmciInd() *OnuLossOfOmciChannelIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuLossOmciInd); ok { |
| return x.OnuLossOmciInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuSignalsFailInd() *OnuSignalsFailureIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuSignalsFailInd); ok { |
| return x.OnuSignalsFailInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuTiwiInd() *OnuTransmissionInterferenceWarning { |
| if x, ok := m.GetData().(*AlarmIndication_OnuTiwiInd); ok { |
| return x.OnuTiwiInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuActivationFailInd() *OnuActivationFailureIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuActivationFailInd); ok { |
| return x.OnuActivationFailInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuProcessingErrorInd() *OnuProcessingErrorIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuProcessingErrorInd); ok { |
| return x.OnuProcessingErrorInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuLossOfSyncFailInd() *OnuLossOfKeySyncFailureIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuLossOfSyncFailInd); ok { |
| return x.OnuLossOfSyncFailInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuItuPonStatsInd() *OnuItuPonStatsIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuItuPonStatsInd); ok { |
| return x.OnuItuPonStatsInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuDeactivationFailureInd() *OnuDeactivationFailureIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuDeactivationFailureInd); ok { |
| return x.OnuDeactivationFailureInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuRemoteDefectInd() *OnuRemoteDefectIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuRemoteDefectInd); ok { |
| return x.OnuRemoteDefectInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuLossGemDelineationInd() *OnuLossOfGEMChannelDelineationIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuLossGemDelineationInd); ok { |
| return x.OnuLossGemDelineationInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuPhysicalEquipmentErrorInd() *OnuPhysicalEquipmentErrorIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuPhysicalEquipmentErrorInd); ok { |
| return x.OnuPhysicalEquipmentErrorInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuLossOfAckInd() *OnuLossOfAcknowledgementIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuLossOfAckInd); ok { |
| return x.OnuLossOfAckInd |
| } |
| return nil |
| } |
| |
| func (m *AlarmIndication) GetOnuDiffReachExceededInd() *OnuDifferentialReachExceededIndication { |
| if x, ok := m.GetData().(*AlarmIndication_OnuDiffReachExceededInd); ok { |
| return x.OnuDiffReachExceededInd |
| } |
| return nil |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*AlarmIndication) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*AlarmIndication_LosInd)(nil), |
| (*AlarmIndication_DyingGaspInd)(nil), |
| (*AlarmIndication_OnuAlarmInd)(nil), |
| (*AlarmIndication_OnuStartupFailInd)(nil), |
| (*AlarmIndication_OnuSignalDegradeInd)(nil), |
| (*AlarmIndication_OnuDriftOfWindowInd)(nil), |
| (*AlarmIndication_OnuLossOmciInd)(nil), |
| (*AlarmIndication_OnuSignalsFailInd)(nil), |
| (*AlarmIndication_OnuTiwiInd)(nil), |
| (*AlarmIndication_OnuActivationFailInd)(nil), |
| (*AlarmIndication_OnuProcessingErrorInd)(nil), |
| (*AlarmIndication_OnuLossOfSyncFailInd)(nil), |
| (*AlarmIndication_OnuItuPonStatsInd)(nil), |
| (*AlarmIndication_OnuDeactivationFailureInd)(nil), |
| (*AlarmIndication_OnuRemoteDefectInd)(nil), |
| (*AlarmIndication_OnuLossGemDelineationInd)(nil), |
| (*AlarmIndication_OnuPhysicalEquipmentErrorInd)(nil), |
| (*AlarmIndication_OnuLossOfAckInd)(nil), |
| (*AlarmIndication_OnuDiffReachExceededInd)(nil), |
| } |
| } |
| |
| type OltIndication struct { |
| OperState string `protobuf:"bytes,1,opt,name=oper_state,json=operState,proto3" json:"oper_state,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OltIndication) Reset() { *m = OltIndication{} } |
| func (m *OltIndication) String() string { return proto.CompactTextString(m) } |
| func (*OltIndication) ProtoMessage() {} |
| func (*OltIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{2} |
| } |
| |
| func (m *OltIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OltIndication.Unmarshal(m, b) |
| } |
| func (m *OltIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OltIndication.Marshal(b, m, deterministic) |
| } |
| func (m *OltIndication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_OltIndication.Merge(m, src) |
| } |
| func (m *OltIndication) XXX_Size() int { |
| return xxx_messageInfo_OltIndication.Size(m) |
| } |
| func (m *OltIndication) XXX_DiscardUnknown() { |
| xxx_messageInfo_OltIndication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_OltIndication proto.InternalMessageInfo |
| |
| func (m *OltIndication) GetOperState() string { |
| if m != nil { |
| return m.OperState |
| } |
| return "" |
| } |
| |
| type IntfIndication struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OperState string `protobuf:"bytes,2,opt,name=oper_state,json=operState,proto3" json:"oper_state,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *IntfIndication) Reset() { *m = IntfIndication{} } |
| func (m *IntfIndication) String() string { return proto.CompactTextString(m) } |
| func (*IntfIndication) ProtoMessage() {} |
| func (*IntfIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{3} |
| } |
| |
| func (m *IntfIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_IntfIndication.Unmarshal(m, b) |
| } |
| func (m *IntfIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_IntfIndication.Marshal(b, m, deterministic) |
| } |
| func (m *IntfIndication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_IntfIndication.Merge(m, src) |
| } |
| func (m *IntfIndication) XXX_Size() int { |
| return xxx_messageInfo_IntfIndication.Size(m) |
| } |
| func (m *IntfIndication) XXX_DiscardUnknown() { |
| xxx_messageInfo_IntfIndication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_IntfIndication proto.InternalMessageInfo |
| |
| func (m *IntfIndication) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *IntfIndication) GetOperState() string { |
| if m != nil { |
| return m.OperState |
| } |
| return "" |
| } |
| |
| type OnuDiscIndication struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| SerialNumber *SerialNumber `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OnuDiscIndication) Reset() { *m = OnuDiscIndication{} } |
| func (m *OnuDiscIndication) String() string { return proto.CompactTextString(m) } |
| func (*OnuDiscIndication) ProtoMessage() {} |
| func (*OnuDiscIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{4} |
| } |
| |
| func (m *OnuDiscIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OnuDiscIndication.Unmarshal(m, b) |
| } |
| func (m *OnuDiscIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OnuDiscIndication.Marshal(b, m, deterministic) |
| } |
| func (m *OnuDiscIndication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_OnuDiscIndication.Merge(m, src) |
| } |
| func (m *OnuDiscIndication) XXX_Size() int { |
| return xxx_messageInfo_OnuDiscIndication.Size(m) |
| } |
| func (m *OnuDiscIndication) XXX_DiscardUnknown() { |
| xxx_messageInfo_OnuDiscIndication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_OnuDiscIndication proto.InternalMessageInfo |
| |
| func (m *OnuDiscIndication) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *OnuDiscIndication) GetSerialNumber() *SerialNumber { |
| if m != nil { |
| return m.SerialNumber |
| } |
| return nil |
| } |
| |
| type OnuIndication struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| OperState string `protobuf:"bytes,3,opt,name=oper_state,json=operState,proto3" json:"oper_state,omitempty"` |
| AdminState string `protobuf:"bytes,5,opt,name=admin_state,json=adminState,proto3" json:"admin_state,omitempty"` |
| SerialNumber *SerialNumber `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` |
| FailReason OnuIndication_ActivationFailReason `protobuf:"varint,6,opt,name=fail_reason,json=failReason,proto3,enum=openolt.OnuIndication_ActivationFailReason" json:"fail_reason,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OnuIndication) Reset() { *m = OnuIndication{} } |
| func (m *OnuIndication) String() string { return proto.CompactTextString(m) } |
| func (*OnuIndication) ProtoMessage() {} |
| func (*OnuIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{5} |
| } |
| |
| func (m *OnuIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OnuIndication.Unmarshal(m, b) |
| } |
| func (m *OnuIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OnuIndication.Marshal(b, m, deterministic) |
| } |
| func (m *OnuIndication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_OnuIndication.Merge(m, src) |
| } |
| func (m *OnuIndication) XXX_Size() int { |
| return xxx_messageInfo_OnuIndication.Size(m) |
| } |
| func (m *OnuIndication) XXX_DiscardUnknown() { |
| xxx_messageInfo_OnuIndication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_OnuIndication proto.InternalMessageInfo |
| |
| func (m *OnuIndication) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *OnuIndication) GetOnuId() uint32 { |
| if m != nil { |
| return m.OnuId |
| } |
| return 0 |
| } |
| |
| func (m *OnuIndication) GetOperState() string { |
| if m != nil { |
| return m.OperState |
| } |
| return "" |
| } |
| |
| func (m *OnuIndication) GetAdminState() string { |
| if m != nil { |
| return m.AdminState |
| } |
| return "" |
| } |
| |
| func (m *OnuIndication) GetSerialNumber() *SerialNumber { |
| if m != nil { |
| return m.SerialNumber |
| } |
| return nil |
| } |
| |
| func (m *OnuIndication) GetFailReason() OnuIndication_ActivationFailReason { |
| if m != nil { |
| return m.FailReason |
| } |
| return OnuIndication_ONU_ACTIVATION_FAIL_REASON_NONE |
| } |
| |
| type IntfOperIndication struct { |
| Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` |
| IntfId uint32 `protobuf:"fixed32,2,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OperState string `protobuf:"bytes,3,opt,name=oper_state,json=operState,proto3" json:"oper_state,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *IntfOperIndication) Reset() { *m = IntfOperIndication{} } |
| func (m *IntfOperIndication) String() string { return proto.CompactTextString(m) } |
| func (*IntfOperIndication) ProtoMessage() {} |
| func (*IntfOperIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{6} |
| } |
| |
| func (m *IntfOperIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_IntfOperIndication.Unmarshal(m, b) |
| } |
| func (m *IntfOperIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_IntfOperIndication.Marshal(b, m, deterministic) |
| } |
| func (m *IntfOperIndication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_IntfOperIndication.Merge(m, src) |
| } |
| func (m *IntfOperIndication) XXX_Size() int { |
| return xxx_messageInfo_IntfOperIndication.Size(m) |
| } |
| func (m *IntfOperIndication) XXX_DiscardUnknown() { |
| xxx_messageInfo_IntfOperIndication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_IntfOperIndication proto.InternalMessageInfo |
| |
| func (m *IntfOperIndication) GetType() string { |
| if m != nil { |
| return m.Type |
| } |
| return "" |
| } |
| |
| func (m *IntfOperIndication) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *IntfOperIndication) GetOperState() string { |
| if m != nil { |
| return m.OperState |
| } |
| return "" |
| } |
| |
| type OmciIndication struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| Pkt []byte `protobuf:"bytes,3,opt,name=pkt,proto3" json:"pkt,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OmciIndication) Reset() { *m = OmciIndication{} } |
| func (m *OmciIndication) String() string { return proto.CompactTextString(m) } |
| func (*OmciIndication) ProtoMessage() {} |
| func (*OmciIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{7} |
| } |
| |
| func (m *OmciIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OmciIndication.Unmarshal(m, b) |
| } |
| func (m *OmciIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OmciIndication.Marshal(b, m, deterministic) |
| } |
| func (m *OmciIndication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_OmciIndication.Merge(m, src) |
| } |
| func (m *OmciIndication) XXX_Size() int { |
| return xxx_messageInfo_OmciIndication.Size(m) |
| } |
| func (m *OmciIndication) XXX_DiscardUnknown() { |
| xxx_messageInfo_OmciIndication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_OmciIndication proto.InternalMessageInfo |
| |
| func (m *OmciIndication) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *OmciIndication) GetOnuId() uint32 { |
| if m != nil { |
| return m.OnuId |
| } |
| return 0 |
| } |
| |
| func (m *OmciIndication) GetPkt() []byte { |
| if m != nil { |
| return m.Pkt |
| } |
| return nil |
| } |
| |
| type PacketIndication struct { |
| IntfType string `protobuf:"bytes,5,opt,name=intf_type,json=intfType,proto3" json:"intf_type,omitempty"` |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| GemportId uint32 `protobuf:"fixed32,2,opt,name=gemport_id,json=gemportId,proto3" json:"gemport_id,omitempty"` |
| FlowId uint32 `protobuf:"fixed32,3,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"` |
| PortNo uint32 `protobuf:"fixed32,6,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"` |
| Cookie uint64 `protobuf:"fixed64,7,opt,name=cookie,proto3" json:"cookie,omitempty"` |
| Pkt []byte `protobuf:"bytes,4,opt,name=pkt,proto3" json:"pkt,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PacketIndication) Reset() { *m = PacketIndication{} } |
| func (m *PacketIndication) String() string { return proto.CompactTextString(m) } |
| func (*PacketIndication) ProtoMessage() {} |
| func (*PacketIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{8} |
| } |
| |
| func (m *PacketIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PacketIndication.Unmarshal(m, b) |
| } |
| func (m *PacketIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PacketIndication.Marshal(b, m, deterministic) |
| } |
| func (m *PacketIndication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PacketIndication.Merge(m, src) |
| } |
| func (m *PacketIndication) XXX_Size() int { |
| return xxx_messageInfo_PacketIndication.Size(m) |
| } |
| func (m *PacketIndication) XXX_DiscardUnknown() { |
| xxx_messageInfo_PacketIndication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PacketIndication proto.InternalMessageInfo |
| |
| func (m *PacketIndication) GetIntfType() string { |
| if m != nil { |
| return m.IntfType |
| } |
| return "" |
| } |
| |
| func (m *PacketIndication) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *PacketIndication) GetGemportId() uint32 { |
| if m != nil { |
| return m.GemportId |
| } |
| return 0 |
| } |
| |
| func (m *PacketIndication) GetFlowId() uint32 { |
| if m != nil { |
| return m.FlowId |
| } |
| return 0 |
| } |
| |
| func (m *PacketIndication) GetPortNo() uint32 { |
| if m != nil { |
| return m.PortNo |
| } |
| return 0 |
| } |
| |
| func (m *PacketIndication) GetCookie() uint64 { |
| if m != nil { |
| return m.Cookie |
| } |
| return 0 |
| } |
| |
| func (m *PacketIndication) GetPkt() []byte { |
| if m != nil { |
| return m.Pkt |
| } |
| return nil |
| } |
| |
| type Interface struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Interface) Reset() { *m = Interface{} } |
| func (m *Interface) String() string { return proto.CompactTextString(m) } |
| func (*Interface) ProtoMessage() {} |
| func (*Interface) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{9} |
| } |
| |
| func (m *Interface) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Interface.Unmarshal(m, b) |
| } |
| func (m *Interface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Interface.Marshal(b, m, deterministic) |
| } |
| func (m *Interface) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Interface.Merge(m, src) |
| } |
| func (m *Interface) XXX_Size() int { |
| return xxx_messageInfo_Interface.Size(m) |
| } |
| func (m *Interface) XXX_DiscardUnknown() { |
| xxx_messageInfo_Interface.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Interface proto.InternalMessageInfo |
| |
| func (m *Interface) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| type Heartbeat struct { |
| HeartbeatSignature uint32 `protobuf:"fixed32,1,opt,name=heartbeat_signature,json=heartbeatSignature,proto3" json:"heartbeat_signature,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Heartbeat) Reset() { *m = Heartbeat{} } |
| func (m *Heartbeat) String() string { return proto.CompactTextString(m) } |
| func (*Heartbeat) ProtoMessage() {} |
| func (*Heartbeat) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{10} |
| } |
| |
| func (m *Heartbeat) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Heartbeat.Unmarshal(m, b) |
| } |
| func (m *Heartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Heartbeat.Marshal(b, m, deterministic) |
| } |
| func (m *Heartbeat) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Heartbeat.Merge(m, src) |
| } |
| func (m *Heartbeat) XXX_Size() int { |
| return xxx_messageInfo_Heartbeat.Size(m) |
| } |
| func (m *Heartbeat) XXX_DiscardUnknown() { |
| xxx_messageInfo_Heartbeat.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Heartbeat proto.InternalMessageInfo |
| |
| func (m *Heartbeat) GetHeartbeatSignature() uint32 { |
| if m != nil { |
| return m.HeartbeatSignature |
| } |
| return 0 |
| } |
| |
| type Onu struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| SerialNumber *SerialNumber `protobuf:"bytes,3,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` |
| Pir uint32 `protobuf:"fixed32,4,opt,name=pir,proto3" json:"pir,omitempty"` |
| OmccEncryption bool `protobuf:"varint,5,opt,name=omcc_encryption,json=omccEncryption,proto3" json:"omcc_encryption,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Onu) Reset() { *m = Onu{} } |
| func (m *Onu) String() string { return proto.CompactTextString(m) } |
| func (*Onu) ProtoMessage() {} |
| func (*Onu) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{11} |
| } |
| |
| func (m *Onu) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Onu.Unmarshal(m, b) |
| } |
| func (m *Onu) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Onu.Marshal(b, m, deterministic) |
| } |
| func (m *Onu) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Onu.Merge(m, src) |
| } |
| func (m *Onu) XXX_Size() int { |
| return xxx_messageInfo_Onu.Size(m) |
| } |
| func (m *Onu) XXX_DiscardUnknown() { |
| xxx_messageInfo_Onu.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Onu proto.InternalMessageInfo |
| |
| func (m *Onu) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *Onu) GetOnuId() uint32 { |
| if m != nil { |
| return m.OnuId |
| } |
| return 0 |
| } |
| |
| func (m *Onu) GetSerialNumber() *SerialNumber { |
| if m != nil { |
| return m.SerialNumber |
| } |
| return nil |
| } |
| |
| func (m *Onu) GetPir() uint32 { |
| if m != nil { |
| return m.Pir |
| } |
| return 0 |
| } |
| |
| func (m *Onu) GetOmccEncryption() bool { |
| if m != nil { |
| return m.OmccEncryption |
| } |
| return false |
| } |
| |
| type OnuLogicalDistance struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| LogicalOnuDistanceZero uint32 `protobuf:"fixed32,3,opt,name=logical_onu_distance_zero,json=logicalOnuDistanceZero,proto3" json:"logical_onu_distance_zero,omitempty"` |
| LogicalOnuDistance uint32 `protobuf:"fixed32,4,opt,name=logical_onu_distance,json=logicalOnuDistance,proto3" json:"logical_onu_distance,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OnuLogicalDistance) Reset() { *m = OnuLogicalDistance{} } |
| func (m *OnuLogicalDistance) String() string { return proto.CompactTextString(m) } |
| func (*OnuLogicalDistance) ProtoMessage() {} |
| func (*OnuLogicalDistance) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{12} |
| } |
| |
| func (m *OnuLogicalDistance) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OnuLogicalDistance.Unmarshal(m, b) |
| } |
| func (m *OnuLogicalDistance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OnuLogicalDistance.Marshal(b, m, deterministic) |
| } |
| func (m *OnuLogicalDistance) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_OnuLogicalDistance.Merge(m, src) |
| } |
| func (m *OnuLogicalDistance) XXX_Size() int { |
| return xxx_messageInfo_OnuLogicalDistance.Size(m) |
| } |
| func (m *OnuLogicalDistance) XXX_DiscardUnknown() { |
| xxx_messageInfo_OnuLogicalDistance.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_OnuLogicalDistance proto.InternalMessageInfo |
| |
| func (m *OnuLogicalDistance) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *OnuLogicalDistance) GetOnuId() uint32 { |
| if m != nil { |
| return m.OnuId |
| } |
| return 0 |
| } |
| |
| func (m *OnuLogicalDistance) GetLogicalOnuDistanceZero() uint32 { |
| if m != nil { |
| return m.LogicalOnuDistanceZero |
| } |
| return 0 |
| } |
| |
| func (m *OnuLogicalDistance) GetLogicalOnuDistance() uint32 { |
| if m != nil { |
| return m.LogicalOnuDistance |
| } |
| return 0 |
| } |
| |
| type OmciMsg struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| Pkt []byte `protobuf:"bytes,3,opt,name=pkt,proto3" json:"pkt,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OmciMsg) Reset() { *m = OmciMsg{} } |
| func (m *OmciMsg) String() string { return proto.CompactTextString(m) } |
| func (*OmciMsg) ProtoMessage() {} |
| func (*OmciMsg) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{13} |
| } |
| |
| func (m *OmciMsg) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OmciMsg.Unmarshal(m, b) |
| } |
| func (m *OmciMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OmciMsg.Marshal(b, m, deterministic) |
| } |
| func (m *OmciMsg) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_OmciMsg.Merge(m, src) |
| } |
| func (m *OmciMsg) XXX_Size() int { |
| return xxx_messageInfo_OmciMsg.Size(m) |
| } |
| func (m *OmciMsg) XXX_DiscardUnknown() { |
| xxx_messageInfo_OmciMsg.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_OmciMsg proto.InternalMessageInfo |
| |
| func (m *OmciMsg) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *OmciMsg) GetOnuId() uint32 { |
| if m != nil { |
| return m.OnuId |
| } |
| return 0 |
| } |
| |
| func (m *OmciMsg) GetPkt() []byte { |
| if m != nil { |
| return m.Pkt |
| } |
| return nil |
| } |
| |
| type OnuPacket struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| PortNo uint32 `protobuf:"fixed32,4,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"` |
| GemportId uint32 `protobuf:"fixed32,5,opt,name=gemport_id,json=gemportId,proto3" json:"gemport_id,omitempty"` |
| Pkt []byte `protobuf:"bytes,3,opt,name=pkt,proto3" json:"pkt,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OnuPacket) Reset() { *m = OnuPacket{} } |
| func (m *OnuPacket) String() string { return proto.CompactTextString(m) } |
| func (*OnuPacket) ProtoMessage() {} |
| func (*OnuPacket) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{14} |
| } |
| |
| func (m *OnuPacket) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OnuPacket.Unmarshal(m, b) |
| } |
| func (m *OnuPacket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OnuPacket.Marshal(b, m, deterministic) |
| } |
| func (m *OnuPacket) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_OnuPacket.Merge(m, src) |
| } |
| func (m *OnuPacket) XXX_Size() int { |
| return xxx_messageInfo_OnuPacket.Size(m) |
| } |
| func (m *OnuPacket) XXX_DiscardUnknown() { |
| xxx_messageInfo_OnuPacket.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_OnuPacket proto.InternalMessageInfo |
| |
| func (m *OnuPacket) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *OnuPacket) GetOnuId() uint32 { |
| if m != nil { |
| return m.OnuId |
| } |
| return 0 |
| } |
| |
| func (m *OnuPacket) GetPortNo() uint32 { |
| if m != nil { |
| return m.PortNo |
| } |
| return 0 |
| } |
| |
| func (m *OnuPacket) GetGemportId() uint32 { |
| if m != nil { |
| return m.GemportId |
| } |
| return 0 |
| } |
| |
| func (m *OnuPacket) GetPkt() []byte { |
| if m != nil { |
| return m.Pkt |
| } |
| return nil |
| } |
| |
| type UplinkPacket struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| Pkt []byte `protobuf:"bytes,2,opt,name=pkt,proto3" json:"pkt,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *UplinkPacket) Reset() { *m = UplinkPacket{} } |
| func (m *UplinkPacket) String() string { return proto.CompactTextString(m) } |
| func (*UplinkPacket) ProtoMessage() {} |
| func (*UplinkPacket) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{15} |
| } |
| |
| func (m *UplinkPacket) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_UplinkPacket.Unmarshal(m, b) |
| } |
| func (m *UplinkPacket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_UplinkPacket.Marshal(b, m, deterministic) |
| } |
| func (m *UplinkPacket) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_UplinkPacket.Merge(m, src) |
| } |
| func (m *UplinkPacket) XXX_Size() int { |
| return xxx_messageInfo_UplinkPacket.Size(m) |
| } |
| func (m *UplinkPacket) XXX_DiscardUnknown() { |
| xxx_messageInfo_UplinkPacket.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_UplinkPacket proto.InternalMessageInfo |
| |
| func (m *UplinkPacket) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *UplinkPacket) GetPkt() []byte { |
| if m != nil { |
| return m.Pkt |
| } |
| return nil |
| } |
| |
| type DeviceInfo struct { |
| Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"` |
| Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` |
| HardwareVersion string `protobuf:"bytes,3,opt,name=hardware_version,json=hardwareVersion,proto3" json:"hardware_version,omitempty"` |
| FirmwareVersion string `protobuf:"bytes,4,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"` |
| DeviceId string `protobuf:"bytes,16,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| DeviceSerialNumber string `protobuf:"bytes,17,opt,name=device_serial_number,json=deviceSerialNumber,proto3" json:"device_serial_number,omitempty"` |
| PreviouslyConnected bool `protobuf:"varint,19,opt,name=previously_connected,json=previouslyConnected,proto3" json:"previously_connected,omitempty"` |
| // Total number of pon intf ports on the device |
| PonPorts uint32 `protobuf:"fixed32,12,opt,name=pon_ports,json=ponPorts,proto3" json:"pon_ports,omitempty"` |
| // If using global per-device technology profile. To be deprecated |
| Technology string `protobuf:"bytes,5,opt,name=technology,proto3" json:"technology,omitempty"` |
| OnuIdStart uint32 `protobuf:"fixed32,6,opt,name=onu_id_start,json=onuIdStart,proto3" json:"onu_id_start,omitempty"` |
| OnuIdEnd uint32 `protobuf:"fixed32,7,opt,name=onu_id_end,json=onuIdEnd,proto3" json:"onu_id_end,omitempty"` |
| AllocIdStart uint32 `protobuf:"fixed32,8,opt,name=alloc_id_start,json=allocIdStart,proto3" json:"alloc_id_start,omitempty"` |
| AllocIdEnd uint32 `protobuf:"fixed32,9,opt,name=alloc_id_end,json=allocIdEnd,proto3" json:"alloc_id_end,omitempty"` |
| GemportIdStart uint32 `protobuf:"fixed32,10,opt,name=gemport_id_start,json=gemportIdStart,proto3" json:"gemport_id_start,omitempty"` |
| GemportIdEnd uint32 `protobuf:"fixed32,11,opt,name=gemport_id_end,json=gemportIdEnd,proto3" json:"gemport_id_end,omitempty"` |
| FlowIdStart uint32 `protobuf:"fixed32,13,opt,name=flow_id_start,json=flowIdStart,proto3" json:"flow_id_start,omitempty"` |
| FlowIdEnd uint32 `protobuf:"fixed32,14,opt,name=flow_id_end,json=flowIdEnd,proto3" json:"flow_id_end,omitempty"` |
| Ranges []*DeviceInfo_DeviceResourceRanges `protobuf:"bytes,15,rep,name=ranges,proto3" json:"ranges,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DeviceInfo) Reset() { *m = DeviceInfo{} } |
| func (m *DeviceInfo) String() string { return proto.CompactTextString(m) } |
| func (*DeviceInfo) ProtoMessage() {} |
| func (*DeviceInfo) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{16} |
| } |
| |
| func (m *DeviceInfo) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DeviceInfo.Unmarshal(m, b) |
| } |
| func (m *DeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DeviceInfo.Marshal(b, m, deterministic) |
| } |
| func (m *DeviceInfo) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DeviceInfo.Merge(m, src) |
| } |
| func (m *DeviceInfo) XXX_Size() int { |
| return xxx_messageInfo_DeviceInfo.Size(m) |
| } |
| func (m *DeviceInfo) XXX_DiscardUnknown() { |
| xxx_messageInfo_DeviceInfo.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DeviceInfo proto.InternalMessageInfo |
| |
| func (m *DeviceInfo) GetVendor() string { |
| if m != nil { |
| return m.Vendor |
| } |
| return "" |
| } |
| |
| func (m *DeviceInfo) GetModel() string { |
| if m != nil { |
| return m.Model |
| } |
| return "" |
| } |
| |
| func (m *DeviceInfo) GetHardwareVersion() string { |
| if m != nil { |
| return m.HardwareVersion |
| } |
| return "" |
| } |
| |
| func (m *DeviceInfo) GetFirmwareVersion() string { |
| if m != nil { |
| return m.FirmwareVersion |
| } |
| return "" |
| } |
| |
| func (m *DeviceInfo) GetDeviceId() string { |
| if m != nil { |
| return m.DeviceId |
| } |
| return "" |
| } |
| |
| func (m *DeviceInfo) GetDeviceSerialNumber() string { |
| if m != nil { |
| return m.DeviceSerialNumber |
| } |
| return "" |
| } |
| |
| func (m *DeviceInfo) GetPreviouslyConnected() bool { |
| if m != nil { |
| return m.PreviouslyConnected |
| } |
| return false |
| } |
| |
| func (m *DeviceInfo) GetPonPorts() uint32 { |
| if m != nil { |
| return m.PonPorts |
| } |
| return 0 |
| } |
| |
| func (m *DeviceInfo) GetTechnology() string { |
| if m != nil { |
| return m.Technology |
| } |
| return "" |
| } |
| |
| func (m *DeviceInfo) GetOnuIdStart() uint32 { |
| if m != nil { |
| return m.OnuIdStart |
| } |
| return 0 |
| } |
| |
| func (m *DeviceInfo) GetOnuIdEnd() uint32 { |
| if m != nil { |
| return m.OnuIdEnd |
| } |
| return 0 |
| } |
| |
| func (m *DeviceInfo) GetAllocIdStart() uint32 { |
| if m != nil { |
| return m.AllocIdStart |
| } |
| return 0 |
| } |
| |
| func (m *DeviceInfo) GetAllocIdEnd() uint32 { |
| if m != nil { |
| return m.AllocIdEnd |
| } |
| return 0 |
| } |
| |
| func (m *DeviceInfo) GetGemportIdStart() uint32 { |
| if m != nil { |
| return m.GemportIdStart |
| } |
| return 0 |
| } |
| |
| func (m *DeviceInfo) GetGemportIdEnd() uint32 { |
| if m != nil { |
| return m.GemportIdEnd |
| } |
| return 0 |
| } |
| |
| func (m *DeviceInfo) GetFlowIdStart() uint32 { |
| if m != nil { |
| return m.FlowIdStart |
| } |
| return 0 |
| } |
| |
| func (m *DeviceInfo) GetFlowIdEnd() uint32 { |
| if m != nil { |
| return m.FlowIdEnd |
| } |
| return 0 |
| } |
| |
| func (m *DeviceInfo) GetRanges() []*DeviceInfo_DeviceResourceRanges { |
| if m != nil { |
| return m.Ranges |
| } |
| return nil |
| } |
| |
| type DeviceInfo_DeviceResourceRanges struct { |
| // List of 0 or more intf_ids that use the same technology and pools. |
| // If 0 intf_ids supplied, it implies ALL interfaces |
| IntfIds []uint32 `protobuf:"fixed32,1,rep,packed,name=intf_ids,json=intfIds,proto3" json:"intf_ids,omitempty"` |
| // Technology profile for this pool |
| Technology string `protobuf:"bytes,2,opt,name=technology,proto3" json:"technology,omitempty"` |
| Pools []*DeviceInfo_DeviceResourceRanges_Pool `protobuf:"bytes,3,rep,name=pools,proto3" json:"pools,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DeviceInfo_DeviceResourceRanges) Reset() { *m = DeviceInfo_DeviceResourceRanges{} } |
| func (m *DeviceInfo_DeviceResourceRanges) String() string { return proto.CompactTextString(m) } |
| func (*DeviceInfo_DeviceResourceRanges) ProtoMessage() {} |
| func (*DeviceInfo_DeviceResourceRanges) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{16, 0} |
| } |
| |
| func (m *DeviceInfo_DeviceResourceRanges) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DeviceInfo_DeviceResourceRanges.Unmarshal(m, b) |
| } |
| func (m *DeviceInfo_DeviceResourceRanges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DeviceInfo_DeviceResourceRanges.Marshal(b, m, deterministic) |
| } |
| func (m *DeviceInfo_DeviceResourceRanges) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DeviceInfo_DeviceResourceRanges.Merge(m, src) |
| } |
| func (m *DeviceInfo_DeviceResourceRanges) XXX_Size() int { |
| return xxx_messageInfo_DeviceInfo_DeviceResourceRanges.Size(m) |
| } |
| func (m *DeviceInfo_DeviceResourceRanges) XXX_DiscardUnknown() { |
| xxx_messageInfo_DeviceInfo_DeviceResourceRanges.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DeviceInfo_DeviceResourceRanges proto.InternalMessageInfo |
| |
| func (m *DeviceInfo_DeviceResourceRanges) GetIntfIds() []uint32 { |
| if m != nil { |
| return m.IntfIds |
| } |
| return nil |
| } |
| |
| func (m *DeviceInfo_DeviceResourceRanges) GetTechnology() string { |
| if m != nil { |
| return m.Technology |
| } |
| return "" |
| } |
| |
| func (m *DeviceInfo_DeviceResourceRanges) GetPools() []*DeviceInfo_DeviceResourceRanges_Pool { |
| if m != nil { |
| return m.Pools |
| } |
| return nil |
| } |
| |
| type DeviceInfo_DeviceResourceRanges_Pool struct { |
| Type DeviceInfo_DeviceResourceRanges_Pool_PoolType `protobuf:"varint,1,opt,name=type,proto3,enum=openolt.DeviceInfo_DeviceResourceRanges_Pool_PoolType" json:"type,omitempty"` |
| Sharing DeviceInfo_DeviceResourceRanges_Pool_SharingType `protobuf:"varint,2,opt,name=sharing,proto3,enum=openolt.DeviceInfo_DeviceResourceRanges_Pool_SharingType" json:"sharing,omitempty"` |
| Start uint32 `protobuf:"fixed32,3,opt,name=start,proto3" json:"start,omitempty"` |
| End uint32 `protobuf:"fixed32,4,opt,name=end,proto3" json:"end,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DeviceInfo_DeviceResourceRanges_Pool) Reset() { *m = DeviceInfo_DeviceResourceRanges_Pool{} } |
| func (m *DeviceInfo_DeviceResourceRanges_Pool) String() string { return proto.CompactTextString(m) } |
| func (*DeviceInfo_DeviceResourceRanges_Pool) ProtoMessage() {} |
| func (*DeviceInfo_DeviceResourceRanges_Pool) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{16, 0, 0} |
| } |
| |
| func (m *DeviceInfo_DeviceResourceRanges_Pool) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DeviceInfo_DeviceResourceRanges_Pool.Unmarshal(m, b) |
| } |
| func (m *DeviceInfo_DeviceResourceRanges_Pool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DeviceInfo_DeviceResourceRanges_Pool.Marshal(b, m, deterministic) |
| } |
| func (m *DeviceInfo_DeviceResourceRanges_Pool) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DeviceInfo_DeviceResourceRanges_Pool.Merge(m, src) |
| } |
| func (m *DeviceInfo_DeviceResourceRanges_Pool) XXX_Size() int { |
| return xxx_messageInfo_DeviceInfo_DeviceResourceRanges_Pool.Size(m) |
| } |
| func (m *DeviceInfo_DeviceResourceRanges_Pool) XXX_DiscardUnknown() { |
| xxx_messageInfo_DeviceInfo_DeviceResourceRanges_Pool.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DeviceInfo_DeviceResourceRanges_Pool proto.InternalMessageInfo |
| |
| func (m *DeviceInfo_DeviceResourceRanges_Pool) GetType() DeviceInfo_DeviceResourceRanges_Pool_PoolType { |
| if m != nil { |
| return m.Type |
| } |
| return DeviceInfo_DeviceResourceRanges_Pool_ONU_ID |
| } |
| |
| func (m *DeviceInfo_DeviceResourceRanges_Pool) GetSharing() DeviceInfo_DeviceResourceRanges_Pool_SharingType { |
| if m != nil { |
| return m.Sharing |
| } |
| return DeviceInfo_DeviceResourceRanges_Pool_DEDICATED_PER_INTF |
| } |
| |
| func (m *DeviceInfo_DeviceResourceRanges_Pool) GetStart() uint32 { |
| if m != nil { |
| return m.Start |
| } |
| return 0 |
| } |
| |
| func (m *DeviceInfo_DeviceResourceRanges_Pool) GetEnd() uint32 { |
| if m != nil { |
| return m.End |
| } |
| return 0 |
| } |
| |
| type Classifier struct { |
| OTpid uint32 `protobuf:"fixed32,1,opt,name=o_tpid,json=oTpid,proto3" json:"o_tpid,omitempty"` |
| OVid uint32 `protobuf:"fixed32,2,opt,name=o_vid,json=oVid,proto3" json:"o_vid,omitempty"` |
| ITpid uint32 `protobuf:"fixed32,3,opt,name=i_tpid,json=iTpid,proto3" json:"i_tpid,omitempty"` |
| IVid uint32 `protobuf:"fixed32,4,opt,name=i_vid,json=iVid,proto3" json:"i_vid,omitempty"` |
| OPbits uint32 `protobuf:"fixed32,5,opt,name=o_pbits,json=oPbits,proto3" json:"o_pbits,omitempty"` |
| IPbits uint32 `protobuf:"fixed32,6,opt,name=i_pbits,json=iPbits,proto3" json:"i_pbits,omitempty"` |
| EthType uint32 `protobuf:"fixed32,7,opt,name=eth_type,json=ethType,proto3" json:"eth_type,omitempty"` |
| DstMac []byte `protobuf:"bytes,8,opt,name=dst_mac,json=dstMac,proto3" json:"dst_mac,omitempty"` |
| SrcMac []byte `protobuf:"bytes,9,opt,name=src_mac,json=srcMac,proto3" json:"src_mac,omitempty"` |
| IpProto uint32 `protobuf:"fixed32,10,opt,name=ip_proto,json=ipProto,proto3" json:"ip_proto,omitempty"` |
| DstIp uint32 `protobuf:"fixed32,11,opt,name=dst_ip,json=dstIp,proto3" json:"dst_ip,omitempty"` |
| SrcIp uint32 `protobuf:"fixed32,12,opt,name=src_ip,json=srcIp,proto3" json:"src_ip,omitempty"` |
| SrcPort uint32 `protobuf:"fixed32,13,opt,name=src_port,json=srcPort,proto3" json:"src_port,omitempty"` |
| DstPort uint32 `protobuf:"fixed32,14,opt,name=dst_port,json=dstPort,proto3" json:"dst_port,omitempty"` |
| PktTagType string `protobuf:"bytes,15,opt,name=pkt_tag_type,json=pktTagType,proto3" json:"pkt_tag_type,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Classifier) Reset() { *m = Classifier{} } |
| func (m *Classifier) String() string { return proto.CompactTextString(m) } |
| func (*Classifier) ProtoMessage() {} |
| func (*Classifier) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{17} |
| } |
| |
| func (m *Classifier) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Classifier.Unmarshal(m, b) |
| } |
| func (m *Classifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Classifier.Marshal(b, m, deterministic) |
| } |
| func (m *Classifier) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Classifier.Merge(m, src) |
| } |
| func (m *Classifier) XXX_Size() int { |
| return xxx_messageInfo_Classifier.Size(m) |
| } |
| func (m *Classifier) XXX_DiscardUnknown() { |
| xxx_messageInfo_Classifier.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Classifier proto.InternalMessageInfo |
| |
| func (m *Classifier) GetOTpid() uint32 { |
| if m != nil { |
| return m.OTpid |
| } |
| return 0 |
| } |
| |
| func (m *Classifier) GetOVid() uint32 { |
| if m != nil { |
| return m.OVid |
| } |
| return 0 |
| } |
| |
| func (m *Classifier) GetITpid() uint32 { |
| if m != nil { |
| return m.ITpid |
| } |
| return 0 |
| } |
| |
| func (m *Classifier) GetIVid() uint32 { |
| if m != nil { |
| return m.IVid |
| } |
| return 0 |
| } |
| |
| func (m *Classifier) GetOPbits() uint32 { |
| if m != nil { |
| return m.OPbits |
| } |
| return 0 |
| } |
| |
| func (m *Classifier) GetIPbits() uint32 { |
| if m != nil { |
| return m.IPbits |
| } |
| return 0 |
| } |
| |
| func (m *Classifier) GetEthType() uint32 { |
| if m != nil { |
| return m.EthType |
| } |
| return 0 |
| } |
| |
| func (m *Classifier) GetDstMac() []byte { |
| if m != nil { |
| return m.DstMac |
| } |
| return nil |
| } |
| |
| func (m *Classifier) GetSrcMac() []byte { |
| if m != nil { |
| return m.SrcMac |
| } |
| return nil |
| } |
| |
| func (m *Classifier) GetIpProto() uint32 { |
| if m != nil { |
| return m.IpProto |
| } |
| return 0 |
| } |
| |
| func (m *Classifier) GetDstIp() uint32 { |
| if m != nil { |
| return m.DstIp |
| } |
| return 0 |
| } |
| |
| func (m *Classifier) GetSrcIp() uint32 { |
| if m != nil { |
| return m.SrcIp |
| } |
| return 0 |
| } |
| |
| func (m *Classifier) GetSrcPort() uint32 { |
| if m != nil { |
| return m.SrcPort |
| } |
| return 0 |
| } |
| |
| func (m *Classifier) GetDstPort() uint32 { |
| if m != nil { |
| return m.DstPort |
| } |
| return 0 |
| } |
| |
| func (m *Classifier) GetPktTagType() string { |
| if m != nil { |
| return m.PktTagType |
| } |
| return "" |
| } |
| |
| type ActionCmd struct { |
| AddOuterTag bool `protobuf:"varint,1,opt,name=add_outer_tag,json=addOuterTag,proto3" json:"add_outer_tag,omitempty"` |
| RemoveOuterTag bool `protobuf:"varint,2,opt,name=remove_outer_tag,json=removeOuterTag,proto3" json:"remove_outer_tag,omitempty"` |
| TrapToHost bool `protobuf:"varint,3,opt,name=trap_to_host,json=trapToHost,proto3" json:"trap_to_host,omitempty"` |
| RemarkOuterPbits bool `protobuf:"varint,4,opt,name=remark_outer_pbits,json=remarkOuterPbits,proto3" json:"remark_outer_pbits,omitempty"` |
| RemarkInnerPbits bool `protobuf:"varint,5,opt,name=remark_inner_pbits,json=remarkInnerPbits,proto3" json:"remark_inner_pbits,omitempty"` |
| AddInnerTag bool `protobuf:"varint,6,opt,name=add_inner_tag,json=addInnerTag,proto3" json:"add_inner_tag,omitempty"` |
| RemoveInnerTag bool `protobuf:"varint,7,opt,name=remove_inner_tag,json=removeInnerTag,proto3" json:"remove_inner_tag,omitempty"` |
| TranslateInnerTag bool `protobuf:"varint,8,opt,name=translate_inner_tag,json=translateInnerTag,proto3" json:"translate_inner_tag,omitempty"` |
| TranslateOuterTag bool `protobuf:"varint,9,opt,name=translate_outer_tag,json=translateOuterTag,proto3" json:"translate_outer_tag,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ActionCmd) Reset() { *m = ActionCmd{} } |
| func (m *ActionCmd) String() string { return proto.CompactTextString(m) } |
| func (*ActionCmd) ProtoMessage() {} |
| func (*ActionCmd) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{18} |
| } |
| |
| func (m *ActionCmd) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ActionCmd.Unmarshal(m, b) |
| } |
| func (m *ActionCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ActionCmd.Marshal(b, m, deterministic) |
| } |
| func (m *ActionCmd) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ActionCmd.Merge(m, src) |
| } |
| func (m *ActionCmd) XXX_Size() int { |
| return xxx_messageInfo_ActionCmd.Size(m) |
| } |
| func (m *ActionCmd) XXX_DiscardUnknown() { |
| xxx_messageInfo_ActionCmd.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ActionCmd proto.InternalMessageInfo |
| |
| func (m *ActionCmd) GetAddOuterTag() bool { |
| if m != nil { |
| return m.AddOuterTag |
| } |
| return false |
| } |
| |
| func (m *ActionCmd) GetRemoveOuterTag() bool { |
| if m != nil { |
| return m.RemoveOuterTag |
| } |
| return false |
| } |
| |
| func (m *ActionCmd) GetTrapToHost() bool { |
| if m != nil { |
| return m.TrapToHost |
| } |
| return false |
| } |
| |
| func (m *ActionCmd) GetRemarkOuterPbits() bool { |
| if m != nil { |
| return m.RemarkOuterPbits |
| } |
| return false |
| } |
| |
| func (m *ActionCmd) GetRemarkInnerPbits() bool { |
| if m != nil { |
| return m.RemarkInnerPbits |
| } |
| return false |
| } |
| |
| func (m *ActionCmd) GetAddInnerTag() bool { |
| if m != nil { |
| return m.AddInnerTag |
| } |
| return false |
| } |
| |
| func (m *ActionCmd) GetRemoveInnerTag() bool { |
| if m != nil { |
| return m.RemoveInnerTag |
| } |
| return false |
| } |
| |
| func (m *ActionCmd) GetTranslateInnerTag() bool { |
| if m != nil { |
| return m.TranslateInnerTag |
| } |
| return false |
| } |
| |
| func (m *ActionCmd) GetTranslateOuterTag() bool { |
| if m != nil { |
| return m.TranslateOuterTag |
| } |
| return false |
| } |
| |
| type Action struct { |
| Cmd *ActionCmd `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"` |
| OVid uint32 `protobuf:"fixed32,2,opt,name=o_vid,json=oVid,proto3" json:"o_vid,omitempty"` |
| OPbits uint32 `protobuf:"fixed32,3,opt,name=o_pbits,json=oPbits,proto3" json:"o_pbits,omitempty"` |
| OTpid uint32 `protobuf:"fixed32,4,opt,name=o_tpid,json=oTpid,proto3" json:"o_tpid,omitempty"` |
| IVid uint32 `protobuf:"fixed32,5,opt,name=i_vid,json=iVid,proto3" json:"i_vid,omitempty"` |
| IPbits uint32 `protobuf:"fixed32,6,opt,name=i_pbits,json=iPbits,proto3" json:"i_pbits,omitempty"` |
| ITpid uint32 `protobuf:"fixed32,7,opt,name=i_tpid,json=iTpid,proto3" json:"i_tpid,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Action) Reset() { *m = Action{} } |
| func (m *Action) String() string { return proto.CompactTextString(m) } |
| func (*Action) ProtoMessage() {} |
| func (*Action) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{19} |
| } |
| |
| func (m *Action) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Action.Unmarshal(m, b) |
| } |
| func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Action.Marshal(b, m, deterministic) |
| } |
| func (m *Action) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Action.Merge(m, src) |
| } |
| func (m *Action) XXX_Size() int { |
| return xxx_messageInfo_Action.Size(m) |
| } |
| func (m *Action) XXX_DiscardUnknown() { |
| xxx_messageInfo_Action.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Action proto.InternalMessageInfo |
| |
| func (m *Action) GetCmd() *ActionCmd { |
| if m != nil { |
| return m.Cmd |
| } |
| return nil |
| } |
| |
| func (m *Action) GetOVid() uint32 { |
| if m != nil { |
| return m.OVid |
| } |
| return 0 |
| } |
| |
| func (m *Action) GetOPbits() uint32 { |
| if m != nil { |
| return m.OPbits |
| } |
| return 0 |
| } |
| |
| func (m *Action) GetOTpid() uint32 { |
| if m != nil { |
| return m.OTpid |
| } |
| return 0 |
| } |
| |
| func (m *Action) GetIVid() uint32 { |
| if m != nil { |
| return m.IVid |
| } |
| return 0 |
| } |
| |
| func (m *Action) GetIPbits() uint32 { |
| if m != nil { |
| return m.IPbits |
| } |
| return 0 |
| } |
| |
| func (m *Action) GetITpid() uint32 { |
| if m != nil { |
| return m.ITpid |
| } |
| return 0 |
| } |
| |
| type Flow struct { |
| AccessIntfId int32 `protobuf:"fixed32,1,opt,name=access_intf_id,json=accessIntfId,proto3" json:"access_intf_id,omitempty"` |
| OnuId int32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| UniId int32 `protobuf:"fixed32,11,opt,name=uni_id,json=uniId,proto3" json:"uni_id,omitempty"` |
| FlowId uint64 `protobuf:"fixed64,3,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"` |
| SymmetricFlowId uint64 `protobuf:"fixed64,18,opt,name=symmetric_flow_id,json=symmetricFlowId,proto3" json:"symmetric_flow_id,omitempty"` |
| FlowType string `protobuf:"bytes,4,opt,name=flow_type,json=flowType,proto3" json:"flow_type,omitempty"` |
| AllocId int32 `protobuf:"fixed32,10,opt,name=alloc_id,json=allocId,proto3" json:"alloc_id,omitempty"` |
| NetworkIntfId int32 `protobuf:"fixed32,5,opt,name=network_intf_id,json=networkIntfId,proto3" json:"network_intf_id,omitempty"` |
| GemportId int32 `protobuf:"fixed32,6,opt,name=gemport_id,json=gemportId,proto3" json:"gemport_id,omitempty"` |
| Classifier *Classifier `protobuf:"bytes,7,opt,name=classifier,proto3" json:"classifier,omitempty"` |
| Action *Action `protobuf:"bytes,8,opt,name=action,proto3" json:"action,omitempty"` |
| Priority int32 `protobuf:"fixed32,9,opt,name=priority,proto3" json:"priority,omitempty"` |
| Cookie uint64 `protobuf:"fixed64,12,opt,name=cookie,proto3" json:"cookie,omitempty"` |
| PortNo uint32 `protobuf:"fixed32,13,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"` |
| GroupId uint32 `protobuf:"fixed32,14,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` |
| TechProfileId uint32 `protobuf:"fixed32,15,opt,name=tech_profile_id,json=techProfileId,proto3" json:"tech_profile_id,omitempty"` |
| ReplicateFlow bool `protobuf:"varint,16,opt,name=replicate_flow,json=replicateFlow,proto3" json:"replicate_flow,omitempty"` |
| PbitToGemport map[uint32]uint32 `protobuf:"bytes,17,rep,name=pbit_to_gemport,json=pbitToGemport,proto3" json:"pbit_to_gemport,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` |
| GemportToAes map[uint32]bool `protobuf:"bytes,19,rep,name=gemport_to_aes,json=gemportToAes,proto3" json:"gemport_to_aes,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Flow) Reset() { *m = Flow{} } |
| func (m *Flow) String() string { return proto.CompactTextString(m) } |
| func (*Flow) ProtoMessage() {} |
| func (*Flow) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{20} |
| } |
| |
| func (m *Flow) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Flow.Unmarshal(m, b) |
| } |
| func (m *Flow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Flow.Marshal(b, m, deterministic) |
| } |
| func (m *Flow) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Flow.Merge(m, src) |
| } |
| func (m *Flow) XXX_Size() int { |
| return xxx_messageInfo_Flow.Size(m) |
| } |
| func (m *Flow) XXX_DiscardUnknown() { |
| xxx_messageInfo_Flow.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Flow proto.InternalMessageInfo |
| |
| func (m *Flow) GetAccessIntfId() int32 { |
| if m != nil { |
| return m.AccessIntfId |
| } |
| return 0 |
| } |
| |
| func (m *Flow) GetOnuId() int32 { |
| if m != nil { |
| return m.OnuId |
| } |
| return 0 |
| } |
| |
| func (m *Flow) GetUniId() int32 { |
| if m != nil { |
| return m.UniId |
| } |
| return 0 |
| } |
| |
| func (m *Flow) GetFlowId() uint64 { |
| if m != nil { |
| return m.FlowId |
| } |
| return 0 |
| } |
| |
| func (m *Flow) GetSymmetricFlowId() uint64 { |
| if m != nil { |
| return m.SymmetricFlowId |
| } |
| return 0 |
| } |
| |
| func (m *Flow) GetFlowType() string { |
| if m != nil { |
| return m.FlowType |
| } |
| return "" |
| } |
| |
| func (m *Flow) GetAllocId() int32 { |
| if m != nil { |
| return m.AllocId |
| } |
| return 0 |
| } |
| |
| func (m *Flow) GetNetworkIntfId() int32 { |
| if m != nil { |
| return m.NetworkIntfId |
| } |
| return 0 |
| } |
| |
| func (m *Flow) GetGemportId() int32 { |
| if m != nil { |
| return m.GemportId |
| } |
| return 0 |
| } |
| |
| func (m *Flow) GetClassifier() *Classifier { |
| if m != nil { |
| return m.Classifier |
| } |
| return nil |
| } |
| |
| func (m *Flow) GetAction() *Action { |
| if m != nil { |
| return m.Action |
| } |
| return nil |
| } |
| |
| func (m *Flow) GetPriority() int32 { |
| if m != nil { |
| return m.Priority |
| } |
| return 0 |
| } |
| |
| func (m *Flow) GetCookie() uint64 { |
| if m != nil { |
| return m.Cookie |
| } |
| return 0 |
| } |
| |
| func (m *Flow) GetPortNo() uint32 { |
| if m != nil { |
| return m.PortNo |
| } |
| return 0 |
| } |
| |
| func (m *Flow) GetGroupId() uint32 { |
| if m != nil { |
| return m.GroupId |
| } |
| return 0 |
| } |
| |
| func (m *Flow) GetTechProfileId() uint32 { |
| if m != nil { |
| return m.TechProfileId |
| } |
| return 0 |
| } |
| |
| func (m *Flow) GetReplicateFlow() bool { |
| if m != nil { |
| return m.ReplicateFlow |
| } |
| return false |
| } |
| |
| func (m *Flow) GetPbitToGemport() map[uint32]uint32 { |
| if m != nil { |
| return m.PbitToGemport |
| } |
| return nil |
| } |
| |
| func (m *Flow) GetGemportToAes() map[uint32]bool { |
| if m != nil { |
| return m.GemportToAes |
| } |
| return nil |
| } |
| |
| type SerialNumber struct { |
| VendorId []byte `protobuf:"bytes,1,opt,name=vendor_id,json=vendorId,proto3" json:"vendor_id,omitempty"` |
| VendorSpecific []byte `protobuf:"bytes,2,opt,name=vendor_specific,json=vendorSpecific,proto3" json:"vendor_specific,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SerialNumber) Reset() { *m = SerialNumber{} } |
| func (m *SerialNumber) String() string { return proto.CompactTextString(m) } |
| func (*SerialNumber) ProtoMessage() {} |
| func (*SerialNumber) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{21} |
| } |
| |
| func (m *SerialNumber) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SerialNumber.Unmarshal(m, b) |
| } |
| func (m *SerialNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SerialNumber.Marshal(b, m, deterministic) |
| } |
| func (m *SerialNumber) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SerialNumber.Merge(m, src) |
| } |
| func (m *SerialNumber) XXX_Size() int { |
| return xxx_messageInfo_SerialNumber.Size(m) |
| } |
| func (m *SerialNumber) XXX_DiscardUnknown() { |
| xxx_messageInfo_SerialNumber.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SerialNumber proto.InternalMessageInfo |
| |
| func (m *SerialNumber) GetVendorId() []byte { |
| if m != nil { |
| return m.VendorId |
| } |
| return nil |
| } |
| |
| func (m *SerialNumber) GetVendorSpecific() []byte { |
| if m != nil { |
| return m.VendorSpecific |
| } |
| return nil |
| } |
| |
| 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"` |
| 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"` |
| BipErrors uint64 `protobuf:"fixed64,15,opt,name=bip_errors,json=bipErrors,proto3" json:"bip_errors,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 (m *PortStatistics) Reset() { *m = PortStatistics{} } |
| func (m *PortStatistics) String() string { return proto.CompactTextString(m) } |
| func (*PortStatistics) ProtoMessage() {} |
| func (*PortStatistics) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{22} |
| } |
| |
| func (m *PortStatistics) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PortStatistics.Unmarshal(m, b) |
| } |
| func (m *PortStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PortStatistics.Marshal(b, m, deterministic) |
| } |
| func (m *PortStatistics) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PortStatistics.Merge(m, src) |
| } |
| func (m *PortStatistics) XXX_Size() int { |
| return xxx_messageInfo_PortStatistics.Size(m) |
| } |
| func (m *PortStatistics) XXX_DiscardUnknown() { |
| xxx_messageInfo_PortStatistics.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PortStatistics proto.InternalMessageInfo |
| |
| func (m *PortStatistics) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxBytes() uint64 { |
| if m != nil { |
| return m.RxBytes |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxPackets() uint64 { |
| if m != nil { |
| return m.RxPackets |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxUcastPackets() uint64 { |
| if m != nil { |
| return m.RxUcastPackets |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxMcastPackets() uint64 { |
| if m != nil { |
| return m.RxMcastPackets |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxBcastPackets() uint64 { |
| if m != nil { |
| return m.RxBcastPackets |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxErrorPackets() uint64 { |
| if m != nil { |
| return m.RxErrorPackets |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxFrames() uint64 { |
| if m != nil { |
| return m.RxFrames |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxFrames_64() uint64 { |
| if m != nil { |
| return m.RxFrames_64 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxFrames_65_127() uint64 { |
| if m != nil { |
| return m.RxFrames_65_127 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxFrames_128_255() uint64 { |
| if m != nil { |
| return m.RxFrames_128_255 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxFrames_256_511() uint64 { |
| if m != nil { |
| return m.RxFrames_256_511 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxFrames_512_1023() uint64 { |
| if m != nil { |
| return m.RxFrames_512_1023 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxFrames_1024_1518() uint64 { |
| if m != nil { |
| return m.RxFrames_1024_1518 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxFrames_1519_2047() uint64 { |
| if m != nil { |
| return m.RxFrames_1519_2047 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxFrames_2048_4095() uint64 { |
| if m != nil { |
| return m.RxFrames_2048_4095 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxFrames_4096_9216() uint64 { |
| if m != nil { |
| return m.RxFrames_4096_9216 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxFrames_9217_16383() uint64 { |
| if m != nil { |
| return m.RxFrames_9217_16383 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetRxCrcErrors() uint64 { |
| if m != nil { |
| return m.RxCrcErrors |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxBytes() uint64 { |
| if m != nil { |
| return m.TxBytes |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxPackets() uint64 { |
| if m != nil { |
| return m.TxPackets |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxUcastPackets() uint64 { |
| if m != nil { |
| return m.TxUcastPackets |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxMcastPackets() uint64 { |
| if m != nil { |
| return m.TxMcastPackets |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxBcastPackets() uint64 { |
| if m != nil { |
| return m.TxBcastPackets |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxErrorPackets() uint64 { |
| if m != nil { |
| return m.TxErrorPackets |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxFrames() uint64 { |
| if m != nil { |
| return m.TxFrames |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxFrames_64() uint64 { |
| if m != nil { |
| return m.TxFrames_64 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxFrames_65_127() uint64 { |
| if m != nil { |
| return m.TxFrames_65_127 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxFrames_128_255() uint64 { |
| if m != nil { |
| return m.TxFrames_128_255 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxFrames_256_511() uint64 { |
| if m != nil { |
| return m.TxFrames_256_511 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxFrames_512_1023() uint64 { |
| if m != nil { |
| return m.TxFrames_512_1023 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxFrames_1024_1518() uint64 { |
| if m != nil { |
| return m.TxFrames_1024_1518 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxFrames_1519_2047() uint64 { |
| if m != nil { |
| return m.TxFrames_1519_2047 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxFrames_2048_4095() uint64 { |
| if m != nil { |
| return m.TxFrames_2048_4095 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxFrames_4096_9216() uint64 { |
| if m != nil { |
| return m.TxFrames_4096_9216 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTxFrames_9217_16383() uint64 { |
| if m != nil { |
| return m.TxFrames_9217_16383 |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetBipErrors() uint64 { |
| if m != nil { |
| return m.BipErrors |
| } |
| return 0 |
| } |
| |
| func (m *PortStatistics) GetTimestamp() uint32 { |
| if m != nil { |
| return m.Timestamp |
| } |
| return 0 |
| } |
| |
| type OnuStatistics struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| PositiveDrift uint64 `protobuf:"fixed64,3,opt,name=positive_drift,json=positiveDrift,proto3" json:"positive_drift,omitempty"` |
| NegativeDrift uint64 `protobuf:"fixed64,4,opt,name=negative_drift,json=negativeDrift,proto3" json:"negative_drift,omitempty"` |
| DelimiterMissDetection uint64 `protobuf:"fixed64,5,opt,name=delimiter_miss_detection,json=delimiterMissDetection,proto3" json:"delimiter_miss_detection,omitempty"` |
| BipErrors uint64 `protobuf:"fixed64,6,opt,name=bip_errors,json=bipErrors,proto3" json:"bip_errors,omitempty"` |
| BipUnits uint64 `protobuf:"fixed64,7,opt,name=bip_units,json=bipUnits,proto3" json:"bip_units,omitempty"` |
| FecCorrectedSymbols uint64 `protobuf:"fixed64,8,opt,name=fec_corrected_symbols,json=fecCorrectedSymbols,proto3" json:"fec_corrected_symbols,omitempty"` |
| FecCodewordsCorrected uint64 `protobuf:"fixed64,9,opt,name=fec_codewords_corrected,json=fecCodewordsCorrected,proto3" json:"fec_codewords_corrected,omitempty"` |
| FecCodewordsUncorrectable uint64 `protobuf:"fixed64,10,opt,name=fec_codewords_uncorrectable,json=fecCodewordsUncorrectable,proto3" json:"fec_codewords_uncorrectable,omitempty"` |
| FecCodewords uint64 `protobuf:"fixed64,11,opt,name=fec_codewords,json=fecCodewords,proto3" json:"fec_codewords,omitempty"` |
| FecCorrectedUnits uint64 `protobuf:"fixed64,12,opt,name=fec_corrected_units,json=fecCorrectedUnits,proto3" json:"fec_corrected_units,omitempty"` |
| XgemKeyErrors uint64 `protobuf:"fixed64,13,opt,name=xgem_key_errors,json=xgemKeyErrors,proto3" json:"xgem_key_errors,omitempty"` |
| XgemLoss uint64 `protobuf:"fixed64,14,opt,name=xgem_loss,json=xgemLoss,proto3" json:"xgem_loss,omitempty"` |
| RxPloamsError uint64 `protobuf:"fixed64,15,opt,name=rx_ploams_error,json=rxPloamsError,proto3" json:"rx_ploams_error,omitempty"` |
| RxPloamsNonIdle uint64 `protobuf:"fixed64,16,opt,name=rx_ploams_non_idle,json=rxPloamsNonIdle,proto3" json:"rx_ploams_non_idle,omitempty"` |
| RxOmci uint64 `protobuf:"fixed64,17,opt,name=rx_omci,json=rxOmci,proto3" json:"rx_omci,omitempty"` |
| RxOmciPacketsCrcError uint64 `protobuf:"fixed64,18,opt,name=rx_omci_packets_crc_error,json=rxOmciPacketsCrcError,proto3" json:"rx_omci_packets_crc_error,omitempty"` |
| RxBytes uint64 `protobuf:"fixed64,19,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"` |
| RxPackets uint64 `protobuf:"fixed64,20,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"` |
| TxBytes uint64 `protobuf:"fixed64,21,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"` |
| TxPackets uint64 `protobuf:"fixed64,22,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"` |
| BerReported uint64 `protobuf:"fixed64,23,opt,name=ber_reported,json=berReported,proto3" json:"ber_reported,omitempty"` |
| LcdgErrors uint64 `protobuf:"fixed64,24,opt,name=lcdg_errors,json=lcdgErrors,proto3" json:"lcdg_errors,omitempty"` |
| RdiErrors uint64 `protobuf:"fixed64,25,opt,name=rdi_errors,json=rdiErrors,proto3" json:"rdi_errors,omitempty"` |
| Timestamp uint32 `protobuf:"fixed32,26,opt,name=timestamp,proto3" json:"timestamp,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OnuStatistics) Reset() { *m = OnuStatistics{} } |
| func (m *OnuStatistics) String() string { return proto.CompactTextString(m) } |
| func (*OnuStatistics) ProtoMessage() {} |
| func (*OnuStatistics) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{23} |
| } |
| |
| func (m *OnuStatistics) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OnuStatistics.Unmarshal(m, b) |
| } |
| func (m *OnuStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OnuStatistics.Marshal(b, m, deterministic) |
| } |
| func (m *OnuStatistics) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_OnuStatistics.Merge(m, src) |
| } |
| func (m *OnuStatistics) XXX_Size() int { |
| return xxx_messageInfo_OnuStatistics.Size(m) |
| } |
| func (m *OnuStatistics) XXX_DiscardUnknown() { |
| xxx_messageInfo_OnuStatistics.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_OnuStatistics proto.InternalMessageInfo |
| |
| func (m *OnuStatistics) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetOnuId() uint32 { |
| if m != nil { |
| return m.OnuId |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetPositiveDrift() uint64 { |
| if m != nil { |
| return m.PositiveDrift |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetNegativeDrift() uint64 { |
| if m != nil { |
| return m.NegativeDrift |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetDelimiterMissDetection() uint64 { |
| if m != nil { |
| return m.DelimiterMissDetection |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetBipErrors() uint64 { |
| if m != nil { |
| return m.BipErrors |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetBipUnits() uint64 { |
| if m != nil { |
| return m.BipUnits |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetFecCorrectedSymbols() uint64 { |
| if m != nil { |
| return m.FecCorrectedSymbols |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetFecCodewordsCorrected() uint64 { |
| if m != nil { |
| return m.FecCodewordsCorrected |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetFecCodewordsUncorrectable() uint64 { |
| if m != nil { |
| return m.FecCodewordsUncorrectable |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetFecCodewords() uint64 { |
| if m != nil { |
| return m.FecCodewords |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetFecCorrectedUnits() uint64 { |
| if m != nil { |
| return m.FecCorrectedUnits |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetXgemKeyErrors() uint64 { |
| if m != nil { |
| return m.XgemKeyErrors |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetXgemLoss() uint64 { |
| if m != nil { |
| return m.XgemLoss |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetRxPloamsError() uint64 { |
| if m != nil { |
| return m.RxPloamsError |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetRxPloamsNonIdle() uint64 { |
| if m != nil { |
| return m.RxPloamsNonIdle |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetRxOmci() uint64 { |
| if m != nil { |
| return m.RxOmci |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetRxOmciPacketsCrcError() uint64 { |
| if m != nil { |
| return m.RxOmciPacketsCrcError |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetRxBytes() uint64 { |
| if m != nil { |
| return m.RxBytes |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetRxPackets() uint64 { |
| if m != nil { |
| return m.RxPackets |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetTxBytes() uint64 { |
| if m != nil { |
| return m.TxBytes |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetTxPackets() uint64 { |
| if m != nil { |
| return m.TxPackets |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetBerReported() uint64 { |
| if m != nil { |
| return m.BerReported |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetLcdgErrors() uint64 { |
| if m != nil { |
| return m.LcdgErrors |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetRdiErrors() uint64 { |
| if m != nil { |
| return m.RdiErrors |
| } |
| return 0 |
| } |
| |
| func (m *OnuStatistics) GetTimestamp() uint32 { |
| if m != nil { |
| return m.Timestamp |
| } |
| return 0 |
| } |
| |
| type GemPortStatistics struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| GemportId uint32 `protobuf:"fixed32,2,opt,name=gemport_id,json=gemportId,proto3" json:"gemport_id,omitempty"` |
| RxPackets uint64 `protobuf:"fixed64,3,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"` |
| RxBytes uint64 `protobuf:"fixed64,4,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"` |
| TxPackets uint64 `protobuf:"fixed64,5,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"` |
| TxBytes uint64 `protobuf:"fixed64,6,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"` |
| Timestamp uint32 `protobuf:"fixed32,26,opt,name=timestamp,proto3" json:"timestamp,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GemPortStatistics) Reset() { *m = GemPortStatistics{} } |
| func (m *GemPortStatistics) String() string { return proto.CompactTextString(m) } |
| func (*GemPortStatistics) ProtoMessage() {} |
| func (*GemPortStatistics) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{24} |
| } |
| |
| func (m *GemPortStatistics) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GemPortStatistics.Unmarshal(m, b) |
| } |
| func (m *GemPortStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GemPortStatistics.Marshal(b, m, deterministic) |
| } |
| func (m *GemPortStatistics) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GemPortStatistics.Merge(m, src) |
| } |
| func (m *GemPortStatistics) XXX_Size() int { |
| return xxx_messageInfo_GemPortStatistics.Size(m) |
| } |
| func (m *GemPortStatistics) XXX_DiscardUnknown() { |
| xxx_messageInfo_GemPortStatistics.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GemPortStatistics proto.InternalMessageInfo |
| |
| func (m *GemPortStatistics) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *GemPortStatistics) GetGemportId() uint32 { |
| if m != nil { |
| return m.GemportId |
| } |
| return 0 |
| } |
| |
| func (m *GemPortStatistics) GetRxPackets() uint64 { |
| if m != nil { |
| return m.RxPackets |
| } |
| return 0 |
| } |
| |
| func (m *GemPortStatistics) GetRxBytes() uint64 { |
| if m != nil { |
| return m.RxBytes |
| } |
| return 0 |
| } |
| |
| func (m *GemPortStatistics) GetTxPackets() uint64 { |
| if m != nil { |
| return m.TxPackets |
| } |
| return 0 |
| } |
| |
| func (m *GemPortStatistics) GetTxBytes() uint64 { |
| if m != nil { |
| return m.TxBytes |
| } |
| return 0 |
| } |
| |
| func (m *GemPortStatistics) GetTimestamp() uint32 { |
| if m != nil { |
| return m.Timestamp |
| } |
| return 0 |
| } |
| |
| type FlowStatistics struct { |
| FlowId uint32 `protobuf:"fixed32,1,opt,name=flow_id,json=flowId,proto3" json:"flow_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"` |
| 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"` |
| 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 (m *FlowStatistics) Reset() { *m = FlowStatistics{} } |
| func (m *FlowStatistics) String() string { return proto.CompactTextString(m) } |
| func (*FlowStatistics) ProtoMessage() {} |
| func (*FlowStatistics) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{25} |
| } |
| |
| func (m *FlowStatistics) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_FlowStatistics.Unmarshal(m, b) |
| } |
| func (m *FlowStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_FlowStatistics.Marshal(b, m, deterministic) |
| } |
| func (m *FlowStatistics) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_FlowStatistics.Merge(m, src) |
| } |
| func (m *FlowStatistics) XXX_Size() int { |
| return xxx_messageInfo_FlowStatistics.Size(m) |
| } |
| func (m *FlowStatistics) XXX_DiscardUnknown() { |
| xxx_messageInfo_FlowStatistics.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_FlowStatistics proto.InternalMessageInfo |
| |
| func (m *FlowStatistics) GetFlowId() uint32 { |
| if m != nil { |
| return m.FlowId |
| } |
| return 0 |
| } |
| |
| func (m *FlowStatistics) GetRxBytes() uint64 { |
| if m != nil { |
| return m.RxBytes |
| } |
| return 0 |
| } |
| |
| func (m *FlowStatistics) GetRxPackets() uint64 { |
| if m != nil { |
| return m.RxPackets |
| } |
| return 0 |
| } |
| |
| func (m *FlowStatistics) GetTxBytes() uint64 { |
| if m != nil { |
| return m.TxBytes |
| } |
| return 0 |
| } |
| |
| func (m *FlowStatistics) GetTxPackets() uint64 { |
| if m != nil { |
| return m.TxPackets |
| } |
| return 0 |
| } |
| |
| func (m *FlowStatistics) GetTimestamp() uint32 { |
| if m != nil { |
| return m.Timestamp |
| } |
| return 0 |
| } |
| |
| type LosIndication struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *LosIndication) Reset() { *m = LosIndication{} } |
| func (m *LosIndication) String() string { return proto.CompactTextString(m) } |
| func (*LosIndication) ProtoMessage() {} |
| func (*LosIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{26} |
| } |
| |
| func (m *LosIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_LosIndication.Unmarshal(m, b) |
| } |
| func (m *LosIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_LosIndication.Marshal(b, m, deterministic) |
| } |
| func (m *LosIndication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_LosIndication.Merge(m, src) |
| } |
| func (m *LosIndication) XXX_Size() int { |
| return xxx_messageInfo_LosIndication.Size(m) |
| } |
| func (m *LosIndication) XXX_DiscardUnknown() { |
| xxx_messageInfo_LosIndication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_LosIndication proto.InternalMessageInfo |
| |
| func (m *LosIndication) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *LosIndication) GetStatus() string { |
| if m != nil { |
| return m.Status |
| } |
| return "" |
| } |
| |
| type DyingGaspIndication struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DyingGaspIndication) Reset() { *m = DyingGaspIndication{} } |
| func (m *DyingGaspIndication) String() string { return proto.CompactTextString(m) } |
| func (*DyingGaspIndication) ProtoMessage() {} |
| func (*DyingGaspIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{27} |
| } |
| |
| func (m *DyingGaspIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DyingGaspIndication.Unmarshal(m, b) |
| } |
| func (m *DyingGaspIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DyingGaspIndication.Marshal(b, m, deterministic) |
| } |
| func (m *DyingGaspIndication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DyingGaspIndication.Merge(m, src) |
| } |
| func (m *DyingGaspIndication) XXX_Size() int { |
| return xxx_messageInfo_DyingGaspIndication.Size(m) |
| } |
| func (m *DyingGaspIndication) XXX_DiscardUnknown() { |
| xxx_messageInfo_DyingGaspIndication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DyingGaspIndication proto.InternalMessageInfo |
| |
| func (m *DyingGaspIndication) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *DyingGaspIndication) GetOnuId() uint32 { |
| if m != nil { |
| return m.OnuId |
| } |
| return 0 |
| } |
| |
| func (m *DyingGaspIndication) GetStatus() string { |
| if m != nil { |
| return m.Status |
| } |
| return "" |
| } |
| |
| type OnuAlarmIndication struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| LosStatus string `protobuf:"bytes,3,opt,name=los_status,json=losStatus,proto3" json:"los_status,omitempty"` |
| LobStatus string `protobuf:"bytes,4,opt,name=lob_status,json=lobStatus,proto3" json:"lob_status,omitempty"` |
| LopcMissStatus string `protobuf:"bytes,5,opt,name=lopc_miss_status,json=lopcMissStatus,proto3" json:"lopc_miss_status,omitempty"` |
| LopcMicErrorStatus string `protobuf:"bytes,6,opt,name=lopc_mic_error_status,json=lopcMicErrorStatus,proto3" json:"lopc_mic_error_status,omitempty"` |
| LofiStatus string `protobuf:"bytes,7,opt,name=lofi_status,json=lofiStatus,proto3" json:"lofi_status,omitempty"` |
| LoamiStatus string `protobuf:"bytes,8,opt,name=loami_status,json=loamiStatus,proto3" json:"loami_status,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OnuAlarmIndication) Reset() { *m = OnuAlarmIndication{} } |
| func (m *OnuAlarmIndication) String() string { return proto.CompactTextString(m) } |
| func (*OnuAlarmIndication) ProtoMessage() {} |
| func (*OnuAlarmIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{28} |
| } |
| |
| func (m *OnuAlarmIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OnuAlarmIndication.Unmarshal(m, b) |
| } |
| func (m *OnuAlarmIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OnuAlarmIndication.Marshal(b, m, deterministic) |
| } |
| func (m *OnuAlarmIndication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_OnuAlarmIndication.Merge(m, src) |
| } |
| func (m *OnuAlarmIndication) XXX_Size() int { |
| return xxx_messageInfo_OnuAlarmIndication.Size(m) |
| } |
| func (m *OnuAlarmIndication) XXX_DiscardUnknown() { |
| xxx_messageInfo_OnuAlarmIndication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_OnuAlarmIndication proto.InternalMessageInfo |
| |
| func (m *OnuAlarmIndication) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *OnuAlarmIndication) GetOnuId() uint32 { |
| if m != nil { |
| return m.OnuId |
| } |
| return 0 |
| } |
| |
| func (m *OnuAlarmIndication) GetLosStatus() string { |
| if m != nil { |
| return m.LosStatus |
| } |
| return "" |
| } |
| |
| func (m *OnuAlarmIndication) GetLobStatus() string { |
| if m != nil { |
| return m.LobStatus |
| } |
| return "" |
| } |
| |
| func (m *OnuAlarmIndication) GetLopcMissStatus() string { |
| if m != nil { |
| return m.LopcMissStatus |
| } |
| return "" |
| } |
| |
| func (m *OnuAlarmIndication) GetLopcMicErrorStatus() string { |
| if m != nil { |
| return m.LopcMicErrorStatus |
| } |
| return "" |
| } |
| |
| func (m *OnuAlarmIndication) GetLofiStatus() string { |
| if m != nil { |
| return m.LofiStatus |
| } |
| return "" |
| } |
| |
| func (m *OnuAlarmIndication) GetLoamiStatus() string { |
| if m != nil { |
| return m.LoamiStatus |
| } |
| return "" |
| } |
| |
| type OnuStartupFailureIndication struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OnuStartupFailureIndication) Reset() { *m = OnuStartupFailureIndication{} } |
| func (m *OnuStartupFailureIndication) String() string { return proto.CompactTextString(m) } |
| func (*OnuStartupFailureIndication) ProtoMessage() {} |
| func (*OnuStartupFailureIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{29} |
| } |
| |
| func (m *OnuStartupFailureIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OnuStartupFailureIndication.Unmarshal(m, b) |
| } |
| func (m *OnuStartupFailureIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OnuStartupFailureIndication.Marshal(b, m, deterministic) |
| } |
| func (m *OnuStartupFailureIndication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_OnuStartupFailureIndication.Merge(m, src) |
| } |
| func (m *OnuStartupFailureIndication) XXX_Size() int { |
| return xxx_messageInfo_OnuStartupFailureIndication.Size(m) |
| } |
| func (m *OnuStartupFailureIndication) XXX_DiscardUnknown() { |
| xxx_messageInfo_OnuStartupFailureIndication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_OnuStartupFailureIndication proto.InternalMessageInfo |
| |
| func (m *OnuStartupFailureIndication) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *OnuStartupFailureIndication) GetOnuId() uint32 { |
| if m != nil { |
| return m.OnuId |
| } |
| return 0 |
| } |
| |
| func (m *OnuStartupFailureIndication) GetStatus() string { |
| if m != nil { |
| return m.Status |
| } |
| return "" |
| } |
| |
| type OnuSignalDegradeIndication struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` |
| InverseBitErrorRate uint32 `protobuf:"fixed32,4,opt,name=inverse_bit_error_rate,json=inverseBitErrorRate,proto3" json:"inverse_bit_error_rate,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OnuSignalDegradeIndication) Reset() { *m = OnuSignalDegradeIndication{} } |
| func (m *OnuSignalDegradeIndication) String() string { return proto.CompactTextString(m) } |
| func (*OnuSignalDegradeIndication) ProtoMessage() {} |
| func (*OnuSignalDegradeIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{30} |
| } |
| |
| func (m *OnuSignalDegradeIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OnuSignalDegradeIndication.Unmarshal(m, b) |
| } |
| func (m *OnuSignalDegradeIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OnuSignalDegradeIndication.Marshal(b, m, deterministic) |
| } |
| func (m *OnuSignalDegradeIndication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_OnuSignalDegradeIndication.Merge(m, src) |
| } |
| func (m *OnuSignalDegradeIndication) XXX_Size() int { |
| return xxx_messageInfo_OnuSignalDegradeIndication.Size(m) |
| } |
| func (m *OnuSignalDegradeIndication) XXX_DiscardUnknown() { |
| xxx_messageInfo_OnuSignalDegradeIndication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_OnuSignalDegradeIndication proto.InternalMessageInfo |
| |
| func (m *OnuSignalDegradeIndication) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *OnuSignalDegradeIndication) GetOnuId() uint32 { |
| if m != nil { |
| return m.OnuId |
| } |
| return 0 |
| } |
| |
| func (m *OnuSignalDegradeIndication) GetStatus() string { |
| if m != nil { |
| return m.Status |
| } |
| return "" |
| } |
| |
| func (m *OnuSignalDegradeIndication) GetInverseBitErrorRate() uint32 { |
| if m != nil { |
| return m.InverseBitErrorRate |
| } |
| return 0 |
| } |
| |
| type OnuDriftOfWindowIndication struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` |
| Drift uint32 `protobuf:"fixed32,4,opt,name=drift,proto3" json:"drift,omitempty"` |
| NewEqd uint32 `protobuf:"fixed32,5,opt,name=new_eqd,json=newEqd,proto3" json:"new_eqd,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OnuDriftOfWindowIndication) Reset() { *m = OnuDriftOfWindowIndication{} } |
| func (m *OnuDriftOfWindowIndication) String() string { return proto.CompactTextString(m) } |
| func (*OnuDriftOfWindowIndication) ProtoMessage() {} |
| func (*OnuDriftOfWindowIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{31} |
| } |
| |
| func (m *OnuDriftOfWindowIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OnuDriftOfWindowIndication.Unmarshal(m, b) |
| } |
| func (m *OnuDriftOfWindowIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OnuDriftOfWindowIndication.Marshal(b, m, deterministic) |
| } |
| func (m *OnuDriftOfWindowIndication) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_OnuDriftOfWindowIndication.Merge(m, src) |
| } |
| func (m *OnuDriftOfWindowIndication) XXX_Size() int { |
| return xxx_messageInfo_OnuDriftOfWindowIndication.Size(m) |
| } |
| func (m *OnuDriftOfWindowIndication) XXX_DiscardUnknown() { |
| xxx_messageInfo_OnuDriftOfWindowIndication.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_OnuDriftOfWindowIndication proto.InternalMessageInfo |
| |
| func (m *OnuDriftOfWindowIndication) GetIntfId() uint32 { |
| if m != nil { |
| return m.IntfId |
| } |
| return 0 |
| } |
| |
| func (m *OnuDriftOfWindowIndication) GetOnuId() uint32 { |
| if m != nil { |
| return m.OnuId |
| } |
| return 0 |
| } |
| |
| func (m *OnuDriftOfWindowIndication) GetStatus() string { |
| if m != nil { |
| return m.Status |
| } |
| return "" |
| } |
| |
| func (m *OnuDriftOfWindowIndication) GetDrift() uint32 { |
| if m != nil { |
| return m.Drift |
| } |
| return 0 |
| } |
| |
| func (m *OnuDriftOfWindowIndication) GetNewEqd() uint32 { |
| if m != nil { |
| return m.NewEqd |
| } |
| return 0 |
| } |
| |
| type OnuLossOfOmciChannelIndication struct { |
| IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OnuLossOfOmciChannelIndication) Reset() { *m = OnuLossOfOmciChannelIndication{} } |
| func (m *OnuLossOfOmciChannelIndication) String() string { return proto.CompactTextString(m) } |
| func (*OnuLossOfOmciChannelIndication) ProtoMessage() {} |
| func (*OnuLossOfOmciChannelIndication) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c072e7aa0dfd74d5, []int{32} |
| } |
| |
| func (m *OnuLossOfOmciChannelIndication) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OnuLossOfOmciChannelIndication.Unmarshal(m, b) |
| } |
| func (m *OnuLossOfOmciChannelIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OnuLossOfOmciChannelIndication.Marshal(b, m, deterministic) |
| |