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 N3iwfConfig Config
type ConfigAMFAddr ¶
type Configuration ¶
type Configuration struct { N3IWFInfo n3iwf_context.N3IWFNFInfo `yaml:"N3IWFInformation"` AMFAddress []ConfigAMFAddr `yaml:"AMFAddress"` IKEBindAddr string `yaml:"IKEBindAddress"` IPSecGatewayAddr string `yaml:"IPSecInterfaceAddress"` GTPBindAddr string `yaml:"GTPBindAddress"` TCPPort uint16 `yaml:"NASTCPPort"` FQDN string `yaml:"FQDN"` // e.g. n3iwf.free5gc.org PrivateKey string `yaml:"PrivateKey"` // file path CertificateAuthority string `yaml:"CertificateAuthority"` // file path Certificate string `yaml:"Certificate"` // file path UEIPAddressRange string `yaml:"UEIPAddressRange"` // e.g. 10.0.1.0/24 InterfaceMark uint32 `yaml:"IPSecInterfaceMark"` // must != 0, if not specified, random one }
Click to show internal directories.
Click to hide internal directories.