factory

package
v0.0.0-...-4948bd9 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfigFactory

func InitConfigFactory(f string)

TODO: Support configuration update from REST api

Types

type Config

type Config struct {
	Info *Info `yaml:"info"`

	Configuration *Configuration `yaml:"configuration"`
}
var RanConfig Config

type Configuration

type Configuration struct {
	RanName string `yaml:"ranName,omitempty"`

	NetworkName context.NetworkName `yaml:"networkName,omitempty"`

	UESubnet string `yaml:"ueSubnet,omitempty"`

	UEList []context.UE `yaml:"ue,omitempty"`

	Sbi *Sbi `yaml:"sbi,omitempty"`

	AmfInterface context.AmfInterface `yaml:"amfInterface,omitempty"`

	UpfInterface context.UpfInterface `yaml:"upfInterface,omitempty"`

	NGRANInterface context.NGRANInterface `yaml:"ngranInterface,omitempty"`

	GTPInterface context.GTPInterface `yaml:"gtpInterface,omitempty"`

	Security context.Security `yaml:"security,omitempty"`

	Snssai context.Snssai `yaml:"snssai,omitempty"`

	PLMN context.PLMN `yaml:"plmn,omitempty"`
}

type Info

type Info struct {
	Version string `yaml:"version,omitempty"`

	Description string `yaml:"description,omitempty"`
}

type Sbi

type Sbi struct {
	Scheme string `yaml:"scheme"`

	IPv4Addr string `yaml:"ipv4Addr,omitempty"`

	Port int `yaml:"port,omitempty"`
}

Jump to

Keyboard shortcuts

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