sbi

package
v0.0.0-...-8f6edbe Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(cfg SbiCfg) (err error)

Init - RNI Service SBI initialization

func Run

func Run() (err error)

Run - MEEP RNIS execution

func Stop

func Stop() (err error)

Types

type AppInfoSbi

type AppInfoSbi struct {
	Name         string
	ParentType   string
	ParentName   string
	Latency      int32
	ThroughputUL int32
	ThroughputDL int32
	PacketLoss   float64
}

type PoaInfoSbi

type PoaInfoSbi struct {
	Name         string
	PoaType      string
	Mnc          string
	Mcc          string
	CellId       string
	Latency      int32
	ThroughputUL int32
	ThroughputDL int32
	PacketLoss   float64
}

type RnisSbi

type RnisSbi struct {
	// contains filtered or unexported fields
}

type SbiCfg

type SbiCfg struct {
	ModuleName     string
	SandboxName    string
	MepName        string
	RedisAddr      string
	Locality       []string
	UeDataCb       func(UeDataSbi)
	MeasInfoCb     func(string, string, []string, []int32, []int32)
	PoaInfoCb      func(PoaInfoSbi)
	AppInfoCb      func(AppInfoSbi)
	DomainDataCb   func(string, string, string, string)
	ScenarioNameCb func(string)
	CleanUpCb      func()
}

type UeDataSbi

type UeDataSbi struct {
	Name          string
	Mnc           string
	Mcc           string
	CellId        string
	NrCellId      string
	ErabIdValid   bool
	AppNames      []string
	Latency       int32
	ThroughputUL  int32
	ThroughputDL  int32
	PacketLoss    float64
	ParentPoaName string
	InRangePoas   []string
	InRangeRsrps  []int32
	InRangeRsrqs  []int32
}

Jump to

Keyboard shortcuts

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