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
func InitRoutingConfigFactory ¶
func InitRoutingConfigFactory(f string)
Types ¶
type Config ¶
type Config struct { Info Info `yaml:"info"` Configuration Configuration `yaml:"configuration"` }
var SmfConfig Config
type Configuration ¶
type Configuration struct { SmfName string `yaml:"smfName,omitempty"` Sbi *Sbi `yaml:"sbi,omitempty"` PFCP *PFCP `yaml:"pfcp,omitempty"` NrfUri string `yaml:"nrfUri,omitempty"` UserPlaneInformation UserPlaneInformation `yaml:"userplane_information"` UESubnet string `yaml:"ue_subnet"` ServiceNameList []string `yaml:"serviceNameList,omitempty"` ULCL bool `yaml:"ulcl,omitempty"` }
type RoutingConfig ¶
type RoutingConfig struct { Info *Info `yaml:"info"` UERoutingInfo []*UERoutingInfo `yaml:"ueRoutingInfo"` }
var UERoutingConfig RoutingConfig
type UERoutingInfo ¶
type UPNode ¶
type UPNode struct { Type string `yaml:"type"` NodeID string `yaml:"node_id"` UPResourceIP string `yaml:"node"` ANIP string `yaml:"an_ip"` Dnn string `yaml:"dnn"` }
UPNode represent the user plane node
type UserPlaneInformation ¶
type UserPlaneInformation struct { UPNodes map[string]UPNode `yaml:"up_nodes"` Links []UPLink `yaml:"links"` }
UserPlaneInformation describe core network userplane information
Click to show internal directories.
Click to hide internal directories.