Documentation ¶
Index ¶
- Variables
- func ForecaseGenerator(dir string, blcok_size int, cpu_max int, cpu_discount float64, ...)
- func RequsetGenerator(dir string, slice_info_dictionary []SliceList, num_tenant int, num_slice int, ...)
- func SliceRequestGenerator(dir string, gnb_tenant_dictionary []string, num_slice int, cpu_max int, ...)
- type Block
- type ForecastingBlock
- type Slice
- type SliceList
Constants ¶
This section is empty.
Variables ¶
View Source
var Bandwidth_min = 1
View Source
var Cpu_base = 100
View Source
var Cpu_min = 2
View Source
var Slice_Duration_base = 100
View Source
var Slice_Duration_min = 1
Functions ¶
func ForecaseGenerator ¶
func ForecaseGenerator(dir string, blcok_size int, cpu_max int, cpu_discount float64, bandwidthLimit int, bandwidth_discount float64)
generate forecaseting blocks for each slice
func RequsetGenerator ¶
func RequsetGenerator(dir string, slice_info_dictionary []SliceList, num_tenant int, num_slice int, extra_request_num_each_timewindow int)
generate network slice request in each timewindow (dir of set, num of tenant, num of network slice each tenant, num of extra request) basic request number = tenant number
func SliceRequestGenerator ¶
func SliceRequestGenerator(dir string, gnb_tenant_dictionary []string, num_slice int, cpu_max int, cpu_lambda int, bandwidthLimit int, bandwidth_lambda int, slice_duration int, slice_duration_random bool, timewindow_duration int, extra_request_num_each_timewindow int)
generate network slice info of each tenant and slice request
Types ¶
type Block ¶
type Block = slicebinpack.Block
type ForecastingBlock ¶
type ForecastingBlock = nsrhandler.ForecastingBlock
type Slice ¶
type Slice = slicebinpack.Slice
type SliceList ¶
type SliceList = nsrhandler.SliceList
Click to show internal directories.
Click to hide internal directories.