config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Control

type Control struct {
	Uri      jsonapi.ControlURI `yaml:"uri"`       // may contain domain name instead of ip address
	BindAddr netip.AddrPort     `yaml:"bind-addr"` // in the form `ip:port`
}

type Logger

type Logger struct {
	Level logrus.Level `yaml:"level"`
}

type PDUSession

type PDUSession struct {
	Gnb jsonapi.ControlURI `yaml:"gnb"`
	Dnn string             `yaml:"dnn"`
}

type Ran

type Ran struct {
	BindAddr    netip.AddrPort       `yaml:"bind-addr"`    // in the form ip:port
	Gnbs        []jsonapi.ControlURI `yaml:"gnbs"`         // list of gnb used
	PDUSessions []PDUSession         `yaml:"pdu-sessions"` // list of pdu sessions that will be established
}

type UEConfig

type UEConfig struct {
	Control Control `yaml:"control"`
	Ran     Ran     `yaml:"ran"`
	Logger  *Logger `yaml:"logger,omitempty"`
}

func ParseConf

func ParseConf(file string) (*UEConfig, error)

Jump to

Keyboard shortcuts

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