Documentation ¶
Overview ¶
Package bbsim is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterBBSimHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterBBSimHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BBSimClient) error
- func RegisterBBSimHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterBBSimHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BBSimServer) error
- func RegisterBBSimServer(s *grpc.Server, srv BBSimServer)
- func RegisterBBsimDmiServer(s *grpc.Server, srv BBsimDmiServer)
- type AlarmParameter
- func (*AlarmParameter) Descriptor() ([]byte, []int)
- func (m *AlarmParameter) GetKey() string
- func (m *AlarmParameter) GetValue() string
- func (*AlarmParameter) ProtoMessage()
- func (m *AlarmParameter) Reset()
- func (m *AlarmParameter) String() string
- func (m *AlarmParameter) XXX_DiscardUnknown()
- func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AlarmParameter) XXX_Merge(src proto.Message)
- func (m *AlarmParameter) XXX_Size() int
- func (m *AlarmParameter) XXX_Unmarshal(b []byte) error
- type AlarmType
- func (*AlarmType) Descriptor() ([]byte, []int)
- func (*AlarmType) ProtoMessage()
- func (m *AlarmType) Reset()
- func (m *AlarmType) String() string
- func (m *AlarmType) XXX_DiscardUnknown()
- func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AlarmType) XXX_Merge(src proto.Message)
- func (m *AlarmType) XXX_Size() int
- func (m *AlarmType) XXX_Unmarshal(b []byte) error
- type AlarmType_Types
- type BBSimClient
- type BBSimServer
- type BBsimDmiClient
- type BBsimDmiServer
- type DmiCreateEventResponse
- func (*DmiCreateEventResponse) Descriptor() ([]byte, []int)
- func (m *DmiCreateEventResponse) GetMessage() string
- func (m *DmiCreateEventResponse) GetStatusCode() int32
- func (*DmiCreateEventResponse) ProtoMessage()
- func (m *DmiCreateEventResponse) Reset()
- func (m *DmiCreateEventResponse) String() string
- func (m *DmiCreateEventResponse) XXX_DiscardUnknown()
- func (m *DmiCreateEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DmiCreateEventResponse) XXX_Merge(src proto.Message)
- func (m *DmiCreateEventResponse) XXX_Size() int
- func (m *DmiCreateEventResponse) XXX_Unmarshal(b []byte) error
- type DmiEvent
- func (*DmiEvent) Descriptor() ([]byte, []int)
- func (m *DmiEvent) GetEventName() string
- func (*DmiEvent) ProtoMessage()
- func (m *DmiEvent) Reset()
- func (m *DmiEvent) String() string
- func (m *DmiEvent) XXX_DiscardUnknown()
- func (m *DmiEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DmiEvent) XXX_Merge(src proto.Message)
- func (m *DmiEvent) XXX_Size() int
- func (m *DmiEvent) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type Flows
- func (*Flows) Descriptor() ([]byte, []int)
- func (m *Flows) GetFlowCount() uint32
- func (m *Flows) GetFlows() []*openolt.Flow
- func (*Flows) ProtoMessage()
- func (m *Flows) Reset()
- func (m *Flows) String() string
- func (m *Flows) XXX_DiscardUnknown()
- func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Flows) XXX_Merge(src proto.Message)
- func (m *Flows) XXX_Size() int
- func (m *Flows) XXX_Unmarshal(b []byte) error
- type IgmpRequest
- func (*IgmpRequest) Descriptor() ([]byte, []int)
- func (m *IgmpRequest) GetGroupAddress() string
- func (m *IgmpRequest) GetOnuReq() *ONURequest
- func (m *IgmpRequest) GetSubActionVal() SubActionTypes
- func (*IgmpRequest) ProtoMessage()
- func (m *IgmpRequest) Reset()
- func (m *IgmpRequest) String() string
- func (m *IgmpRequest) XXX_DiscardUnknown()
- func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IgmpRequest) XXX_Merge(src proto.Message)
- func (m *IgmpRequest) XXX_Size() int
- func (m *IgmpRequest) XXX_Unmarshal(b []byte) error
- type LogLevel
- func (*LogLevel) Descriptor() ([]byte, []int)
- func (m *LogLevel) GetCaller() bool
- func (m *LogLevel) GetLevel() string
- func (*LogLevel) ProtoMessage()
- func (m *LogLevel) Reset()
- func (m *LogLevel) String() string
- func (m *LogLevel) XXX_DiscardUnknown()
- func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogLevel) XXX_Merge(src proto.Message)
- func (m *LogLevel) XXX_Size() int
- func (m *LogLevel) XXX_Unmarshal(b []byte) error
- type NNIPort
- func (*NNIPort) Descriptor() ([]byte, []int)
- func (m *NNIPort) GetID() int32
- func (m *NNIPort) GetOperState() string
- func (*NNIPort) ProtoMessage()
- func (m *NNIPort) Reset()
- func (m *NNIPort) String() string
- func (m *NNIPort) XXX_DiscardUnknown()
- func (m *NNIPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NNIPort) XXX_Merge(src proto.Message)
- func (m *NNIPort) XXX_Size() int
- func (m *NNIPort) XXX_Unmarshal(b []byte) error
- type OLTAlarmRequest
- func (*OLTAlarmRequest) Descriptor() ([]byte, []int)
- func (m *OLTAlarmRequest) GetInterfaceID() uint32
- func (m *OLTAlarmRequest) GetInterfaceType() string
- func (m *OLTAlarmRequest) GetStatus() string
- func (*OLTAlarmRequest) ProtoMessage()
- func (m *OLTAlarmRequest) Reset()
- func (m *OLTAlarmRequest) String() string
- func (m *OLTAlarmRequest) XXX_DiscardUnknown()
- func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OLTAlarmRequest) XXX_Merge(src proto.Message)
- func (m *OLTAlarmRequest) XXX_Size() int
- func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error
- type ONU
- func (*ONU) Descriptor() ([]byte, []int)
- func (m *ONU) GetActiveImageEntityId() int32
- func (m *ONU) GetCommittedImageEntityId() int32
- func (m *ONU) GetHwAddress() stringdeprecated
- func (m *ONU) GetID() int32
- func (m *ONU) GetImageSoftwareExpectedSections() int32
- func (m *ONU) GetImageSoftwareReceivedSections() int32
- func (m *ONU) GetInternalState() string
- func (m *ONU) GetOperState() string
- func (m *ONU) GetPonPortID() int32
- func (m *ONU) GetPortNo() int32deprecated
- func (m *ONU) GetSerialNumber() string
- func (m *ONU) GetServices() []*Servicedeprecated
- func (m *ONU) GetUnis() []*UNI
- func (*ONU) ProtoMessage()
- func (m *ONU) Reset()
- func (m *ONU) String() string
- func (m *ONU) XXX_DiscardUnknown()
- func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ONU) XXX_Merge(src proto.Message)
- func (m *ONU) XXX_Size() int
- func (m *ONU) XXX_Unmarshal(b []byte) error
- type ONUAlarmRequest
- func (*ONUAlarmRequest) Descriptor() ([]byte, []int)
- func (m *ONUAlarmRequest) GetAlarmType() string
- func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter
- func (m *ONUAlarmRequest) GetSerialNumber() string
- func (m *ONUAlarmRequest) GetStatus() string
- func (*ONUAlarmRequest) ProtoMessage()
- func (m *ONUAlarmRequest) Reset()
- func (m *ONUAlarmRequest) String() string
- func (m *ONUAlarmRequest) XXX_DiscardUnknown()
- func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ONUAlarmRequest) XXX_Merge(src proto.Message)
- func (m *ONUAlarmRequest) XXX_Size() int
- func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error
- type ONURequest
- func (*ONURequest) Descriptor() ([]byte, []int)
- func (m *ONURequest) GetSerialNumber() string
- func (*ONURequest) ProtoMessage()
- func (m *ONURequest) Reset()
- func (m *ONURequest) String() string
- func (m *ONURequest) XXX_DiscardUnknown()
- func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ONURequest) XXX_Merge(src proto.Message)
- func (m *ONURequest) XXX_Size() int
- func (m *ONURequest) XXX_Unmarshal(b []byte) error
- type ONUTrafficSchedulers
- func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int)
- func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers
- func (*ONUTrafficSchedulers) ProtoMessage()
- func (m *ONUTrafficSchedulers) Reset()
- func (m *ONUTrafficSchedulers) String() string
- func (m *ONUTrafficSchedulers) XXX_DiscardUnknown()
- func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message)
- func (m *ONUTrafficSchedulers) XXX_Size() int
- func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error
- type ONUs
- func (*ONUs) Descriptor() ([]byte, []int)
- func (m *ONUs) GetItems() []*ONU
- func (*ONUs) ProtoMessage()
- func (m *ONUs) Reset()
- func (m *ONUs) String() string
- func (m *ONUs) XXX_DiscardUnknown()
- func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ONUs) XXX_Merge(src proto.Message)
- func (m *ONUs) XXX_Size() int
- func (m *ONUs) XXX_Unmarshal(b []byte) error
- type Olt
- func (*Olt) Descriptor() ([]byte, []int)
- func (m *Olt) GetID() int32
- func (m *Olt) GetIP() string
- func (m *Olt) GetInternalState() string
- func (m *Olt) GetNNIPorts() []*NNIPort
- func (m *Olt) GetOperState() string
- func (m *Olt) GetPONPorts() []*PONPort
- func (m *Olt) GetSerialNumber() string
- func (*Olt) ProtoMessage()
- func (m *Olt) Reset()
- func (m *Olt) String() string
- func (m *Olt) XXX_DiscardUnknown()
- func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Olt) XXX_Merge(src proto.Message)
- func (m *Olt) XXX_Size() int
- func (m *Olt) XXX_Unmarshal(b []byte) error
- type OltAllocatedResource
- func (*OltAllocatedResource) Descriptor() ([]byte, []int)
- func (m *OltAllocatedResource) GetFlowId() uint64
- func (m *OltAllocatedResource) GetOnuId() uint32
- func (m *OltAllocatedResource) GetPonPortId() uint32
- func (m *OltAllocatedResource) GetPortNo() uint32
- func (m *OltAllocatedResource) GetResourceId() int32
- func (m *OltAllocatedResource) GetType() string
- func (*OltAllocatedResource) ProtoMessage()
- func (m *OltAllocatedResource) Reset()
- func (m *OltAllocatedResource) String() string
- func (m *OltAllocatedResource) XXX_DiscardUnknown()
- func (m *OltAllocatedResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OltAllocatedResource) XXX_Merge(src proto.Message)
- func (m *OltAllocatedResource) XXX_Size() int
- func (m *OltAllocatedResource) XXX_Unmarshal(b []byte) error
- type OltAllocatedResourceType
- func (*OltAllocatedResourceType) Descriptor() ([]byte, []int)
- func (m *OltAllocatedResourceType) GetType() OltAllocatedResourceType_Type
- func (*OltAllocatedResourceType) ProtoMessage()
- func (m *OltAllocatedResourceType) Reset()
- func (m *OltAllocatedResourceType) String() string
- func (m *OltAllocatedResourceType) XXX_DiscardUnknown()
- func (m *OltAllocatedResourceType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OltAllocatedResourceType) XXX_Merge(src proto.Message)
- func (m *OltAllocatedResourceType) XXX_Size() int
- func (m *OltAllocatedResourceType) XXX_Unmarshal(b []byte) error
- type OltAllocatedResourceType_Type
- type OltAllocatedResources
- func (*OltAllocatedResources) Descriptor() ([]byte, []int)
- func (m *OltAllocatedResources) GetResources() []*OltAllocatedResource
- func (*OltAllocatedResources) ProtoMessage()
- func (m *OltAllocatedResources) Reset()
- func (m *OltAllocatedResources) String() string
- func (m *OltAllocatedResources) XXX_DiscardUnknown()
- func (m *OltAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OltAllocatedResources) XXX_Merge(src proto.Message)
- func (m *OltAllocatedResources) XXX_Size() int
- func (m *OltAllocatedResources) XXX_Unmarshal(b []byte) error
- type PONPort
- func (*PONPort) Descriptor() ([]byte, []int)
- func (m *PONPort) GetAllocatedAllocIds() []*PonAllocatedResources
- func (m *PONPort) GetAllocatedGemPorts() []*PonAllocatedResources
- func (m *PONPort) GetAllocatedOnuIds() []*PonAllocatedResources
- func (m *PONPort) GetID() int32
- func (m *PONPort) GetInternalState() string
- func (m *PONPort) GetOperState() string
- func (m *PONPort) GetPacketCount() uint64
- func (*PONPort) ProtoMessage()
- func (m *PONPort) Reset()
- func (m *PONPort) String() string
- func (m *PONPort) XXX_DiscardUnknown()
- func (m *PONPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PONPort) XXX_Merge(src proto.Message)
- func (m *PONPort) XXX_Size() int
- func (m *PONPort) XXX_Unmarshal(b []byte) error
- type PONRequest
- func (*PONRequest) Descriptor() ([]byte, []int)
- func (m *PONRequest) GetPonPortId() uint32
- func (*PONRequest) ProtoMessage()
- func (m *PONRequest) Reset()
- func (m *PONRequest) String() string
- func (m *PONRequest) XXX_DiscardUnknown()
- func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PONRequest) XXX_Merge(src proto.Message)
- func (m *PONRequest) XXX_Size() int
- func (m *PONRequest) XXX_Unmarshal(b []byte) error
- type PonAllocatedResources
- func (*PonAllocatedResources) Descriptor() ([]byte, []int)
- func (m *PonAllocatedResources) GetId() int32
- func (m *PonAllocatedResources) GetSerialNumber() string
- func (*PonAllocatedResources) ProtoMessage()
- func (m *PonAllocatedResources) Reset()
- func (m *PonAllocatedResources) String() string
- func (m *PonAllocatedResources) XXX_DiscardUnknown()
- func (m *PonAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PonAllocatedResources) XXX_Merge(src proto.Message)
- func (m *PonAllocatedResources) XXX_Size() int
- func (m *PonAllocatedResources) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetMessage() string
- func (m *Response) GetStatusCode() int32
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type Service
- func (*Service) Descriptor() ([]byte, []int)
- func (m *Service) GetCTag() int32
- func (m *Service) GetDhcpState() string
- func (m *Service) GetEapolState() string
- func (m *Service) GetGemPort() int32
- func (m *Service) GetHwAddress() string
- func (m *Service) GetIGMPState() string
- func (m *Service) GetInternalState() string
- func (m *Service) GetName() string
- func (m *Service) GetNeedsDhcp() bool
- func (m *Service) GetNeedsEapol() bool
- func (m *Service) GetNeedsIgmp() bool
- func (m *Service) GetOnuSn() string
- func (m *Service) GetSTag() int32
- func (m *Service) GetUniId() uint32
- func (*Service) ProtoMessage()
- func (m *Service) Reset()
- func (m *Service) String() string
- func (m *Service) XXX_DiscardUnknown()
- func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Service) XXX_Merge(src proto.Message)
- func (m *Service) XXX_Size() int
- func (m *Service) XXX_Unmarshal(b []byte) error
- type Services
- func (*Services) Descriptor() ([]byte, []int)
- func (m *Services) GetItems() []*Service
- func (*Services) ProtoMessage()
- func (m *Services) Reset()
- func (m *Services) String() string
- func (m *Services) XXX_DiscardUnknown()
- func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Services) XXX_Merge(src proto.Message)
- func (m *Services) XXX_Size() int
- func (m *Services) XXX_Unmarshal(b []byte) error
- type SubActionTypes
- type Timeout
- func (*Timeout) Descriptor() ([]byte, []int)
- func (m *Timeout) GetDelay() uint32
- func (*Timeout) ProtoMessage()
- func (m *Timeout) Reset()
- func (m *Timeout) String() string
- func (m *Timeout) XXX_DiscardUnknown()
- func (m *Timeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Timeout) XXX_Merge(src proto.Message)
- func (m *Timeout) XXX_Size() int
- func (m *Timeout) XXX_Unmarshal(b []byte) error
- type UNI
- func (*UNI) Descriptor() ([]byte, []int)
- func (m *UNI) GetID() int32
- func (m *UNI) GetMeID() uint32
- func (m *UNI) GetOnuID() int32
- func (m *UNI) GetOnuSn() string
- func (m *UNI) GetOperState() string
- func (m *UNI) GetPortNo() int32
- func (m *UNI) GetServices() []*Service
- func (m *UNI) GetType() UniType
- func (*UNI) ProtoMessage()
- func (m *UNI) Reset()
- func (m *UNI) String() string
- func (m *UNI) XXX_DiscardUnknown()
- func (m *UNI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UNI) XXX_Merge(src proto.Message)
- func (m *UNI) XXX_Size() int
- func (m *UNI) XXX_Unmarshal(b []byte) error
- type UNIRequest
- func (*UNIRequest) Descriptor() ([]byte, []int)
- func (m *UNIRequest) GetOnuSerialNumber() string
- func (m *UNIRequest) GetUniID() string
- func (*UNIRequest) ProtoMessage()
- func (m *UNIRequest) Reset()
- func (m *UNIRequest) String() string
- func (m *UNIRequest) XXX_DiscardUnknown()
- func (m *UNIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UNIRequest) XXX_Merge(src proto.Message)
- func (m *UNIRequest) XXX_Size() int
- func (m *UNIRequest) XXX_Unmarshal(b []byte) error
- type UNIs
- func (*UNIs) Descriptor() ([]byte, []int)
- func (m *UNIs) GetItems() []*UNI
- func (*UNIs) ProtoMessage()
- func (m *UNIs) Reset()
- func (m *UNIs) String() string
- func (m *UNIs) XXX_DiscardUnknown()
- func (m *UNIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UNIs) XXX_Merge(src proto.Message)
- func (m *UNIs) XXX_Size() int
- func (m *UNIs) XXX_Unmarshal(b []byte) error
- type UniType
- type UnimplementedBBSimServer
- func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error)
- func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error)
- func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error)
- func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error)
- func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error)
- func (*UnimplementedBBSimServer) GetOltAllocatedResources(ctx context.Context, req *OltAllocatedResourceType) (*OltAllocatedResources, error)
- func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error)
- func (*UnimplementedBBSimServer) GetOnuUnis(ctx context.Context, req *ONURequest) (*UNIs, error)
- func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *UNIRequest) (*Services, error)
- func (*UnimplementedBBSimServer) GetUnis(ctx context.Context, req *Empty) (*UNIs, error)
- func (*UnimplementedBBSimServer) InvalidateMds(ctx context.Context, req *ONURequest) (*Response, error)
- func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error)
- func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error)
- func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error)
- func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error)
- func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error)
- func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *UNIRequest) (*Response, error)
- func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *UNIRequest) (*Response, error)
- func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error)
- func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error)
- func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error)
- func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error)
- func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error)
- func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error)
- func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error)
- func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error)
- func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error)
- func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error)
- func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error)
- type UnimplementedBBsimDmiServer
- type VersionNumber
- func (*VersionNumber) Descriptor() ([]byte, []int)
- func (m *VersionNumber) GetBuildTime() string
- func (m *VersionNumber) GetCommitHash() string
- func (m *VersionNumber) GetGitStatus() string
- func (m *VersionNumber) GetVersion() string
- func (*VersionNumber) ProtoMessage()
- func (m *VersionNumber) Reset()
- func (m *VersionNumber) String() string
- func (m *VersionNumber) XXX_DiscardUnknown()
- func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VersionNumber) XXX_Merge(src proto.Message)
- func (m *VersionNumber) XXX_Size() int
- func (m *VersionNumber) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var AlarmType_Types_name = map[int32]string{
0: "LOS",
1: "DYING_GASP",
2: "ONU_ALARM",
3: "ONU_STARTUP_FAILURE",
4: "ONU_SIGNAL_DEGRADE",
5: "ONU_DRIFT_OF_WINDOW",
6: "ONU_LOSS_OF_OMCI_CHANNEL",
7: "ONU_SIGNALS_FAILURE",
8: "ONU_TRANSMISSION_INTERFERENCE_WARNING",
9: "ONU_ACTIVATION_FAILURE",
10: "ONU_PROCESSING_ERROR",
11: "ONU_LOSS_OF_KEY_SYNC_FAILURE",
12: "ONU_ITU_PON_STATS",
13: "ONU_ALARM_LOS",
14: "ONU_ALARM_LOB",
15: "ONU_ALARM_LOPC_MISS",
16: "ONU_ALARM_LOPC_MIC_ERROR",
17: "ONU_ALARM_LOFI",
18: "ONU_ALARM_LOAMI",
}
var AlarmType_Types_value = map[string]int32{
"LOS": 0,
"DYING_GASP": 1,
"ONU_ALARM": 2,
"ONU_STARTUP_FAILURE": 3,
"ONU_SIGNAL_DEGRADE": 4,
"ONU_DRIFT_OF_WINDOW": 5,
"ONU_LOSS_OF_OMCI_CHANNEL": 6,
"ONU_SIGNALS_FAILURE": 7,
"ONU_TRANSMISSION_INTERFERENCE_WARNING": 8,
"ONU_ACTIVATION_FAILURE": 9,
"ONU_PROCESSING_ERROR": 10,
"ONU_LOSS_OF_KEY_SYNC_FAILURE": 11,
"ONU_ITU_PON_STATS": 12,
"ONU_ALARM_LOS": 13,
"ONU_ALARM_LOB": 14,
"ONU_ALARM_LOPC_MISS": 15,
"ONU_ALARM_LOPC_MIC_ERROR": 16,
"ONU_ALARM_LOFI": 17,
"ONU_ALARM_LOAMI": 18,
}
var OltAllocatedResourceType_Type_name = map[int32]string{
0: "UNKNOWN",
1: "ALLOC_ID",
2: "GEM_PORT",
}
var OltAllocatedResourceType_Type_value = map[string]int32{
"UNKNOWN": 0,
"ALLOC_ID": 1,
"GEM_PORT": 2,
}
var SubActionTypes_name = map[int32]string{
0: "JOIN",
1: "LEAVE",
2: "JOINV3",
}
var SubActionTypes_value = map[string]int32{
"JOIN": 0,
"LEAVE": 1,
"JOINV3": 2,
}
var UniType_name = map[int32]string{
0: "ETH",
1: "POTS",
}
var UniType_value = map[string]int32{
"ETH": 0,
"POTS": 1,
}
Functions ¶
func RegisterBBSimHandler ¶
RegisterBBSimHandler registers the http handlers for service BBSim to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterBBSimHandlerClient ¶
func RegisterBBSimHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BBSimClient) error
RegisterBBSimHandlerClient registers the http handlers for service BBSim to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BBSimClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BBSimClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BBSimClient" to call the correct interceptors.
func RegisterBBSimHandlerFromEndpoint ¶
func RegisterBBSimHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterBBSimHandlerFromEndpoint is same as RegisterBBSimHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterBBSimHandlerServer ¶
func RegisterBBSimHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BBSimServer) error
RegisterBBSimHandlerServer registers the http handlers for service BBSim to "mux". UnaryRPC :call BBSimServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterBBSimServer ¶
func RegisterBBSimServer(s *grpc.Server, srv BBSimServer)
func RegisterBBsimDmiServer ¶ added in v1.4.3
func RegisterBBsimDmiServer(s *grpc.Server, srv BBsimDmiServer)
Types ¶
type AlarmParameter ¶ added in v0.0.12
type AlarmParameter struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AlarmParameter) Descriptor ¶ added in v0.0.12
func (*AlarmParameter) Descriptor() ([]byte, []int)
func (*AlarmParameter) GetKey ¶ added in v0.0.12
func (m *AlarmParameter) GetKey() string
func (*AlarmParameter) GetValue ¶ added in v0.0.12
func (m *AlarmParameter) GetValue() string
func (*AlarmParameter) ProtoMessage ¶ added in v0.0.12
func (*AlarmParameter) ProtoMessage()
func (*AlarmParameter) Reset ¶ added in v0.0.12
func (m *AlarmParameter) Reset()
func (*AlarmParameter) String ¶ added in v0.0.12
func (m *AlarmParameter) String() string
func (*AlarmParameter) XXX_DiscardUnknown ¶ added in v0.0.12
func (m *AlarmParameter) XXX_DiscardUnknown()
func (*AlarmParameter) XXX_Marshal ¶ added in v0.0.12
func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AlarmParameter) XXX_Merge ¶ added in v0.0.12
func (m *AlarmParameter) XXX_Merge(src proto.Message)
func (*AlarmParameter) XXX_Size ¶ added in v0.0.12
func (m *AlarmParameter) XXX_Size() int
func (*AlarmParameter) XXX_Unmarshal ¶ added in v0.0.12
func (m *AlarmParameter) XXX_Unmarshal(b []byte) error
type AlarmType ¶ added in v0.0.12
type AlarmType struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AlarmType) Descriptor ¶ added in v0.0.12
func (*AlarmType) ProtoMessage ¶ added in v0.0.12
func (*AlarmType) ProtoMessage()
func (*AlarmType) XXX_DiscardUnknown ¶ added in v0.0.12
func (m *AlarmType) XXX_DiscardUnknown()
func (*AlarmType) XXX_Marshal ¶ added in v0.0.12
func (*AlarmType) XXX_Unmarshal ¶ added in v0.0.12
type AlarmType_Types ¶ added in v0.0.12
type AlarmType_Types int32
These types correspond to the messages permitted in the oneof in AlarmIndication in the openolt protos
const ( AlarmType_LOS AlarmType_Types = 0 AlarmType_DYING_GASP AlarmType_Types = 1 AlarmType_ONU_ALARM AlarmType_Types = 2 AlarmType_ONU_STARTUP_FAILURE AlarmType_Types = 3 AlarmType_ONU_SIGNAL_DEGRADE AlarmType_Types = 4 AlarmType_ONU_DRIFT_OF_WINDOW AlarmType_Types = 5 AlarmType_ONU_LOSS_OF_OMCI_CHANNEL AlarmType_Types = 6 AlarmType_ONU_SIGNALS_FAILURE AlarmType_Types = 7 AlarmType_ONU_TRANSMISSION_INTERFERENCE_WARNING AlarmType_Types = 8 AlarmType_ONU_ACTIVATION_FAILURE AlarmType_Types = 9 AlarmType_ONU_PROCESSING_ERROR AlarmType_Types = 10 AlarmType_ONU_LOSS_OF_KEY_SYNC_FAILURE AlarmType_Types = 11 AlarmType_ONU_ITU_PON_STATS AlarmType_Types = 12 // These break out ONU_ALARM, which is a single message, but // includes statuses for these six alarms. AlarmType_ONU_ALARM_LOS AlarmType_Types = 13 AlarmType_ONU_ALARM_LOB AlarmType_Types = 14 AlarmType_ONU_ALARM_LOPC_MISS AlarmType_Types = 15 AlarmType_ONU_ALARM_LOPC_MIC_ERROR AlarmType_Types = 16 AlarmType_ONU_ALARM_LOFI AlarmType_Types = 17 AlarmType_ONU_ALARM_LOAMI AlarmType_Types = 18 )
func (AlarmType_Types) EnumDescriptor ¶ added in v0.0.12
func (AlarmType_Types) EnumDescriptor() ([]byte, []int)
func (AlarmType_Types) String ¶ added in v0.0.12
func (x AlarmType_Types) String() string
type BBSimClient ¶
type BBSimClient interface { // Get BBSim version Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) // Set BBSim log level SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) // Get current status of OLT GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error) // Poweron OLT PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) // Shutdown OLT ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) // Reboot OLT RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) // Closes the Openolt gRPC server StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) // Start the Openolt gRPC server StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) // Restart the Openolt gRPC server after the given timeout RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) // Get status of an ONU by serial number GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) // Get status of all ONUs GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) // Get all the Services by Uni ID GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error) // Get all the UNIs of an ONU by serial number GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error) // Shutdown an ONU by serial number ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) // Shutdown all ONUs in OLT ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) // Shutdown all ONUs under a PON by pon-port-ID ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) // Poweron an ONU by serial number PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) // Poweron all ONUs in OLT PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) // Poweron all ONUs under a PON by pon-port-ID PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) // Restart EAPOL for ONU RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) // Restart DHCP for ONU RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) // Send ONU alarm indication SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) // Send OLT alarm indication for Interface type NNI or PON SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) // Get all flows or ONU specific flows GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) // Change IGMP state ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) // Get Traffic scheduler information for ONU GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) //Return all the UNIs for all the ONUs GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error) //Invalidate the MDS counter for the ONU InvalidateMds(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) }
BBSimClient is the client API for BBSim service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBBSimClient ¶
func NewBBSimClient(cc *grpc.ClientConn) BBSimClient
type BBSimServer ¶
type BBSimServer interface { // Get BBSim version Version(context.Context, *Empty) (*VersionNumber, error) // Set BBSim log level SetLogLevel(context.Context, *LogLevel) (*LogLevel, error) // Get current status of OLT GetOlt(context.Context, *Empty) (*Olt, error) GetOltAllocatedResources(context.Context, *OltAllocatedResourceType) (*OltAllocatedResources, error) // Poweron OLT PoweronOlt(context.Context, *Empty) (*Response, error) // Shutdown OLT ShutdownOlt(context.Context, *Empty) (*Response, error) // Reboot OLT RebootOlt(context.Context, *Empty) (*Response, error) // Closes the Openolt gRPC server StopgRPCServer(context.Context, *Empty) (*Response, error) // Start the Openolt gRPC server StartgRPCServer(context.Context, *Empty) (*Response, error) // Restart the Openolt gRPC server after the given timeout RestartgRPCServer(context.Context, *Timeout) (*Response, error) // Get status of an ONU by serial number GetONU(context.Context, *ONURequest) (*ONU, error) // Get status of all ONUs GetONUs(context.Context, *Empty) (*ONUs, error) // Get all the Services by Uni ID GetServices(context.Context, *UNIRequest) (*Services, error) // Get all the UNIs of an ONU by serial number GetOnuUnis(context.Context, *ONURequest) (*UNIs, error) // Shutdown an ONU by serial number ShutdownONU(context.Context, *ONURequest) (*Response, error) // Shutdown all ONUs in OLT ShutdownAllONUs(context.Context, *Empty) (*Response, error) // Shutdown all ONUs under a PON by pon-port-ID ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error) // Poweron an ONU by serial number PoweronONU(context.Context, *ONURequest) (*Response, error) // Poweron all ONUs in OLT PoweronAllONUs(context.Context, *Empty) (*Response, error) // Poweron all ONUs under a PON by pon-port-ID PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error) // Restart EAPOL for ONU RestartEapol(context.Context, *UNIRequest) (*Response, error) // Restart DHCP for ONU RestartDhcp(context.Context, *UNIRequest) (*Response, error) // Send ONU alarm indication SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error) // Send OLT alarm indication for Interface type NNI or PON SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error) // Get all flows or ONU specific flows GetFlows(context.Context, *ONURequest) (*Flows, error) // Change IGMP state ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error) // Get Traffic scheduler information for ONU GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error) //Return all the UNIs for all the ONUs GetUnis(context.Context, *Empty) (*UNIs, error) //Invalidate the MDS counter for the ONU InvalidateMds(context.Context, *ONURequest) (*Response, error) }
BBSimServer is the server API for BBSim service.
type BBsimDmiClient ¶ added in v1.4.3
type BBsimDmiClient interface { // Ask the DMI Server to create an event CreateEvent(ctx context.Context, in *DmiEvent, opts ...grpc.CallOption) (*DmiCreateEventResponse, error) }
BBsimDmiClient is the client API for BBsimDmi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBBsimDmiClient ¶ added in v1.4.3
func NewBBsimDmiClient(cc *grpc.ClientConn) BBsimDmiClient
type BBsimDmiServer ¶ added in v1.4.3
type BBsimDmiServer interface { // Ask the DMI Server to create an event CreateEvent(context.Context, *DmiEvent) (*DmiCreateEventResponse, error) }
BBsimDmiServer is the server API for BBsimDmi service.
type DmiCreateEventResponse ¶ added in v1.4.3
type DmiCreateEventResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DmiCreateEventResponse) Descriptor ¶ added in v1.4.3
func (*DmiCreateEventResponse) Descriptor() ([]byte, []int)
func (*DmiCreateEventResponse) GetMessage ¶ added in v1.4.3
func (m *DmiCreateEventResponse) GetMessage() string
func (*DmiCreateEventResponse) GetStatusCode ¶ added in v1.4.3
func (m *DmiCreateEventResponse) GetStatusCode() int32
func (*DmiCreateEventResponse) ProtoMessage ¶ added in v1.4.3
func (*DmiCreateEventResponse) ProtoMessage()
func (*DmiCreateEventResponse) Reset ¶ added in v1.4.3
func (m *DmiCreateEventResponse) Reset()
func (*DmiCreateEventResponse) String ¶ added in v1.4.3
func (m *DmiCreateEventResponse) String() string
func (*DmiCreateEventResponse) XXX_DiscardUnknown ¶ added in v1.4.3
func (m *DmiCreateEventResponse) XXX_DiscardUnknown()
func (*DmiCreateEventResponse) XXX_Marshal ¶ added in v1.4.3
func (m *DmiCreateEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DmiCreateEventResponse) XXX_Merge ¶ added in v1.4.3
func (m *DmiCreateEventResponse) XXX_Merge(src proto.Message)
func (*DmiCreateEventResponse) XXX_Size ¶ added in v1.4.3
func (m *DmiCreateEventResponse) XXX_Size() int
func (*DmiCreateEventResponse) XXX_Unmarshal ¶ added in v1.4.3
func (m *DmiCreateEventResponse) XXX_Unmarshal(b []byte) error
type DmiEvent ¶ added in v1.4.3
type DmiEvent struct { EventName string `protobuf:"bytes,1,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DmiEvent) Descriptor ¶ added in v1.4.3
func (*DmiEvent) GetEventName ¶ added in v1.4.3
func (*DmiEvent) ProtoMessage ¶ added in v1.4.3
func (*DmiEvent) ProtoMessage()
func (*DmiEvent) XXX_DiscardUnknown ¶ added in v1.4.3
func (m *DmiEvent) XXX_DiscardUnknown()
func (*DmiEvent) XXX_Marshal ¶ added in v1.4.3
func (*DmiEvent) XXX_Unmarshal ¶ added in v1.4.3
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type Flows ¶ added in v0.0.18
type Flows struct { FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"` Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Flows) Descriptor ¶ added in v0.0.18
func (*Flows) GetFlowCount ¶ added in v0.0.18
func (*Flows) ProtoMessage ¶ added in v0.0.18
func (*Flows) ProtoMessage()
func (*Flows) XXX_DiscardUnknown ¶ added in v0.0.18
func (m *Flows) XXX_DiscardUnknown()
func (*Flows) XXX_Marshal ¶ added in v0.0.18
func (*Flows) XXX_Unmarshal ¶ added in v0.0.18
type IgmpRequest ¶ added in v0.0.15
type IgmpRequest struct { OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"` SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"` GroupAddress string `protobuf:"bytes,3,opt,name=GroupAddress,proto3" json:"GroupAddress,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IgmpRequest) Descriptor ¶ added in v0.0.15
func (*IgmpRequest) Descriptor() ([]byte, []int)
func (*IgmpRequest) GetGroupAddress ¶ added in v1.5.0
func (m *IgmpRequest) GetGroupAddress() string
func (*IgmpRequest) GetOnuReq ¶ added in v0.0.15
func (m *IgmpRequest) GetOnuReq() *ONURequest
func (*IgmpRequest) GetSubActionVal ¶ added in v0.0.15
func (m *IgmpRequest) GetSubActionVal() SubActionTypes
func (*IgmpRequest) ProtoMessage ¶ added in v0.0.15
func (*IgmpRequest) ProtoMessage()
func (*IgmpRequest) Reset ¶ added in v0.0.15
func (m *IgmpRequest) Reset()
func (*IgmpRequest) String ¶ added in v0.0.15
func (m *IgmpRequest) String() string
func (*IgmpRequest) XXX_DiscardUnknown ¶ added in v0.0.15
func (m *IgmpRequest) XXX_DiscardUnknown()
func (*IgmpRequest) XXX_Marshal ¶ added in v0.0.15
func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IgmpRequest) XXX_Merge ¶ added in v0.0.15
func (m *IgmpRequest) XXX_Merge(src proto.Message)
func (*IgmpRequest) XXX_Size ¶ added in v0.0.15
func (m *IgmpRequest) XXX_Size() int
func (*IgmpRequest) XXX_Unmarshal ¶ added in v0.0.15
func (m *IgmpRequest) XXX_Unmarshal(b []byte) error
type LogLevel ¶
type LogLevel struct { Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LogLevel) Descriptor ¶
func (*LogLevel) ProtoMessage ¶
func (*LogLevel) ProtoMessage()
func (*LogLevel) XXX_DiscardUnknown ¶
func (m *LogLevel) XXX_DiscardUnknown()
func (*LogLevel) XXX_Marshal ¶
func (*LogLevel) XXX_Unmarshal ¶
type NNIPort ¶
type NNIPort struct { ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NNIPort) Descriptor ¶
func (*NNIPort) GetOperState ¶
func (*NNIPort) ProtoMessage ¶
func (*NNIPort) ProtoMessage()
func (*NNIPort) XXX_DiscardUnknown ¶
func (m *NNIPort) XXX_DiscardUnknown()
func (*NNIPort) XXX_Marshal ¶
func (*NNIPort) XXX_Unmarshal ¶
type OLTAlarmRequest ¶ added in v0.0.18
type OLTAlarmRequest struct { InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"` InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,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:"-"` }
OLT alarm request
func (*OLTAlarmRequest) Descriptor ¶ added in v0.0.18
func (*OLTAlarmRequest) Descriptor() ([]byte, []int)
func (*OLTAlarmRequest) GetInterfaceID ¶ added in v0.0.18
func (m *OLTAlarmRequest) GetInterfaceID() uint32
func (*OLTAlarmRequest) GetInterfaceType ¶ added in v0.0.18
func (m *OLTAlarmRequest) GetInterfaceType() string
func (*OLTAlarmRequest) GetStatus ¶ added in v0.0.18
func (m *OLTAlarmRequest) GetStatus() string
func (*OLTAlarmRequest) ProtoMessage ¶ added in v0.0.18
func (*OLTAlarmRequest) ProtoMessage()
func (*OLTAlarmRequest) Reset ¶ added in v0.0.18
func (m *OLTAlarmRequest) Reset()
func (*OLTAlarmRequest) String ¶ added in v0.0.18
func (m *OLTAlarmRequest) String() string
func (*OLTAlarmRequest) XXX_DiscardUnknown ¶ added in v0.0.18
func (m *OLTAlarmRequest) XXX_DiscardUnknown()
func (*OLTAlarmRequest) XXX_Marshal ¶ added in v0.0.18
func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OLTAlarmRequest) XXX_Merge ¶ added in v0.0.18
func (m *OLTAlarmRequest) XXX_Merge(src proto.Message)
func (*OLTAlarmRequest) XXX_Size ¶ added in v0.0.18
func (m *OLTAlarmRequest) XXX_Size() int
func (*OLTAlarmRequest) XXX_Unmarshal ¶ added in v0.0.18
func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error
type ONU ¶
type ONU struct { ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"` InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"` PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"` HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"` // Deprecated: Do not use. PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"` // Deprecated: Do not use. Services []*Service `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"` // Deprecated: Do not use. ImageSoftwareExpectedSections int32 `protobuf:"varint,11,opt,name=ImageSoftwareExpectedSections,proto3" json:"ImageSoftwareExpectedSections,omitempty"` ImageSoftwareReceivedSections int32 `protobuf:"varint,12,opt,name=ImageSoftwareReceivedSections,proto3" json:"ImageSoftwareReceivedSections,omitempty"` ActiveImageEntityId int32 `protobuf:"varint,13,opt,name=ActiveImageEntityId,proto3" json:"ActiveImageEntityId,omitempty"` CommittedImageEntityId int32 `protobuf:"varint,14,opt,name=CommittedImageEntityId,proto3" json:"CommittedImageEntityId,omitempty"` Unis []*UNI `protobuf:"bytes,15,rep,name=unis,proto3" json:"unis,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ONU) Descriptor ¶
func (*ONU) GetActiveImageEntityId ¶ added in v1.5.2
func (*ONU) GetCommittedImageEntityId ¶ added in v1.5.2
func (*ONU) GetHwAddress
deprecated
func (*ONU) GetImageSoftwareExpectedSections ¶ added in v1.5.2
func (*ONU) GetImageSoftwareReceivedSections ¶ added in v1.5.2
func (*ONU) GetInternalState ¶
func (*ONU) GetOperState ¶
func (*ONU) GetPonPortID ¶
func (*ONU) GetSerialNumber ¶
func (*ONU) GetServices
deprecated
added in
v1.0.0
func (*ONU) ProtoMessage ¶
func (*ONU) ProtoMessage()
func (*ONU) XXX_DiscardUnknown ¶
func (m *ONU) XXX_DiscardUnknown()
func (*ONU) XXX_Unmarshal ¶
type ONUAlarmRequest ¶ added in v0.0.18
type ONUAlarmRequest struct { AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"` SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"` Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ONUAlarmRequest includes fields common to every Onu alarm, plus an optional list of AlarmParameter list that can be used to set additional fields in alarms that support them.
func (*ONUAlarmRequest) Descriptor ¶ added in v0.0.18
func (*ONUAlarmRequest) Descriptor() ([]byte, []int)
func (*ONUAlarmRequest) GetAlarmType ¶ added in v0.0.18
func (m *ONUAlarmRequest) GetAlarmType() string
func (*ONUAlarmRequest) GetParameters ¶ added in v0.0.18
func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter
func (*ONUAlarmRequest) GetSerialNumber ¶ added in v0.0.18
func (m *ONUAlarmRequest) GetSerialNumber() string
func (*ONUAlarmRequest) GetStatus ¶ added in v0.0.18
func (m *ONUAlarmRequest) GetStatus() string
func (*ONUAlarmRequest) ProtoMessage ¶ added in v0.0.18
func (*ONUAlarmRequest) ProtoMessage()
func (*ONUAlarmRequest) Reset ¶ added in v0.0.18
func (m *ONUAlarmRequest) Reset()
func (*ONUAlarmRequest) String ¶ added in v0.0.18
func (m *ONUAlarmRequest) String() string
func (*ONUAlarmRequest) XXX_DiscardUnknown ¶ added in v0.0.18
func (m *ONUAlarmRequest) XXX_DiscardUnknown()
func (*ONUAlarmRequest) XXX_Marshal ¶ added in v0.0.18
func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ONUAlarmRequest) XXX_Merge ¶ added in v0.0.18
func (m *ONUAlarmRequest) XXX_Merge(src proto.Message)
func (*ONUAlarmRequest) XXX_Size ¶ added in v0.0.18
func (m *ONUAlarmRequest) XXX_Size() int
func (*ONUAlarmRequest) XXX_Unmarshal ¶ added in v0.0.18
func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error
type ONURequest ¶
type ONURequest struct { SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ONURequest) Descriptor ¶
func (*ONURequest) Descriptor() ([]byte, []int)
func (*ONURequest) GetSerialNumber ¶
func (m *ONURequest) GetSerialNumber() string
func (*ONURequest) ProtoMessage ¶
func (*ONURequest) ProtoMessage()
func (*ONURequest) Reset ¶
func (m *ONURequest) Reset()
func (*ONURequest) String ¶
func (m *ONURequest) String() string
func (*ONURequest) XXX_DiscardUnknown ¶
func (m *ONURequest) XXX_DiscardUnknown()
func (*ONURequest) XXX_Marshal ¶
func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ONURequest) XXX_Merge ¶
func (m *ONURequest) XXX_Merge(src proto.Message)
func (*ONURequest) XXX_Size ¶
func (m *ONURequest) XXX_Size() int
func (*ONURequest) XXX_Unmarshal ¶
func (m *ONURequest) XXX_Unmarshal(b []byte) error
type ONUTrafficSchedulers ¶ added in v0.0.18
type ONUTrafficSchedulers struct { TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ONUTrafficSchedulers) Descriptor ¶ added in v0.0.18
func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int)
func (*ONUTrafficSchedulers) GetTraffSchedulers ¶ added in v0.0.18
func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers
func (*ONUTrafficSchedulers) ProtoMessage ¶ added in v0.0.18
func (*ONUTrafficSchedulers) ProtoMessage()
func (*ONUTrafficSchedulers) Reset ¶ added in v0.0.18
func (m *ONUTrafficSchedulers) Reset()
func (*ONUTrafficSchedulers) String ¶ added in v0.0.18
func (m *ONUTrafficSchedulers) String() string
func (*ONUTrafficSchedulers) XXX_DiscardUnknown ¶ added in v0.0.18
func (m *ONUTrafficSchedulers) XXX_DiscardUnknown()
func (*ONUTrafficSchedulers) XXX_Marshal ¶ added in v0.0.18
func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ONUTrafficSchedulers) XXX_Merge ¶ added in v0.0.18
func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message)
func (*ONUTrafficSchedulers) XXX_Size ¶ added in v0.0.18
func (m *ONUTrafficSchedulers) XXX_Size() int
func (*ONUTrafficSchedulers) XXX_Unmarshal ¶ added in v0.0.18
func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error
type ONUs ¶
type ONUs struct { Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ONUs) Descriptor ¶
func (*ONUs) ProtoMessage ¶
func (*ONUs) ProtoMessage()
func (*ONUs) XXX_DiscardUnknown ¶
func (m *ONUs) XXX_DiscardUnknown()
func (*ONUs) XXX_Unmarshal ¶
type Olt ¶
type Olt struct { ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"` InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"` IP string `protobuf:"bytes,7,opt,name=IP,proto3" json:"IP,omitempty"` NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"` PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Olt) Descriptor ¶
func (*Olt) GetInternalState ¶
func (*Olt) GetNNIPorts ¶
func (*Olt) GetOperState ¶
func (*Olt) GetPONPorts ¶
func (*Olt) GetSerialNumber ¶
func (*Olt) ProtoMessage ¶
func (*Olt) ProtoMessage()
func (*Olt) XXX_DiscardUnknown ¶
func (m *Olt) XXX_DiscardUnknown()
func (*Olt) XXX_Unmarshal ¶
type OltAllocatedResource ¶ added in v1.5.2
type OltAllocatedResource struct { Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` PonPortId uint32 `protobuf:"varint,2,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"` OnuId uint32 `protobuf:"varint,3,opt,name=OnuId,proto3" json:"OnuId,omitempty"` PortNo uint32 `protobuf:"varint,4,opt,name=PortNo,proto3" json:"PortNo,omitempty"` ResourceId int32 `protobuf:"varint,5,opt,name=ResourceId,proto3" json:"ResourceId,omitempty"` FlowId uint64 `protobuf:"varint,6,opt,name=FlowId,proto3" json:"FlowId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OltAllocatedResource) Descriptor ¶ added in v1.5.2
func (*OltAllocatedResource) Descriptor() ([]byte, []int)
func (*OltAllocatedResource) GetFlowId ¶ added in v1.5.2
func (m *OltAllocatedResource) GetFlowId() uint64
func (*OltAllocatedResource) GetOnuId ¶ added in v1.5.2
func (m *OltAllocatedResource) GetOnuId() uint32
func (*OltAllocatedResource) GetPonPortId ¶ added in v1.5.2
func (m *OltAllocatedResource) GetPonPortId() uint32
func (*OltAllocatedResource) GetPortNo ¶ added in v1.5.2
func (m *OltAllocatedResource) GetPortNo() uint32
func (*OltAllocatedResource) GetResourceId ¶ added in v1.5.2
func (m *OltAllocatedResource) GetResourceId() int32
func (*OltAllocatedResource) GetType ¶ added in v1.5.2
func (m *OltAllocatedResource) GetType() string
func (*OltAllocatedResource) ProtoMessage ¶ added in v1.5.2
func (*OltAllocatedResource) ProtoMessage()
func (*OltAllocatedResource) Reset ¶ added in v1.5.2
func (m *OltAllocatedResource) Reset()
func (*OltAllocatedResource) String ¶ added in v1.5.2
func (m *OltAllocatedResource) String() string
func (*OltAllocatedResource) XXX_DiscardUnknown ¶ added in v1.5.2
func (m *OltAllocatedResource) XXX_DiscardUnknown()
func (*OltAllocatedResource) XXX_Marshal ¶ added in v1.5.2
func (m *OltAllocatedResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OltAllocatedResource) XXX_Merge ¶ added in v1.5.2
func (m *OltAllocatedResource) XXX_Merge(src proto.Message)
func (*OltAllocatedResource) XXX_Size ¶ added in v1.5.2
func (m *OltAllocatedResource) XXX_Size() int
func (*OltAllocatedResource) XXX_Unmarshal ¶ added in v1.5.2
func (m *OltAllocatedResource) XXX_Unmarshal(b []byte) error
type OltAllocatedResourceType ¶ added in v1.5.2
type OltAllocatedResourceType struct { Type OltAllocatedResourceType_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bbsim.OltAllocatedResourceType_Type" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OltAllocatedResourceType) Descriptor ¶ added in v1.5.2
func (*OltAllocatedResourceType) Descriptor() ([]byte, []int)
func (*OltAllocatedResourceType) GetType ¶ added in v1.5.2
func (m *OltAllocatedResourceType) GetType() OltAllocatedResourceType_Type
func (*OltAllocatedResourceType) ProtoMessage ¶ added in v1.5.2
func (*OltAllocatedResourceType) ProtoMessage()
func (*OltAllocatedResourceType) Reset ¶ added in v1.5.2
func (m *OltAllocatedResourceType) Reset()
func (*OltAllocatedResourceType) String ¶ added in v1.5.2
func (m *OltAllocatedResourceType) String() string
func (*OltAllocatedResourceType) XXX_DiscardUnknown ¶ added in v1.5.2
func (m *OltAllocatedResourceType) XXX_DiscardUnknown()
func (*OltAllocatedResourceType) XXX_Marshal ¶ added in v1.5.2
func (m *OltAllocatedResourceType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OltAllocatedResourceType) XXX_Merge ¶ added in v1.5.2
func (m *OltAllocatedResourceType) XXX_Merge(src proto.Message)
func (*OltAllocatedResourceType) XXX_Size ¶ added in v1.5.2
func (m *OltAllocatedResourceType) XXX_Size() int
func (*OltAllocatedResourceType) XXX_Unmarshal ¶ added in v1.5.2
func (m *OltAllocatedResourceType) XXX_Unmarshal(b []byte) error
type OltAllocatedResourceType_Type ¶ added in v1.5.2
type OltAllocatedResourceType_Type int32
const ( OltAllocatedResourceType_UNKNOWN OltAllocatedResourceType_Type = 0 OltAllocatedResourceType_ALLOC_ID OltAllocatedResourceType_Type = 1 OltAllocatedResourceType_GEM_PORT OltAllocatedResourceType_Type = 2 )
func (OltAllocatedResourceType_Type) EnumDescriptor ¶ added in v1.5.2
func (OltAllocatedResourceType_Type) EnumDescriptor() ([]byte, []int)
func (OltAllocatedResourceType_Type) String ¶ added in v1.5.2
func (x OltAllocatedResourceType_Type) String() string
type OltAllocatedResources ¶ added in v1.5.2
type OltAllocatedResources struct { Resources []*OltAllocatedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OltAllocatedResources) Descriptor ¶ added in v1.5.2
func (*OltAllocatedResources) Descriptor() ([]byte, []int)
func (*OltAllocatedResources) GetResources ¶ added in v1.5.2
func (m *OltAllocatedResources) GetResources() []*OltAllocatedResource
func (*OltAllocatedResources) ProtoMessage ¶ added in v1.5.2
func (*OltAllocatedResources) ProtoMessage()
func (*OltAllocatedResources) Reset ¶ added in v1.5.2
func (m *OltAllocatedResources) Reset()
func (*OltAllocatedResources) String ¶ added in v1.5.2
func (m *OltAllocatedResources) String() string
func (*OltAllocatedResources) XXX_DiscardUnknown ¶ added in v1.5.2
func (m *OltAllocatedResources) XXX_DiscardUnknown()
func (*OltAllocatedResources) XXX_Marshal ¶ added in v1.5.2
func (m *OltAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OltAllocatedResources) XXX_Merge ¶ added in v1.5.2
func (m *OltAllocatedResources) XXX_Merge(src proto.Message)
func (*OltAllocatedResources) XXX_Size ¶ added in v1.5.2
func (m *OltAllocatedResources) XXX_Size() int
func (*OltAllocatedResources) XXX_Unmarshal ¶ added in v1.5.2
func (m *OltAllocatedResources) XXX_Unmarshal(b []byte) error
type PONPort ¶
type PONPort struct { ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"` InternalState string `protobuf:"bytes,3,opt,name=InternalState,proto3" json:"InternalState,omitempty"` PacketCount uint64 `protobuf:"varint,4,opt,name=PacketCount,proto3" json:"PacketCount,omitempty"` // ONU ID are reported by VOLTHA in the ActivateOnu call AllocatedOnuIds []*PonAllocatedResources `protobuf:"bytes,5,rep,name=AllocatedOnuIds,proto3" json:"AllocatedOnuIds,omitempty"` // these are the stored resource IDs as reported via OMCI AllocatedGemPorts []*PonAllocatedResources `protobuf:"bytes,6,rep,name=AllocatedGemPorts,proto3" json:"AllocatedGemPorts,omitempty"` AllocatedAllocIds []*PonAllocatedResources `protobuf:"bytes,7,rep,name=AllocatedAllocIds,proto3" json:"AllocatedAllocIds,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PONPort) Descriptor ¶
func (*PONPort) GetAllocatedAllocIds ¶ added in v1.5.2
func (m *PONPort) GetAllocatedAllocIds() []*PonAllocatedResources
func (*PONPort) GetAllocatedGemPorts ¶ added in v1.5.2
func (m *PONPort) GetAllocatedGemPorts() []*PonAllocatedResources
func (*PONPort) GetAllocatedOnuIds ¶ added in v1.5.2
func (m *PONPort) GetAllocatedOnuIds() []*PonAllocatedResources
func (*PONPort) GetInternalState ¶ added in v1.5.2
func (*PONPort) GetOperState ¶
func (*PONPort) GetPacketCount ¶ added in v1.5.2
func (*PONPort) ProtoMessage ¶
func (*PONPort) ProtoMessage()
func (*PONPort) XXX_DiscardUnknown ¶
func (m *PONPort) XXX_DiscardUnknown()
func (*PONPort) XXX_Marshal ¶
func (*PONPort) XXX_Unmarshal ¶
type PONRequest ¶ added in v0.0.19
type PONRequest struct { PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PONRequest) Descriptor ¶ added in v0.0.19
func (*PONRequest) Descriptor() ([]byte, []int)
func (*PONRequest) GetPonPortId ¶ added in v0.0.19
func (m *PONRequest) GetPonPortId() uint32
func (*PONRequest) ProtoMessage ¶ added in v0.0.19
func (*PONRequest) ProtoMessage()
func (*PONRequest) Reset ¶ added in v0.0.19
func (m *PONRequest) Reset()
func (*PONRequest) String ¶ added in v0.0.19
func (m *PONRequest) String() string
func (*PONRequest) XXX_DiscardUnknown ¶ added in v0.0.19
func (m *PONRequest) XXX_DiscardUnknown()
func (*PONRequest) XXX_Marshal ¶ added in v0.0.19
func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PONRequest) XXX_Merge ¶ added in v0.0.19
func (m *PONRequest) XXX_Merge(src proto.Message)
func (*PONRequest) XXX_Size ¶ added in v0.0.19
func (m *PONRequest) XXX_Size() int
func (*PONRequest) XXX_Unmarshal ¶ added in v0.0.19
func (m *PONRequest) XXX_Unmarshal(b []byte) error
type PonAllocatedResources ¶ added in v1.5.2
type PonAllocatedResources struct { SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` Id int32 `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PonAllocatedResources) Descriptor ¶ added in v1.5.2
func (*PonAllocatedResources) Descriptor() ([]byte, []int)
func (*PonAllocatedResources) GetId ¶ added in v1.5.2
func (m *PonAllocatedResources) GetId() int32
func (*PonAllocatedResources) GetSerialNumber ¶ added in v1.5.2
func (m *PonAllocatedResources) GetSerialNumber() string
func (*PonAllocatedResources) ProtoMessage ¶ added in v1.5.2
func (*PonAllocatedResources) ProtoMessage()
func (*PonAllocatedResources) Reset ¶ added in v1.5.2
func (m *PonAllocatedResources) Reset()
func (*PonAllocatedResources) String ¶ added in v1.5.2
func (m *PonAllocatedResources) String() string
func (*PonAllocatedResources) XXX_DiscardUnknown ¶ added in v1.5.2
func (m *PonAllocatedResources) XXX_DiscardUnknown()
func (*PonAllocatedResources) XXX_Marshal ¶ added in v1.5.2
func (m *PonAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PonAllocatedResources) XXX_Merge ¶ added in v1.5.2
func (m *PonAllocatedResources) XXX_Merge(src proto.Message)
func (*PonAllocatedResources) XXX_Size ¶ added in v1.5.2
func (m *PonAllocatedResources) XXX_Size() int
func (*PonAllocatedResources) XXX_Unmarshal ¶ added in v1.5.2
func (m *PonAllocatedResources) XXX_Unmarshal(b []byte) error
type Response ¶
type Response struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) GetMessage ¶
func (*Response) GetStatusCode ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type Service ¶ added in v1.0.0
type Service struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"` OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"` STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"` CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"` NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"` NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"` NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"` GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"` EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"` DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"` InternalState string `protobuf:"bytes,12,opt,name=InternalState,proto3" json:"InternalState,omitempty"` IGMPState string `protobuf:"bytes,13,opt,name=IGMPState,proto3" json:"IGMPState,omitempty"` UniId uint32 `protobuf:"varint,14,opt,name=UniId,proto3" json:"UniId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Service) Descriptor ¶ added in v1.0.0
func (*Service) GetDhcpState ¶ added in v1.0.0
func (*Service) GetEapolState ¶ added in v1.0.0
func (*Service) GetGemPort ¶ added in v1.0.0
func (*Service) GetHwAddress ¶ added in v1.0.0
func (*Service) GetIGMPState ¶ added in v1.0.0
func (*Service) GetInternalState ¶ added in v1.0.0
func (*Service) GetNeedsDhcp ¶ added in v1.0.0
func (*Service) GetNeedsEapol ¶ added in v1.0.0
func (*Service) GetNeedsIgmp ¶ added in v1.0.0
func (*Service) ProtoMessage ¶ added in v1.0.0
func (*Service) ProtoMessage()
func (*Service) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *Service) XXX_DiscardUnknown()
func (*Service) XXX_Marshal ¶ added in v1.0.0
func (*Service) XXX_Unmarshal ¶ added in v1.0.0
type Services ¶ added in v1.0.0
type Services struct { Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Services) Descriptor ¶ added in v1.0.0
func (*Services) ProtoMessage ¶ added in v1.0.0
func (*Services) ProtoMessage()
func (*Services) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *Services) XXX_DiscardUnknown()
func (*Services) XXX_Marshal ¶ added in v1.0.0
func (*Services) XXX_Unmarshal ¶ added in v1.0.0
type SubActionTypes ¶ added in v0.0.15
type SubActionTypes int32
const ( SubActionTypes_JOIN SubActionTypes = 0 SubActionTypes_LEAVE SubActionTypes = 1 SubActionTypes_JOINV3 SubActionTypes = 2 )
func (SubActionTypes) EnumDescriptor ¶ added in v0.0.15
func (SubActionTypes) EnumDescriptor() ([]byte, []int)
func (SubActionTypes) String ¶ added in v0.0.15
func (x SubActionTypes) String() string
type Timeout ¶ added in v1.4.1
type Timeout struct { Delay uint32 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Timeout) Descriptor ¶ added in v1.4.1
func (*Timeout) ProtoMessage ¶ added in v1.4.1
func (*Timeout) ProtoMessage()
func (*Timeout) XXX_DiscardUnknown ¶ added in v1.4.1
func (m *Timeout) XXX_DiscardUnknown()
func (*Timeout) XXX_Marshal ¶ added in v1.4.1
func (*Timeout) XXX_Unmarshal ¶ added in v1.4.1
type UNI ¶ added in v1.8.0
type UNI struct { ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` OnuID int32 `protobuf:"varint,2,opt,name=OnuID,proto3" json:"OnuID,omitempty"` OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"` MeID uint32 `protobuf:"varint,4,opt,name=MeID,proto3" json:"MeID,omitempty"` OperState string `protobuf:"bytes,5,opt,name=OperState,proto3" json:"OperState,omitempty"` PortNo int32 `protobuf:"varint,6,opt,name=PortNo,proto3" json:"PortNo,omitempty"` Services []*Service `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"` Type UniType `protobuf:"varint,8,opt,name=Type,proto3,enum=bbsim.UniType" json:"Type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UNI) Descriptor ¶ added in v1.8.0
func (*UNI) GetOperState ¶ added in v1.8.0
func (*UNI) GetServices ¶ added in v1.8.0
func (*UNI) ProtoMessage ¶ added in v1.8.0
func (*UNI) ProtoMessage()
func (*UNI) XXX_DiscardUnknown ¶ added in v1.8.0
func (m *UNI) XXX_DiscardUnknown()
func (*UNI) XXX_Marshal ¶ added in v1.8.0
func (*UNI) XXX_Unmarshal ¶ added in v1.8.0
type UNIRequest ¶ added in v1.9.0
type UNIRequest struct { OnuSerialNumber string `protobuf:"bytes,1,opt,name=OnuSerialNumber,proto3" json:"OnuSerialNumber,omitempty"` UniID string `protobuf:"bytes,2,opt,name=UniID,proto3" json:"UniID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UNIRequest) Descriptor ¶ added in v1.9.0
func (*UNIRequest) Descriptor() ([]byte, []int)
func (*UNIRequest) GetOnuSerialNumber ¶ added in v1.9.0
func (m *UNIRequest) GetOnuSerialNumber() string
func (*UNIRequest) GetUniID ¶ added in v1.9.0
func (m *UNIRequest) GetUniID() string
func (*UNIRequest) ProtoMessage ¶ added in v1.9.0
func (*UNIRequest) ProtoMessage()
func (*UNIRequest) Reset ¶ added in v1.9.0
func (m *UNIRequest) Reset()
func (*UNIRequest) String ¶ added in v1.9.0
func (m *UNIRequest) String() string
func (*UNIRequest) XXX_DiscardUnknown ¶ added in v1.9.0
func (m *UNIRequest) XXX_DiscardUnknown()
func (*UNIRequest) XXX_Marshal ¶ added in v1.9.0
func (m *UNIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UNIRequest) XXX_Merge ¶ added in v1.9.0
func (m *UNIRequest) XXX_Merge(src proto.Message)
func (*UNIRequest) XXX_Size ¶ added in v1.9.0
func (m *UNIRequest) XXX_Size() int
func (*UNIRequest) XXX_Unmarshal ¶ added in v1.9.0
func (m *UNIRequest) XXX_Unmarshal(b []byte) error
type UNIs ¶ added in v1.8.0
type UNIs struct { Items []*UNI `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UNIs) Descriptor ¶ added in v1.8.0
func (*UNIs) ProtoMessage ¶ added in v1.8.0
func (*UNIs) ProtoMessage()
func (*UNIs) XXX_DiscardUnknown ¶ added in v1.8.0
func (m *UNIs) XXX_DiscardUnknown()
func (*UNIs) XXX_Marshal ¶ added in v1.8.0
func (*UNIs) XXX_Unmarshal ¶ added in v1.8.0
type UnimplementedBBSimServer ¶
type UnimplementedBBSimServer struct { }
UnimplementedBBSimServer can be embedded to have forward compatible implementations.
func (*UnimplementedBBSimServer) ChangeIgmpState ¶ added in v0.0.15
func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error)
func (*UnimplementedBBSimServer) GetFlows ¶ added in v0.0.18
func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error)
func (*UnimplementedBBSimServer) GetONU ¶
func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error)
func (*UnimplementedBBSimServer) GetOltAllocatedResources ¶ added in v1.5.2
func (*UnimplementedBBSimServer) GetOltAllocatedResources(ctx context.Context, req *OltAllocatedResourceType) (*OltAllocatedResources, error)
func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers ¶ added in v0.0.18
func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error)
func (*UnimplementedBBSimServer) GetOnuUnis ¶ added in v1.8.0
func (*UnimplementedBBSimServer) GetOnuUnis(ctx context.Context, req *ONURequest) (*UNIs, error)
func (*UnimplementedBBSimServer) GetServices ¶ added in v1.0.0
func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *UNIRequest) (*Services, error)
func (*UnimplementedBBSimServer) InvalidateMds ¶ added in v1.10.0
func (*UnimplementedBBSimServer) InvalidateMds(ctx context.Context, req *ONURequest) (*Response, error)
func (*UnimplementedBBSimServer) PoweronAllONUs ¶ added in v0.0.19
func (*UnimplementedBBSimServer) PoweronONU ¶
func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error)
func (*UnimplementedBBSimServer) PoweronONUsOnPON ¶ added in v0.0.19
func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error)
func (*UnimplementedBBSimServer) PoweronOlt ¶
func (*UnimplementedBBSimServer) RestartDhcp ¶
func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *UNIRequest) (*Response, error)
func (*UnimplementedBBSimServer) RestartEapol ¶
func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *UNIRequest) (*Response, error)
func (*UnimplementedBBSimServer) RestartgRPCServer ¶ added in v1.4.1
func (*UnimplementedBBSimServer) SetLogLevel ¶
func (*UnimplementedBBSimServer) SetOltAlarmIndication ¶ added in v0.0.18
func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error)
func (*UnimplementedBBSimServer) SetOnuAlarmIndication ¶ added in v0.0.18
func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error)
func (*UnimplementedBBSimServer) ShutdownAllONUs ¶ added in v0.0.19
func (*UnimplementedBBSimServer) ShutdownONU ¶
func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error)
func (*UnimplementedBBSimServer) ShutdownONUsOnPON ¶ added in v0.0.19
func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error)
func (*UnimplementedBBSimServer) ShutdownOlt ¶
func (*UnimplementedBBSimServer) StartgRPCServer ¶ added in v1.4.1
func (*UnimplementedBBSimServer) StopgRPCServer ¶ added in v1.4.1
func (*UnimplementedBBSimServer) Version ¶
func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error)
type UnimplementedBBsimDmiServer ¶ added in v1.4.3
type UnimplementedBBsimDmiServer struct { }
UnimplementedBBsimDmiServer can be embedded to have forward compatible implementations.
func (*UnimplementedBBsimDmiServer) CreateEvent ¶ added in v1.4.3
func (*UnimplementedBBsimDmiServer) CreateEvent(ctx context.Context, req *DmiEvent) (*DmiCreateEventResponse, error)
type VersionNumber ¶
type VersionNumber struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"` CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"` GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VersionNumber) Descriptor ¶
func (*VersionNumber) Descriptor() ([]byte, []int)
func (*VersionNumber) GetBuildTime ¶
func (m *VersionNumber) GetBuildTime() string
func (*VersionNumber) GetCommitHash ¶
func (m *VersionNumber) GetCommitHash() string
func (*VersionNumber) GetGitStatus ¶
func (m *VersionNumber) GetGitStatus() string
func (*VersionNumber) GetVersion ¶
func (m *VersionNumber) GetVersion() string
func (*VersionNumber) ProtoMessage ¶
func (*VersionNumber) ProtoMessage()
func (*VersionNumber) Reset ¶
func (m *VersionNumber) Reset()
func (*VersionNumber) String ¶
func (m *VersionNumber) String() string
func (*VersionNumber) XXX_DiscardUnknown ¶
func (m *VersionNumber) XXX_DiscardUnknown()
func (*VersionNumber) XXX_Marshal ¶
func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VersionNumber) XXX_Merge ¶
func (m *VersionNumber) XXX_Merge(src proto.Message)
func (*VersionNumber) XXX_Size ¶
func (m *VersionNumber) XXX_Size() int
func (*VersionNumber) XXX_Unmarshal ¶
func (m *VersionNumber) XXX_Unmarshal(b []byte) error