udm_context

package
v0.0.0-...-cad1217 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	LocationUriAmf3GppAccessRegistration int = iota
	LocationUriAmfNon3GppAccessRegistration
	LocationUriSmfRegistration
)

Variables

This section is empty.

Functions

func CreateAmf3gppRegContext

func CreateAmf3gppRegContext(Supi string, body models.Amf3GppAccessRegistration)

func CreateAmfNon3gppRegContext

func CreateAmfNon3gppRegContext(Supi string, body models.AmfNon3GppAccessRegistration)

func CreateSmfRegContext

func CreateSmfRegContext(Supi string, pduSessionID string)

func GetAmf3gppRegContext

func GetAmf3gppRegContext(Supi string) *models.Amf3GppAccessRegistration

func GetAmfNon3gppRegContext

func GetAmfNon3gppRegContext(Supi string) *models.AmfNon3GppAccessRegistration

func GetSmfRegContext

func GetSmfRegContext(Supi string) string

func UdmAmf3gppRegContextNotExists

func UdmAmf3gppRegContextNotExists(Supi string) bool

func UdmAmfNon3gppRegContextNotExists

func UdmAmfNon3gppRegContextNotExists(Supi string) bool

func UdmSmfRegContextNotExists

func UdmSmfRegContextNotExists(Supi string) bool

Types

type UDMContext

type UDMContext struct {
	Name              string
	NfId              string
	GroupId           string
	HttpIpv4Port      int
	HttpIPv4Address   string
	UriScheme         models.UriScheme
	NfService         map[models.ServiceName]models.NfService
	NFDiscoveryClient *Nnrf_NFDiscovery.APIClient
	UdmUePool         map[string]*UdmUeContext // supi as key
	NrfUri            string
}

func UDM_Self

func UDM_Self() *UDMContext

func (*UDMContext) GetIPv4Uri

func (context *UDMContext) GetIPv4Uri() string

func (*UDMContext) InitNFService

func (context *UDMContext) InitNFService(serviceName []string, version string)

type UdmUeContext

type UdmUeContext struct {
	Supi                         string
	Amf3GppAccessRegistration    *models.Amf3GppAccessRegistration
	AmfNon3GppAccessRegistration *models.AmfNon3GppAccessRegistration
	PduSessionID                 string
	UdrUri                       string
}

func CreateUdmUe

func CreateUdmUe(Supi string) (udmUe *UdmUeContext)

func (*UdmUeContext) GetLocationURI

func (ue *UdmUeContext) GetLocationURI(types int) string

func (*UdmUeContext) SameAsStoredGUAMI3gpp

func (ue *UdmUeContext) SameAsStoredGUAMI3gpp(inGuami models.Guami) bool

func (*UdmUeContext) SameAsStoredGUAMINon3gpp

func (ue *UdmUeContext) SameAsStoredGUAMINon3gpp(inGuami models.Guami) bool

Jump to

Keyboard shortcuts

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