mho

package
v0.7.89 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2021 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMho        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMho          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMho = fmt.Errorf("proto: unexpected end of group")
)
View Source
var MhoParamType_name = map[int32]string{
	0: "ALL",
	1: "A3OFFSET",
	2: "HYSTERESIS",
	3: "TIMETOTRIGGER",
}
View Source
var MhoParamType_value = map[string]int32{
	"ALL":           0,
	"A3OFFSET":      1,
	"HYSTERESIS":    2,
	"TIMETOTRIGGER": 3,
}

Functions

func RegisterMhoServer

func RegisterMhoServer(s *grpc.Server, srv MhoServer)

Types

type Cell added in v0.7.85

type Cell struct {
	Cgi                    string `protobuf:"bytes,1,opt,name=cgi,proto3" json:"cgi,omitempty"`
	NumUes                 int64  `protobuf:"varint,2,opt,name=num_ues,json=numUes,proto3" json:"num_ues,omitempty"`
	CumulativeHandoversIn  int64  `` /* 127-byte string literal not displayed */
	CumulativeHandoversOut int64  `` /* 130-byte string literal not displayed */
}

func (*Cell) Descriptor added in v0.7.85

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

func (*Cell) GetCgi added in v0.7.85

func (m *Cell) GetCgi() string

func (*Cell) GetCumulativeHandoversIn added in v0.7.85

func (m *Cell) GetCumulativeHandoversIn() int64

func (*Cell) GetCumulativeHandoversOut added in v0.7.85

func (m *Cell) GetCumulativeHandoversOut() int64

func (*Cell) GetNumUes added in v0.7.85

func (m *Cell) GetNumUes() int64

func (*Cell) Marshal added in v0.7.85

func (m *Cell) Marshal() (dAtA []byte, err error)

func (*Cell) MarshalTo added in v0.7.85

func (m *Cell) MarshalTo(dAtA []byte) (int, error)

func (*Cell) MarshalToSizedBuffer added in v0.7.85

func (m *Cell) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Cell) ProtoMessage added in v0.7.85

func (*Cell) ProtoMessage()

func (*Cell) Reset added in v0.7.85

func (m *Cell) Reset()

func (*Cell) Size added in v0.7.85

func (m *Cell) Size() (n int)

func (*Cell) String added in v0.7.85

func (m *Cell) String() string

func (*Cell) Unmarshal added in v0.7.85

func (m *Cell) Unmarshal(dAtA []byte) error

func (*Cell) XXX_DiscardUnknown added in v0.7.85

func (m *Cell) XXX_DiscardUnknown()

func (*Cell) XXX_Marshal added in v0.7.85

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

func (*Cell) XXX_Merge added in v0.7.85

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

func (*Cell) XXX_Size added in v0.7.85

func (m *Cell) XXX_Size() int

func (*Cell) XXX_Unmarshal added in v0.7.85

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

type CellList added in v0.7.85

type CellList struct {
	Cells []*Cell `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"`
}

func (*CellList) Descriptor added in v0.7.85

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

func (*CellList) GetCells added in v0.7.85

func (m *CellList) GetCells() []*Cell

func (*CellList) Marshal added in v0.7.85

func (m *CellList) Marshal() (dAtA []byte, err error)

func (*CellList) MarshalTo added in v0.7.85

func (m *CellList) MarshalTo(dAtA []byte) (int, error)

func (*CellList) MarshalToSizedBuffer added in v0.7.85

func (m *CellList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CellList) ProtoMessage added in v0.7.85

func (*CellList) ProtoMessage()

func (*CellList) Reset added in v0.7.85

func (m *CellList) Reset()

func (*CellList) Size added in v0.7.85

func (m *CellList) Size() (n int)

func (*CellList) String added in v0.7.85

func (m *CellList) String() string

func (*CellList) Unmarshal added in v0.7.85

func (m *CellList) Unmarshal(dAtA []byte) error

func (*CellList) XXX_DiscardUnknown added in v0.7.85

func (m *CellList) XXX_DiscardUnknown()

func (*CellList) XXX_Marshal added in v0.7.85

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

func (*CellList) XXX_Merge added in v0.7.85

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

func (*CellList) XXX_Size added in v0.7.85

func (m *CellList) XXX_Size() int

func (*CellList) XXX_Unmarshal added in v0.7.85

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

type GetMhoParamRequest

type GetMhoParamRequest struct {
	// hoParamType is a type of handover parameter
	HoParamType MhoParamType `protobuf:"varint,1,opt,name=hoParamType,proto3,enum=onos.mho.MhoParamType" json:"hoParamType,omitempty"`
}

func (*GetMhoParamRequest) Descriptor

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

func (*GetMhoParamRequest) GetHoParamType

func (m *GetMhoParamRequest) GetHoParamType() MhoParamType

func (*GetMhoParamRequest) Marshal

func (m *GetMhoParamRequest) Marshal() (dAtA []byte, err error)

func (*GetMhoParamRequest) MarshalTo

func (m *GetMhoParamRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetMhoParamRequest) MarshalToSizedBuffer

func (m *GetMhoParamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetMhoParamRequest) ProtoMessage

func (*GetMhoParamRequest) ProtoMessage()

func (*GetMhoParamRequest) Reset

func (m *GetMhoParamRequest) Reset()

func (*GetMhoParamRequest) Size

func (m *GetMhoParamRequest) Size() (n int)

func (*GetMhoParamRequest) String

func (m *GetMhoParamRequest) String() string

func (*GetMhoParamRequest) Unmarshal

func (m *GetMhoParamRequest) Unmarshal(dAtA []byte) error

func (*GetMhoParamRequest) XXX_DiscardUnknown

func (m *GetMhoParamRequest) XXX_DiscardUnknown()

func (*GetMhoParamRequest) XXX_Marshal

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

func (*GetMhoParamRequest) XXX_Merge

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

func (*GetMhoParamRequest) XXX_Size

func (m *GetMhoParamRequest) XXX_Size() int

func (*GetMhoParamRequest) XXX_Unmarshal

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

type GetMhoParamResponse

type GetMhoParamResponse struct {
	// hoParamType is a type of handover parameter
	HoParamType MhoParamType `protobuf:"varint,1,opt,name=hoParamType,proto3,enum=onos.mho.MhoParamType" json:"hoParamType,omitempty"`
	// A3-Offset value
	A3Offset int32 `protobuf:"varint,2,opt,name=a3Offset,proto3" json:"a3Offset,omitempty"`
	// Hysteresis value
	Hysteresis int32 `protobuf:"varint,3,opt,name=hysteresis,proto3" json:"hysteresis,omitempty"`
	// Time-to-Trigger value
	TimeToTrigger int32 `protobuf:"varint,4,opt,name=timeToTrigger,proto3" json:"timeToTrigger,omitempty"`
}

func (*GetMhoParamResponse) Descriptor

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

func (*GetMhoParamResponse) GetA3Offset

func (m *GetMhoParamResponse) GetA3Offset() int32

func (*GetMhoParamResponse) GetHoParamType

func (m *GetMhoParamResponse) GetHoParamType() MhoParamType

func (*GetMhoParamResponse) GetHysteresis

func (m *GetMhoParamResponse) GetHysteresis() int32

func (*GetMhoParamResponse) GetTimeToTrigger

func (m *GetMhoParamResponse) GetTimeToTrigger() int32

func (*GetMhoParamResponse) Marshal

func (m *GetMhoParamResponse) Marshal() (dAtA []byte, err error)

func (*GetMhoParamResponse) MarshalTo

func (m *GetMhoParamResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetMhoParamResponse) MarshalToSizedBuffer

func (m *GetMhoParamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetMhoParamResponse) ProtoMessage

func (*GetMhoParamResponse) ProtoMessage()

func (*GetMhoParamResponse) Reset

func (m *GetMhoParamResponse) Reset()

func (*GetMhoParamResponse) Size

func (m *GetMhoParamResponse) Size() (n int)

func (*GetMhoParamResponse) String

func (m *GetMhoParamResponse) String() string

func (*GetMhoParamResponse) Unmarshal

func (m *GetMhoParamResponse) Unmarshal(dAtA []byte) error

func (*GetMhoParamResponse) XXX_DiscardUnknown

func (m *GetMhoParamResponse) XXX_DiscardUnknown()

func (*GetMhoParamResponse) XXX_Marshal

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

func (*GetMhoParamResponse) XXX_Merge

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

func (*GetMhoParamResponse) XXX_Size

func (m *GetMhoParamResponse) XXX_Size() int

func (*GetMhoParamResponse) XXX_Unmarshal

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

type GetRequest added in v0.7.85

type GetRequest struct {
}

func (*GetRequest) Descriptor added in v0.7.85

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

func (*GetRequest) Marshal added in v0.7.85

func (m *GetRequest) Marshal() (dAtA []byte, err error)

func (*GetRequest) MarshalTo added in v0.7.85

func (m *GetRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetRequest) MarshalToSizedBuffer added in v0.7.85

func (m *GetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetRequest) ProtoMessage added in v0.7.85

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset added in v0.7.85

func (m *GetRequest) Reset()

func (*GetRequest) Size added in v0.7.85

func (m *GetRequest) Size() (n int)

func (*GetRequest) String added in v0.7.85

func (m *GetRequest) String() string

func (*GetRequest) Unmarshal added in v0.7.85

func (m *GetRequest) Unmarshal(dAtA []byte) error

func (*GetRequest) XXX_DiscardUnknown added in v0.7.85

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal added in v0.7.85

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

func (*GetRequest) XXX_Merge added in v0.7.85

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

func (*GetRequest) XXX_Size added in v0.7.85

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal added in v0.7.85

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

type MhoClient

type MhoClient interface {
	// To get MHO parameters
	GetMhoParams(ctx context.Context, in *GetMhoParamRequest, opts ...grpc.CallOption) (*GetMhoParamResponse, error)
	// To set MHO parameters
	SetMhoParams(ctx context.Context, in *SetMhoParamRequest, opts ...grpc.CallOption) (*SetMhoParamResponse, error)
	GetUes(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*UeList, error)
	GetCells(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*CellList, error)
}

MhoClient is the client API for Mho service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMhoClient

func NewMhoClient(cc *grpc.ClientConn) MhoClient

type MhoParamType

type MhoParamType int32

MhoParamType is enumeration type of MHO parameters

const (
	MhoParamType_ALL           MhoParamType = 0
	MhoParamType_A3OFFSET      MhoParamType = 1
	MhoParamType_HYSTERESIS    MhoParamType = 2
	MhoParamType_TIMETOTRIGGER MhoParamType = 3
)

func (MhoParamType) EnumDescriptor

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

func (MhoParamType) String

func (x MhoParamType) String() string

type MhoServer

type MhoServer interface {
	// To get MHO parameters
	GetMhoParams(context.Context, *GetMhoParamRequest) (*GetMhoParamResponse, error)
	// To set MHO parameters
	SetMhoParams(context.Context, *SetMhoParamRequest) (*SetMhoParamResponse, error)
	GetUes(context.Context, *GetRequest) (*UeList, error)
	GetCells(context.Context, *GetRequest) (*CellList, error)
}

MhoServer is the server API for Mho service.

type SetMhoParamRequest

type SetMhoParamRequest struct {
	// hoParamType is a type of handover parameter
	HoParamType MhoParamType `protobuf:"varint,1,opt,name=hoParamType,proto3,enum=onos.mho.MhoParamType" json:"hoParamType,omitempty"`
	// A3-Offset value
	A3Offset int32 `protobuf:"varint,2,opt,name=a3Offset,proto3" json:"a3Offset,omitempty"`
	// Hysteresis value
	Hysteresis int32 `protobuf:"varint,3,opt,name=hysteresis,proto3" json:"hysteresis,omitempty"`
	// Time-to-Trigger value
	TimeToTrigger int32 `protobuf:"varint,4,opt,name=timeToTrigger,proto3" json:"timeToTrigger,omitempty"`
}

func (*SetMhoParamRequest) Descriptor

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

func (*SetMhoParamRequest) GetA3Offset

func (m *SetMhoParamRequest) GetA3Offset() int32

func (*SetMhoParamRequest) GetHoParamType

func (m *SetMhoParamRequest) GetHoParamType() MhoParamType

func (*SetMhoParamRequest) GetHysteresis

func (m *SetMhoParamRequest) GetHysteresis() int32

func (*SetMhoParamRequest) GetTimeToTrigger

func (m *SetMhoParamRequest) GetTimeToTrigger() int32

func (*SetMhoParamRequest) Marshal

func (m *SetMhoParamRequest) Marshal() (dAtA []byte, err error)

func (*SetMhoParamRequest) MarshalTo

func (m *SetMhoParamRequest) MarshalTo(dAtA []byte) (int, error)

func (*SetMhoParamRequest) MarshalToSizedBuffer

func (m *SetMhoParamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetMhoParamRequest) ProtoMessage

func (*SetMhoParamRequest) ProtoMessage()

func (*SetMhoParamRequest) Reset

func (m *SetMhoParamRequest) Reset()

func (*SetMhoParamRequest) Size

func (m *SetMhoParamRequest) Size() (n int)

func (*SetMhoParamRequest) String

func (m *SetMhoParamRequest) String() string

func (*SetMhoParamRequest) Unmarshal

func (m *SetMhoParamRequest) Unmarshal(dAtA []byte) error

func (*SetMhoParamRequest) XXX_DiscardUnknown

func (m *SetMhoParamRequest) XXX_DiscardUnknown()

func (*SetMhoParamRequest) XXX_Marshal

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

func (*SetMhoParamRequest) XXX_Merge

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

func (*SetMhoParamRequest) XXX_Size

func (m *SetMhoParamRequest) XXX_Size() int

func (*SetMhoParamRequest) XXX_Unmarshal

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

type SetMhoParamResponse

type SetMhoParamResponse struct {
	// success is a result whether MHO param is set successfully or not
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}

func (*SetMhoParamResponse) Descriptor

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

func (*SetMhoParamResponse) GetSuccess

func (m *SetMhoParamResponse) GetSuccess() bool

func (*SetMhoParamResponse) Marshal

func (m *SetMhoParamResponse) Marshal() (dAtA []byte, err error)

func (*SetMhoParamResponse) MarshalTo

func (m *SetMhoParamResponse) MarshalTo(dAtA []byte) (int, error)

func (*SetMhoParamResponse) MarshalToSizedBuffer

func (m *SetMhoParamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetMhoParamResponse) ProtoMessage

func (*SetMhoParamResponse) ProtoMessage()

func (*SetMhoParamResponse) Reset

func (m *SetMhoParamResponse) Reset()

func (*SetMhoParamResponse) Size

func (m *SetMhoParamResponse) Size() (n int)

func (*SetMhoParamResponse) String

func (m *SetMhoParamResponse) String() string

func (*SetMhoParamResponse) Unmarshal

func (m *SetMhoParamResponse) Unmarshal(dAtA []byte) error

func (*SetMhoParamResponse) XXX_DiscardUnknown

func (m *SetMhoParamResponse) XXX_DiscardUnknown()

func (*SetMhoParamResponse) XXX_Marshal

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

func (*SetMhoParamResponse) XXX_Merge

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

func (*SetMhoParamResponse) XXX_Size

func (m *SetMhoParamResponse) XXX_Size() int

func (*SetMhoParamResponse) XXX_Unmarshal

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

type UE added in v0.7.85

type UE struct {
	UeId     string `protobuf:"bytes,1,opt,name=ue_id,json=ueId,proto3" json:"ue_id,omitempty"`
	RrcState string `protobuf:"bytes,2,opt,name=rrc_state,json=rrcState,proto3" json:"rrc_state,omitempty"`
	Cgi      string `protobuf:"bytes,3,opt,name=cgi,proto3" json:"cgi,omitempty"`
}

func (*UE) Descriptor added in v0.7.85

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

func (*UE) GetCgi added in v0.7.85

func (m *UE) GetCgi() string

func (*UE) GetRrcState added in v0.7.85

func (m *UE) GetRrcState() string

func (*UE) GetUeId added in v0.7.85

func (m *UE) GetUeId() string

func (*UE) Marshal added in v0.7.85

func (m *UE) Marshal() (dAtA []byte, err error)

func (*UE) MarshalTo added in v0.7.85

func (m *UE) MarshalTo(dAtA []byte) (int, error)

func (*UE) MarshalToSizedBuffer added in v0.7.85

func (m *UE) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UE) ProtoMessage added in v0.7.85

func (*UE) ProtoMessage()

func (*UE) Reset added in v0.7.85

func (m *UE) Reset()

func (*UE) Size added in v0.7.85

func (m *UE) Size() (n int)

func (*UE) String added in v0.7.85

func (m *UE) String() string

func (*UE) Unmarshal added in v0.7.85

func (m *UE) Unmarshal(dAtA []byte) error

func (*UE) XXX_DiscardUnknown added in v0.7.85

func (m *UE) XXX_DiscardUnknown()

func (*UE) XXX_Marshal added in v0.7.85

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

func (*UE) XXX_Merge added in v0.7.85

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

func (*UE) XXX_Size added in v0.7.85

func (m *UE) XXX_Size() int

func (*UE) XXX_Unmarshal added in v0.7.85

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

type UeList added in v0.7.85

type UeList struct {
	Ues []*UE `protobuf:"bytes,1,rep,name=ues,proto3" json:"ues,omitempty"`
}

func (*UeList) Descriptor added in v0.7.85

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

func (*UeList) GetUes added in v0.7.85

func (m *UeList) GetUes() []*UE

func (*UeList) Marshal added in v0.7.85

func (m *UeList) Marshal() (dAtA []byte, err error)

func (*UeList) MarshalTo added in v0.7.85

func (m *UeList) MarshalTo(dAtA []byte) (int, error)

func (*UeList) MarshalToSizedBuffer added in v0.7.85

func (m *UeList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UeList) ProtoMessage added in v0.7.85

func (*UeList) ProtoMessage()

func (*UeList) Reset added in v0.7.85

func (m *UeList) Reset()

func (*UeList) Size added in v0.7.85

func (m *UeList) Size() (n int)

func (*UeList) String added in v0.7.85

func (m *UeList) String() string

func (*UeList) Unmarshal added in v0.7.85

func (m *UeList) Unmarshal(dAtA []byte) error

func (*UeList) XXX_DiscardUnknown added in v0.7.85

func (m *UeList) XXX_DiscardUnknown()

func (*UeList) XXX_Marshal added in v0.7.85

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

func (*UeList) XXX_Merge added in v0.7.85

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

func (*UeList) XXX_Size added in v0.7.85

func (m *UeList) XXX_Size() int

func (*UeList) XXX_Unmarshal added in v0.7.85

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

type UnimplementedMhoServer

type UnimplementedMhoServer struct {
}

UnimplementedMhoServer can be embedded to have forward compatible implementations.

func (*UnimplementedMhoServer) GetCells added in v0.7.85

func (*UnimplementedMhoServer) GetMhoParams

func (*UnimplementedMhoServer) GetUes added in v0.7.85

func (*UnimplementedMhoServer) SetMhoParams

Jump to

Keyboard shortcuts

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