Documentation ¶
Index ¶
- Constants
- func CreateAccessMobilitySubsDataForUe(Supi string, body models.AccessAndMobilitySubscriptionData)
- func CreateAmf3gppRegContext(Supi string, body models.Amf3GppAccessRegistration)
- func CreateAmfNon3gppRegContext(Supi string, body models.AmfNon3GppAccessRegistration)
- func CreateEeSusbContext(ueId string, body models.CreatedEeSubscription)
- func CreateSmfRegContext(Supi string, pduSessionID string)
- func CreateSmfSelectionSubsDatadforUe(Supi string, body models.SmfSelectionSubscriptionData)
- func CreateSubsDataSetsForUe(Supi string, body models.SubscriptionDataSets)
- func CreateSubscriptiontoNotifChange(SubscriptionID string, body *models.SdmSubscription)
- func CreateSubstoNotifSharedData(SubscriptionID string, body *models.SdmSubscription)
- func CreateTraceDataforUe(Supi string, body models.TraceData)
- func CreateUeContextInSmfDataforUe(Supi string, body models.UeContextInSmfData)
- func GetAccessMobilitySubsDataForUe(Supi string) *models.AccessAndMobilitySubscriptionData
- func GetAmf3gppRegContext(Supi string) *models.Amf3GppAccessRegistration
- func GetAmfNon3gppRegContext(Supi string) *models.AmfNon3GppAccessRegistration
- func GetCorrespondingSupi(list models.IdentityData) (id string)
- func GetSmfRegContext(Supi string) string
- func GetUdmProfileAHNPrivateKey() string
- func GetUdmProfileAHNPublicKey() string
- func GetUdmProfileBHNPrivateKey() string
- func GetUdmProfileBHNPublicKey() string
- func Init()
- func InitUDMContext(context *UDMContext)
- func ManageSmData(smDatafromUDR []models.SessionManagementSubscriptionData, snssaiFromReq string, ...) (mp map[string]models.SessionManagementSubscriptionData, ind string, ...)
- func MappingSharedData(sharedDatafromUDR []models.SharedData) (mp map[string]models.SharedData)
- func ObtainRequiredSharedData(Sharedids []string, response []models.SharedData) (sharedDatas []models.SharedData)
- func TestInit()
- func UdmAmf3gppRegContextExists(Supi string) bool
- func UdmAmfNon3gppRegContextExists(Supi string) bool
- func UdmNfCntxtNotExisting(SubscriptionID string) bool
- func UdmNfCntxtSharedDataExisting(SubscriptionID string) bool
- func UdmSmfRegContextNotExists(Supi string) bool
- func UdmUeAccessMobilitySubsDataExisting(Supi string) bool
- func UdmUeCtxtInSmfDataExisting(Supi string) bool
- func UdmUeSessionMgtSubsDataExisting(Supi string) bool
- func UdmUeSubsDataSetsExisting(Supi string) bool
- func UdmUeTraceDataExisting(Supi string) bool
- func UdmueSmfSelSubsDataNotExisting(Supi string) bool
- type UDMContext
- type UdmNFContext
- type UdmUeContext
Constants ¶
View Source
const ( LocationUriAmf3GppAccessRegistration int = iota LocationUriAmfNon3GppAccessRegistration LocationUriSmfRegistration LocationUriSdmSubscription )
Variables ¶
This section is empty.
Functions ¶
func CreateAccessMobilitySubsDataForUe ¶
func CreateAccessMobilitySubsDataForUe(Supi string, body models.AccessAndMobilitySubscriptionData)
Function to create the AccessAndMobilitySubscriptionData for Ue
func CreateAmf3gppRegContext ¶
func CreateAmf3gppRegContext(Supi string, body models.Amf3GppAccessRegistration)
func CreateAmfNon3gppRegContext ¶
func CreateAmfNon3gppRegContext(Supi string, body models.AmfNon3GppAccessRegistration)
func CreateEeSusbContext ¶
func CreateEeSusbContext(ueId string, body models.CreatedEeSubscription)
Functions related to EE services
func CreateSmfRegContext ¶
func CreateSmfSelectionSubsDatadforUe ¶
func CreateSmfSelectionSubsDatadforUe(Supi string, body models.SmfSelectionSubscriptionData)
functions for SmfSelectionSubscriptionData
func CreateSubsDataSetsForUe ¶
func CreateSubsDataSetsForUe(Supi string, body models.SubscriptionDataSets)
functions related to Retrieval of multiple datasets(GetSupi)
func CreateSubscriptiontoNotifChange ¶
func CreateSubscriptiontoNotifChange(SubscriptionID string, body *models.SdmSubscription)
functions related to sdmSubscription (subscribe to notification of data change)
func CreateSubstoNotifSharedData ¶
func CreateSubstoNotifSharedData(SubscriptionID string, body *models.SdmSubscription)
func CreateTraceDataforUe ¶
Functions related to the trace data configuration
func CreateUeContextInSmfDataforUe ¶
func CreateUeContextInSmfDataforUe(Supi string, body models.UeContextInSmfData)
functions related UecontextInSmfData
func GetAccessMobilitySubsDataForUe ¶
func GetAccessMobilitySubsDataForUe(Supi string) *models.AccessAndMobilitySubscriptionData
func GetAmf3gppRegContext ¶
func GetAmf3gppRegContext(Supi string) *models.Amf3GppAccessRegistration
func GetAmfNon3gppRegContext ¶
func GetAmfNon3gppRegContext(Supi string) *models.AmfNon3GppAccessRegistration
func GetCorrespondingSupi ¶
func GetCorrespondingSupi(list models.IdentityData) (id string)
Returns the SUPI from the SUPI list (SUPI list contains either a SUPI or a NAI)
func GetSmfRegContext ¶
func GetUdmProfileAHNPrivateKey ¶
func GetUdmProfileAHNPrivateKey() string
func GetUdmProfileAHNPublicKey ¶
func GetUdmProfileAHNPublicKey() string
func GetUdmProfileBHNPrivateKey ¶
func GetUdmProfileBHNPrivateKey() string
func GetUdmProfileBHNPublicKey ¶
func GetUdmProfileBHNPublicKey() string
func InitUDMContext ¶
func InitUDMContext(context *UDMContext)
func ManageSmData ¶
func ManageSmData(smDatafromUDR []models.SessionManagementSubscriptionData, snssaiFromReq string, dnnFromReq string) (mp map[string]models.SessionManagementSubscriptionData, ind string, Dnns []models.DnnConfiguration, allDnns []map[string]models.DnnConfiguration)
func MappingSharedData ¶
func MappingSharedData(sharedDatafromUDR []models.SharedData) (mp map[string]models.SharedData)
HandleGetSharedData related functions
func ObtainRequiredSharedData ¶
func ObtainRequiredSharedData(Sharedids []string, response []models.SharedData) (sharedDatas []models.SharedData)
func UdmNfCntxtNotExisting ¶
func UdmUeAccessMobilitySubsDataExisting ¶
Check if Access and Mobility Subscription Data context exists
func UdmUeSessionMgtSubsDataExisting ¶
Check if SessionMgtSubsData context exists
func UdmUeTraceDataExisting ¶
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 UdmNFPool map[string]*UdmNFContext // SubscriptionID as key NrfUri string GpsiSupiList models.IdentityData Keys *factory.Keys }
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 UdmNFContext ¶
type UdmNFContext struct { SubscriptionID string SubscribeToNotifChange *models.SdmSubscription // SubscriptionID as key }
func CreateUdmNf ¶
func CreateUdmNf(SubscriptionID string) (udmNf *UdmNFContext)
type UdmUeContext ¶
type UdmUeContext struct { Supi string GpsiFromReq string Nssai *models.Nssai Amf3GppAccessRegistration *models.Amf3GppAccessRegistration AmfNon3GppAccessRegistration *models.AmfNon3GppAccessRegistration AccessAndMobilitySubscriptionData *models.AccessAndMobilitySubscriptionData SmfSelSubsData *models.SmfSelectionSubscriptionData UeCtxtInSmfData *models.UeContextInSmfData TraceDataResponse models.TraceDataResponse TraceData *models.TraceData SessionManagementSubsData map[string]models.SessionManagementSubscriptionData SubsDataSets *models.SubscriptionDataSets SubscribeToNotifChange *models.SdmSubscription PduSessionID string UdrUri string CreatedEeSubscription models.CreatedEeSubscription UdmSubsToNotify map[string]*models.SubscriptionDataSubscriptions }
func CreateUdmUe ¶
func CreateUdmUe(Supi string) (udmUe *UdmUeContext)
func UdmUe_self ¶
func UdmUe_self() *UdmUeContext
func (*UdmUeContext) GetLocationURI ¶
func (ue *UdmUeContext) GetLocationURI(types int) string
func (*UdmUeContext) GetLocationURI2 ¶
func (ue *UdmUeContext) GetLocationURI2(types int, supi string) string
func (*UdmUeContext) SameAsStoredGUAMI3gpp ¶
func (ue *UdmUeContext) SameAsStoredGUAMI3gpp(inGuami models.Guami) bool
func (*UdmUeContext) SameAsStoredGUAMINon3gpp ¶
func (ue *UdmUeContext) SameAsStoredGUAMINon3gpp(inGuami models.Guami) bool
Click to show internal directories.
Click to hide internal directories.