models

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessAndMobilitySubscriptionData added in v0.0.11

type AccessAndMobilitySubscriptionData struct {
	SubscribedUeAmbr       *AmbrRm
	Nssai                  *Nssai
	RatRestrictions        []RatType
	ForbiddenAreas         []Area
	ServiceAreaRestriction *ServiceAreaRestriction
	RfspIndex              int32
}

type AccessType added in v0.0.11

type AccessType string
const (
	AccessType3GPPAccess    AccessType = "3GPP_ACCESS"
	AccessTypeNon3GPPAccess AccessType = "NON_3GPP_ACCESS"
)

type AllowedNssai added in v0.0.11

type AllowedNssai struct {
	AllowedSnssaiList []AllowedSnssai
	AccessType        AccessType
}

type AllowedSnssai added in v0.0.11

type AllowedSnssai struct {
	AllowedSnssai      *Snssai
	NsiInformationList []NsiInformation
	MappedHomeSnssai   *Snssai
}

type AmPolicyReqTrigger added in v0.0.11

type AmPolicyReqTrigger string
const (
	AmPolicyReqTriggerLocationChange  AmPolicyReqTrigger = "LOCATION_CHANGE"
	AmPolicyReqTriggerPraChange       AmPolicyReqTrigger = "PRA_CHANGE"
	AmPolicyReqTriggerSariChange      AmPolicyReqTrigger = "SARI_CHANGE"
	AmPolicyReqTriggerRfspIndexChange AmPolicyReqTrigger = "RFSP_INDEX_CHANGE"
)

type Ambr added in v0.0.11

type Ambr struct {
	Uplink   string
	Downlink string
}

type AmbrRm added in v0.0.11

type AmbrRm struct {
	Uplink   string
	Downlink string
}

type Amf3GppAccessRegistration added in v0.0.11

type Amf3GppAccessRegistration struct {
	AmfInstanceID          string
	ImsVoPs                ImsVoPs
	InitialRegistrationInd bool
	Guami                  *Guami
	RatType                RatType
}

type Area added in v0.0.11

type Area struct {
	Tacs      []string
	AreaCodes string
}

type Arp added in v0.0.11

type Arp struct {
	// nullable true shall not be used for this attribute
	PriorityLevel int32
	PreemptCap    PreemptionCapability
	PreemptVuln   PreemptionVulnerability
}

type AuthMethod added in v0.0.11

type AuthMethod string
const (
	AuthMethod5GAka       AuthMethod = "5G_AKA"
	AuthMethodEAPAkaPrime AuthMethod = "EAP_AKA_PRIME"
)

type AuthResult added in v0.0.11

type AuthResult string
const (
	AuthResultSuccess AuthResult = "AUTHENTICATION_SUCCESS"
	AuthResultFailure AuthResult = "AUTHENTICATION_FAILURE"
	AuthResultOngoing AuthResult = "AUTHENTICATION_ONGOING"
)

type AuthType added in v0.0.11

type AuthType string
const (
	AuthType5GAka       AuthType = "5G_AKA"
	AuthTypeEAPAkaPrime AuthType = "EAP_AKA_PRIME"
)

type AuthenticationInfo added in v0.0.11

type AuthenticationInfo struct {
	Suci                  string
	ServingNetworkName    string
	ResynchronizationInfo *ResynchronizationInfo
}

type AuthenticationInfoRequest added in v0.0.11

type AuthenticationInfoRequest struct {
	ServingNetworkName    string
	ResynchronizationInfo *ResynchronizationInfo
}

type AuthenticationInfoResult added in v0.0.11

type AuthenticationInfoResult struct {
	AuthType             AuthType
	AuthenticationVector *AuthenticationVector
	Supi                 string
}

type AuthenticationSubscription added in v0.0.11

type AuthenticationSubscription struct {
	AuthenticationMethod          AuthMethod
	PermanentKey                  *PermanentKey
	SequenceNumber                string
	AuthenticationManagementField string
	Milenage                      *Milenage
	Opc                           *Opc
}

type AuthenticationVector added in v0.0.11

type AuthenticationVector struct {
	Rand     string
	Xres     string
	Autn     string
	CkPrime  string
	IkPrime  string
	XresStar string
	Kausf    string
}

type AuthorizedDefaultQos added in v0.0.11

type AuthorizedDefaultQos struct {
	Var5qi        int32
	Arp           *Arp
	PriorityLevel int32
}

type AuthorizedNetworkSliceInfo added in v0.0.11

type AuthorizedNetworkSliceInfo struct {
	AllowedNssaiList    []AllowedNssai
	RejectedNssaiInPlmn []Snssai
	RejectedNssaiInTa   []Snssai
}

type Av5gAka added in v0.0.11

type Av5gAka struct {
	Rand      string
	HxresStar string
	Autn      string
}

type Cause added in v0.0.11

type Cause string
const (
	CauseRelDueToDuplicateSessionID Cause = "REL_DUE_TO_DUPLICATE_SESSION_ID"
)

type CipheringAlgorithm added in v0.0.11

type CipheringAlgorithm string
const (
	CipheringAlgorithmNEA0 CipheringAlgorithm = "NEA0"
	CipheringAlgorithmNEA1 CipheringAlgorithm = "NEA1"
	CipheringAlgorithmNEA2 CipheringAlgorithm = "NEA2"
	CipheringAlgorithmNEA3 CipheringAlgorithm = "NEA3"
)

type ConfirmationDataResponse added in v0.0.11

type ConfirmationDataResponse struct {
	AuthResult AuthResult
	Supi       string
	Kseaf      string
}

type DnnConfiguration added in v0.0.11

type DnnConfiguration struct {
	PduSessionTypes *PduSessionTypes
	SscModes        *SscModes
	Var5gQosProfile *SubscribedDefaultQos
	SessionAmbr     *Ambr
}

type DnnInfo added in v0.0.11

type DnnInfo struct {
	Dnn string
}

type EapSession added in v0.0.11

type EapSession struct {
	EapPayload string
	KSeaf      string
	AuthResult AuthResult
	Supi       string
}

type Ecgi added in v0.0.11

type Ecgi struct {
	PlmnID      *PlmnID
	EutraCellID string
}

type EutraLocation added in v0.0.11

type EutraLocation struct {
	Tai                      *Tai
	Ecgi                     *Ecgi
	AgeOfLocationInformation int32
	UeLocationTimestamp      *time.Time
}

type FlowDirectionRm added in v0.0.11

type FlowDirectionRm string
const (
	FlowDirectionRmDownlink      FlowDirectionRm = "DOWNLINK"
	FlowDirectionRmUplink        FlowDirectionRm = "UPLINK"
	FlowDirectionRmBidirectional FlowDirectionRm = "BIDIRECTIONAL"
)

type FlowInformation added in v0.0.11

type FlowInformation struct {
	// Defines a packet filter for an IP flow.Refer to subclause 5.4.2 of 3GPP TS 29.212 [23] for encoding.
	FlowDescription string
	// EthFlowDescription *EthFlowDescription `json:"ethFlowDescription,omitempty" yaml:"ethFlowDescription" bson:"ethFlowDescription" mapstructure:"EthFlowDescription"`
	// An identifier of packet filter.
	PackFiltID string
	// The packet shall be sent to the UE.
	PacketFilterUsage bool
	// Contains the Ipv4 Type-of-Service and mask field or the Ipv6 Traffic-Class field and mask field.
	TosTrafficClass string
	// the security parameter index of the IPSec packet.
	Spi string
	// the Ipv6 flow label header field.
	FlowLabel     string
	FlowDirection FlowDirectionRm
}

type FlowStatus added in v0.0.11

type FlowStatus string
const (
	FlowStatusDisabled FlowStatus = "DISABLED"
)

type GNbID added in v0.0.12

type GNbID struct {
	BitLength int32
	GNBValue  string
}

type GlobalRanNodeID added in v0.0.12

type GlobalRanNodeID struct {
	PlmnID  *PlmnID
	N3IwfID string
	GNbID   *GNbID
	NgeNbID string
}

type Guami added in v0.0.11

type Guami struct {
	PlmnID *PlmnID
	AmfID  string
}

type HoState added in v0.0.11

type HoState string
const (
	HoStatePreparing HoState = "PREPARING"
	HoStatePrepared  HoState = "PREPARED"
	HoStateCompleted HoState = "COMPLETED"
	HoStateCancelled HoState = "CANCELLED"
)

type ImsVoPs added in v0.0.11

type ImsVoPs string
const (
	ImsVoPsHomogeneousNonSupport ImsVoPs = "HOMOGENEOUS_NON_SUPPORT"
)

type IntegrityAlgorithm added in v0.0.11

type IntegrityAlgorithm string
const (
	IntegrityAlgorithmNIA0 IntegrityAlgorithm = "NIA0"
	IntegrityAlgorithmNIA1 IntegrityAlgorithm = "NIA1"
	IntegrityAlgorithmNIA2 IntegrityAlgorithm = "NIA2"
	IntegrityAlgorithmNIA3 IntegrityAlgorithm = "NIA3"
)

type KeyAmf added in v0.0.11

type KeyAmf struct {
	KeyType KeyAmfType
	KeyVal  string
}

type KeyAmfType added in v0.0.11

type KeyAmfType string
const (
	KeyAmfTypeKamf KeyAmfType = "KAMF"
)

type MappingOfSnssai added in v0.0.11

type MappingOfSnssai struct {
	ServingSnssai *Snssai
	HomeSnssai    *Snssai
}

type Milenage added in v0.0.11

type Milenage struct {
	Op *Op
}

type MmContext added in v0.0.11

type MmContext struct {
	AccessType           AccessType
	NasSecurityMode      *NasSecurityMode
	NasDownlinkCount     int32
	NasUplinkCount       int32
	UeSecurityCapability string
	AllowedNssai         []Snssai
}

type N1MessageClass added in v0.0.11

type N1MessageClass string
const (
	N1MessageClassSM   N1MessageClass = "SM"
	N1MessageClassLPP  N1MessageClass = "LPP"
	N1MessageClassSMS  N1MessageClass = "SMS"
	N1MessageClassUPDP N1MessageClass = "UPDP"
)

type N1MessageContainer added in v0.0.11

type N1MessageContainer struct {
	N1MessageClass   N1MessageClass
	N1MessageContent *RefToBinaryData
}

type N1N2MessageTransferCause added in v0.0.11

type N1N2MessageTransferCause string
const (
	N1N2MessageTransferCauseAttemptingToReachUE   N1N2MessageTransferCause = "ATTEMPTING_TO_REACH_UE"
	N1N2MessageTransferCauseN1N2TransferInitiated N1N2MessageTransferCause = "N1_N2_TRANSFER_INITIATED"
	N1N2MessageTransferCauseN1MsgNotTransferred   N1N2MessageTransferCause = "N1_MSG_NOT_TRANSFERRED"
)

type N1N2MessageTransferReqData added in v0.0.11

type N1N2MessageTransferReqData struct {
	N1MessageContainer *N1MessageContainer
	N2InfoContainer    *N2InfoContainer
	SkipInd            bool
	PduSessionID       int32
	Ppi                int32
}

type N1N2MessageTransferRequest added in v0.0.11

type N1N2MessageTransferRequest struct {
	JSONData                *N1N2MessageTransferReqData
	BinaryDataN1Message     []byte
	BinaryDataN2Information []byte
}

type N1N2MessageTransferRspData added in v0.0.11

type N1N2MessageTransferRspData struct {
	Cause N1N2MessageTransferCause
}

type N2InfoContainer added in v0.0.11

type N2InfoContainer struct {
	N2InformationClass N2InformationClass
	SmInfo             *N2SmInformation
}

type N2InfoContent added in v0.0.11

type N2InfoContent struct {
	NgapIeType NgapIeType
	NgapData   *RefToBinaryData
}

type N2InformationClass added in v0.0.11

type N2InformationClass string
const (
	N2InformationClassSM N2InformationClass = "SM"
)

type N2SmInfoType added in v0.0.11

type N2SmInfoType string
const (
	N2SmInfoTypePduResSetupReq       N2SmInfoType = "PDU_RES_SETUP_REQ"
	N2SmInfoTypePduResSetupRsp       N2SmInfoType = "PDU_RES_SETUP_RSP"
	N2SmInfoTypePduResSetupFail      N2SmInfoType = "PDU_RES_SETUP_FAIL"
	N2SmInfoTypePduResRelCmd         N2SmInfoType = "PDU_RES_REL_CMD"
	N2SmInfoTypePduResRelRsp         N2SmInfoType = "PDU_RES_REL_RSP"
	N2SmInfoTypePduResModReq         N2SmInfoType = "PDU_RES_MOD_REQ"
	N2SmInfoTypePduResModRsp         N2SmInfoType = "PDU_RES_MOD_RSP"
	N2SmInfoTypePduResModFail        N2SmInfoType = "PDU_RES_MOD_FAIL"
	N2SmInfoTypePduResNty            N2SmInfoType = "PDU_RES_NTY"
	N2SmInfoTypePduResNtyRel         N2SmInfoType = "PDU_RES_NTY_REL"
	N2SmInfoTypePduResModInd         N2SmInfoType = "PDU_RES_MOD_IND"
	N2SmInfoTypePathSwitchReq        N2SmInfoType = "PATH_SWITCH_REQ"
	N2SmInfoTypePathSwitchSetupFail  N2SmInfoType = "PATH_SWITCH_SETUP_FAIL"
	N2SmInfoTypePathSwitchReqAck     N2SmInfoType = "PATH_SWITCH_REQ_ACK"
	N2SmInfoTypeHandoverRequired     N2SmInfoType = "HANDOVER_REQUIRED"
	N2SmInfoTypeHandoverCmd          N2SmInfoType = "HANDOVER_CMD"
	N2SmInfoTypeHandoverReqAck       N2SmInfoType = "HANDOVER_REQ_ACK"
	N2SmInfoTypeHandoverResAllocFail N2SmInfoType = "HANDOVER_RES_ALLOC_FAIL"
)

type N2SmInformation added in v0.0.11

type N2SmInformation struct {
	PduSessionID  int32
	N2InfoContent *N2InfoContent
	SNssai        *Snssai
}

type N3gaLocation added in v0.0.11

type N3gaLocation struct {
	N3gppTai   *Tai
	UeIpv4Addr string
	UeIpv6Addr string
	PortNumber int32
}

type NasSecurityMode added in v0.0.11

type NasSecurityMode struct {
	IntegrityAlgorithm IntegrityAlgorithm
	CipheringAlgorithm CipheringAlgorithm
}

type Ncgi added in v0.0.11

type Ncgi struct {
	PlmnID   *PlmnID
	NrCellID string
}

type NgApCause added in v0.0.11

type NgApCause struct {
	Group int32
	Value int32
}

type NgKsi added in v0.0.11

type NgKsi struct {
	Tsc ScType
	Ksi int32
}

type NgRanTargetID added in v0.0.12

type NgRanTargetID struct {
	RanNodeID *GlobalRanNodeID
	Tai       *Tai
}

type NgapIeType added in v0.0.11

type NgapIeType string
const (
	NgapIeTypePduResSetupReq NgapIeType = "PDU_RES_SETUP_REQ"
	NgapIeTypePduResRelCmd   NgapIeType = "PDU_RES_REL_CMD"
	NgapIeTypePduResModReq   NgapIeType = "PDU_RES_MOD_REQ"
)

type NrLocation added in v0.0.11

type NrLocation struct {
	Tai                      *Tai
	Ncgi                     *Ncgi
	AgeOfLocationInformation int32
	UeLocationTimestamp      *time.Time
}

type NsiInformation added in v0.0.11

type NsiInformation struct {
	NsiID string
}

type Nssai added in v0.0.11

type Nssai struct {
	DefaultSingleNssais []Snssai
	SingleNssais        []Snssai
}

type Op added in v0.0.11

type Op struct {
	OpValue             string
	EncryptionKey       int32
	EncryptionAlgorithm int32
}

type Opc added in v0.0.11

type Opc struct {
	OpcValue            string
	EncryptionKey       int32
	EncryptionAlgorithm int32
}

type PccRule added in v0.0.11

type PccRule struct {
	// An array of IP flow packet filter information.
	FlowInfos []FlowInformation
	// Univocally identifies the PCC rule within a PDU session.
	PccRuleID  string
	Precedence int32
	// A reference to the QoSData policy type decision type. It is the qosID described in subclause 5.6.2.8. (NOTE)
	RefQosData []string
}

type PduSession added in v0.0.11

type PduSession struct {
	Dnn           string
	SmfInstanceID string
	PlmnID        *PlmnID
}

type PduSessionContext added in v0.0.11

type PduSessionContext struct {
	PduSessionID int32
	SmContextRef string
	SNssai       *Snssai
	Dnn          string
	AccessType   AccessType
	HsmfID       string
	VsmfID       string
	NsInstance   string
}

type PduSessionType added in v0.0.11

type PduSessionType string
const (
	PduSessionTypeIPv4         PduSessionType = "IPV4"
	PduSessionTypeIPv6         PduSessionType = "IPV6"
	PduSessionTypeIPv4v6       PduSessionType = "IPV4V6"
	PduSessionTypeUnstructured PduSessionType = "UNSTRUCTURED"
	PduSessionTypeEthernet     PduSessionType = "ETHERNET"
)

type PduSessionTypes added in v0.0.11

type PduSessionTypes struct {
	DefaultSessionType  PduSessionType
	AllowedSessionTypes []PduSessionType
}

type PermanentKey added in v0.0.11

type PermanentKey struct {
	PermanentKeyValue   string
	EncryptionKey       int32
	EncryptionAlgorithm int32
}

type PgwInfo added in v0.0.11

type PgwInfo struct {
	Dnn     string
	PgwFqdn string
	PlmnID  *PlmnID
}

type PlmnID added in v0.0.12

type PlmnID struct {
	Mcc string
	Mnc string
}

type PolicyAssociation added in v0.0.11

type PolicyAssociation struct {
	Request *PolicyAssociationRequest
	// Request Triggers that the PCF subscribes. Only values \"LOC_CH\" and \"PRA_CH\" are permitted.
	Triggers    []RequestTrigger
	ServAreaRes *ServiceAreaRestriction
	Rfsp        int32
}

type PolicyAssociationRequest added in v0.0.11

type PolicyAssociationRequest struct {
	Supi        string
	AccessType  AccessType
	UserLoc     *UserLocation
	ServingPlmn *PlmnID
	Rfsp        int32
}

type PolicyAssociationUpdateRequest added in v0.0.11

type PolicyAssociationUpdateRequest struct {
	Triggers    []RequestTrigger
	ServAreaRes *ServiceAreaRestriction
	Rfsp        int32
	UserLoc     *UserLocation
}

type PolicyUpdate added in v0.0.11

type PolicyUpdate struct {
	// Request Triggers that the PCF subscribes. Only values \"LOC_CH\" and \"PRA_CH\" are permitted.
	Triggers    []RequestTrigger
	ServAreaRes *ServiceAreaRestriction
	Rfsp        int32
}

type PostSmContextsErrorResponse added in v0.0.11

type PostSmContextsErrorResponse struct {
	BinaryDataN1SmMessage []byte
}

type PostSmContextsRequest added in v0.0.11

type PostSmContextsRequest struct {
	JSONData              *SmContextCreateData
	BinaryDataN1SmMessage []byte
}

type PostSmContextsResponse added in v0.0.11

type PostSmContextsResponse struct {
	JSONData *SmContextCreatedData
}

type PreemptionCapability added in v0.0.11

type PreemptionCapability string
const (
	PreemptionCapabilityNotPreempt PreemptionCapability = "NOT_PREEMPT"
	PreemptionCapabilityMayPreempt PreemptionCapability = "MAY_PREEMPT"
)

type PreemptionVulnerability added in v0.0.11

type PreemptionVulnerability string
const (
	PreemptionVulnerabilityNotPreemptable PreemptionVulnerability = "NOT_PREEMPTABLE"
	PreemptionVulnerabilityPreemptable    PreemptionVulnerability = "PREEMPTABLE"
)

type PresenceState added in v0.0.11

type PresenceState string
const (
	PresenceStateInArea    PresenceState = "IN_AREA"
	PresenceStateOutOfArea PresenceState = "OUT_OF_AREA"
)

type QosData added in v0.0.11

type QosData struct {
	QosID         string
	Var5qi        int32
	MaxbrUl       string
	MaxbrDl       string
	GbrUl         string
	GbrDl         string
	Arp           *Arp
	PriorityLevel int32
	// Indicates that the dynamic PCC rule shall always have its binding with the QoS Flow associated with the default QoS rule
	DefQosFlowIndication bool
}

type RatType added in v0.0.11

type RatType string
const (
	RatTypeNr    RatType = "NR"
	RatTypeEutra RatType = "EUTRA"
)

type RefToBinaryData added in v0.0.11

type RefToBinaryData struct {
	ContentID string
}

type RegistrationContextContainer added in v0.0.11

type RegistrationContextContainer struct {
	UeContext           *UeContext
	AnType              AccessType
	AnN2ApID            int32
	RanNodeID           *GlobalRanNodeID
	InitialAmfName      string
	UserLocation        *UserLocation
	RrcEstCause         string
	UeContextRequest    bool
	AnN2IPv4Addr        string
	AllowedNssai        *AllowedNssai
	RejectedNssaiInPlmn []Snssai
	RejectedNssaiInTa   []Snssai
}

type RequestTrigger added in v0.0.11

type RequestTrigger string
const (
	RequestTriggerLocCh      RequestTrigger = "LOC_CH"
	RequestTriggerPraCh      RequestTrigger = "PRA_CH"
	RequestTriggerServAreaCh RequestTrigger = "SERV_AREA_CH"
	RequestTriggerRfspCh     RequestTrigger = "RFSP_CH"
)

type RestrictionType added in v0.0.11

type RestrictionType string
const (
	RestrictionTypeAllowedAreas    RestrictionType = "ALLOWED_AREAS"
	RestrictionTypeNotAllowedAreas RestrictionType = "NOT_ALLOWED_AREAS"
)

type ResynchronizationInfo added in v0.0.11

type ResynchronizationInfo struct {
	Rand string
	Auts string
}

type ScType added in v0.0.11

type ScType string
const (
	ScTypeNative ScType = "NATIVE"
	ScTypeMapped ScType = "MAPPED"
)

type SdmSubscription added in v0.0.11

type SdmSubscription struct {
	NfInstanceID   string
	SubscriptionID string
	PlmnID         *PlmnID
}

type SeafData added in v0.0.11

type SeafData struct {
	NgKsi  *NgKsi
	KeyAmf *KeyAmf
	Nh     string
	Ncc    int32
}

type ServiceAreaRestriction added in v0.0.11

type ServiceAreaRestriction struct {
	RestrictionType RestrictionType
	Areas           []Area
	MaxNumOfTAs     int32
}

type SessionManagementSubscriptionData added in v0.0.11

type SessionManagementSubscriptionData struct {
	SingleNssai       *Snssai
	DnnConfigurations map[string]DnnConfiguration // A map (list of key-value pairs where Dnn serves as key) of DnnConfigurations
}

type SessionRule added in v0.0.11

type SessionRule struct {
	AuthSessAmbr *Ambr
	AuthDefQos   *AuthorizedDefaultQos
	// Univocally identifies the session rule within a PDU session.
	SessRuleID string
}

type SmContextCreateData added in v0.0.11

type SmContextCreateData struct {
	Supi               string
	Pei                string
	Gpsi               string
	PduSessionID       int32
	Dnn                string
	SNssai             *Snssai
	ServingNfID        string
	Guami              *Guami
	ServingNetwork     *PlmnID
	N1SmMsg            *RefToBinaryData
	AnType             AccessType
	RatType            RatType
	UeLocation         *UserLocation
	UeTimeZone         string
	SmContextStatusURI string
}

type SmContextCreatedData added in v0.0.11

type SmContextCreatedData struct {
	SNssai *Snssai
}

type SmContextReleaseData added in v0.0.11

type SmContextReleaseData struct {
	Cause             Cause
	NgApCause         *NgApCause
	Var5gMmCauseValue int32
	UeTimeZone        string
	N2SmInfo          *RefToBinaryData
	N2SmInfoType      N2SmInfoType
}

type SmContextUpdateData added in v0.0.11

type SmContextUpdateData struct {
	Pei                string
	Gpsi               string
	ServingNfID        string
	Guami              *Guami
	ServingNetwork     *PlmnID
	AnType             AccessType
	RatType            RatType
	PresenceInLadn     PresenceState
	UeLocation         *UserLocation
	AddUeLocation      *UserLocation
	UpCnxState         UpCnxState
	HoState            HoState
	ToBeSwitched       bool
	FailedToBeSwitched bool
	N1SmMsg            *RefToBinaryData
	N2SmInfo           *RefToBinaryData
	N2SmInfoType       N2SmInfoType
	TargetID           *NgRanTargetID
	TargetServingNfID  string
	SmContextStatusURI string
	Release            bool
	Cause              Cause
	NgApCause          *NgApCause
	Var5gMmCauseValue  int32
	AnTypeCanBeChanged bool
}

type SmContextUpdatedData added in v0.0.11

type SmContextUpdatedData struct {
	UpCnxState   UpCnxState
	HoState      HoState
	N1SmMsg      *RefToBinaryData
	N2SmInfo     *RefToBinaryData
	N2SmInfoType N2SmInfoType
}

type SmPolicyContextData added in v0.0.11

type SmPolicyContextData struct {
	Gpsi           string
	Supi           string
	PduSessionID   int32
	PduSessionType PduSessionType
	Dnn            string
	AccessType     AccessType
	RatType        RatType
	ServingNetwork *PlmnID
	Pei            string
	IPv4Address    string
	SubsSessAmbr   *Ambr
	SubsDefQos     *SubscribedDefaultQos
	SliceInfo      *Snssai
}

type SmPolicyData added in v0.0.11

type SmPolicyData struct {
	SmPolicySnssaiData map[string]SmPolicySnssaiData
}

Contains the SM policy data for a given subscriber.

type SmPolicyDecision added in v0.0.11

type SmPolicyDecision struct {
	// A map of Sessionrules with the content being the SessionRule as described in subclause 5.6.2.7.
	SessRules map[string]*SessionRule
	// A map of PCC rules with the content being the PCCRule as described in subclause 5.6.2.6.
	PccRules map[string]*PccRule
	// Map of QoS data policy decisions.
	QosDecs map[string]*QosData
}

type SmPolicyDnnData added in v0.0.11

type SmPolicyDnnData struct {
	Dnn   string
	GbrUl string
	GbrDl string
}

Contains the SM policy data for a given DNN (and S-NSSAI).

type SmPolicySnssaiData added in v0.0.11

type SmPolicySnssaiData struct {
	Snssai          *Snssai
	SmPolicyDnnData map[string]SmPolicyDnnData
}

Contains the SM policy data for a given subscriber and S-NSSAI.

type SmfRegistration added in v0.0.11

type SmfRegistration struct {
	SmfInstanceID string
	PduSessionID  int32
	Dnn           string
	PlmnID        *PlmnID
	PgwFqdn       string
}

type SmfSelectionSubscriptionData added in v0.0.11

type SmfSelectionSubscriptionData struct {
	SubscribedSnssaiInfos map[string]SnssaiInfo
}

type Snssai added in v0.0.11

type Snssai struct {
	Sst int32
	Sd  string
}

type SnssaiInfo added in v0.0.11

type SnssaiInfo struct {
	DnnInfos []DnnInfo
}

type SscMode added in v0.0.11

type SscMode string
const (
	SscMode1 SscMode = "SSC_MODE_1"
)

type SscModes added in v0.0.11

type SscModes struct {
	DefaultSscMode  SscMode
	AllowedSscModes []SscMode
}

type SubscribedDefaultQos added in v0.0.11

type SubscribedDefaultQos struct {
	Var5qi        int32
	Arp           *Arp
	PriorityLevel int32
}

type SubscribedSnssai added in v0.0.11

type SubscribedSnssai struct {
	SubscribedSnssai  *Snssai
	DefaultIndication bool
}

type Tai added in v0.0.11

type Tai struct {
	PlmnID *PlmnID
	Tac    string
}

type TraceData added in v0.0.11

type TraceData struct {
	TraceRef                 string
	TraceDepth               TraceDepth
	CollectionEntityIpv4Addr string
	CollectionEntityIpv6Addr string
	InterfaceList            string
}

type TraceDepth added in v0.0.11

type TraceDepth string
const (
	TraceDepthMinimum                  TraceDepth = "MINIMUM"
	TraceDepthMedium                   TraceDepth = "MEDIUM"
	TraceDepthMaximum                  TraceDepth = "MAXIMUM"
	TraceDepthMinimumWoVendorExtension TraceDepth = "MINIMUM_WO_VENDOR_EXTENSION"
	TraceDepthMediumWoVendorExtension  TraceDepth = "MEDIUM_WO_VENDOR_EXTENSION"
	TraceDepthMaximumWoVendorExtension TraceDepth = "MAXIMUM_WO_VENDOR_EXTENSION"
)

type TransferReason added in v0.0.11

type TransferReason string
const (
	TransferReasonInitReg TransferReason = "INIT_REG"
	TransferReasonMobiReg TransferReason = "MOBI_REG"
)

type URIScheme added in v0.0.12

type URIScheme string
const (
	URISchemeHTTP  URIScheme = "http"
	URISchemeHTTPS URIScheme = "https"
)

type UeAuthenticationCtx added in v0.0.11

type UeAuthenticationCtx struct {
	AuthType           AuthType
	Var5gAuthData      interface{}
	ServingNetworkName string
}

type UeContext added in v0.0.11

type UeContext struct {
	Supi                   string
	GpsiList               []string
	Pei                    string
	RoutingIndicator       string
	SubRfsp                int32
	SubUeAmbr              *Ambr
	SeafData               *SeafData
	AmPolicyReqTriggerList []AmPolicyReqTrigger
	RestrictedRatList      []RatType
	ForbiddenAreaList      []Area
	ServiceAreaRestriction *ServiceAreaRestriction
	MmContextList          []MmContext
	SessionContextList     []PduSessionContext
	TraceData              *TraceData
}

type UeContextInSmfData added in v0.0.11

type UeContextInSmfData struct {
	// A map (list of key-value pairs where PduSessionID serves as key) of PduSessions
	PduSessions map[string]PduSession
	PgwInfo     []PgwInfo
}

type UeContextTransferRspData added in v0.0.11

type UeContextTransferRspData struct {
	UeContext *UeContext
}

type UeContextTransferStatus added in v0.0.11

type UeContextTransferStatus string
const (
	UeContextTransferStatusTransferred    UeContextTransferStatus = "TRANSFERRED"
	UeContextTransferStatusNotTransferred UeContextTransferStatus = "NOT_TRANSFERRED"
)

type UeN1N2InfoSubscriptionCreatedData added in v0.0.11

type UeN1N2InfoSubscriptionCreatedData struct {
	N1n2NotifySubscriptionID string
}

type UeRegStatusUpdateReqData added in v0.0.11

type UeRegStatusUpdateReqData struct {
	TransferStatus UeContextTransferStatus
}

type UpCnxState added in v0.0.11

type UpCnxState string
const (
	UpCnxStateActivated   UpCnxState = "ACTIVATED"
	UpCnxStateDeactivated UpCnxState = "DEACTIVATED"
	UpCnxStateActivating  UpCnxState = "ACTIVATING"
)

type UpdateSmContextErrorResponse added in v0.0.11

type UpdateSmContextErrorResponse struct {
	BinaryDataN1SmMessage     []byte
	BinaryDataN2SmInformation []byte
}

type UpdateSmContextRequest added in v0.0.11

type UpdateSmContextRequest struct {
	JSONData                  *SmContextUpdateData
	BinaryDataN1SmMessage     []byte
	BinaryDataN2SmInformation []byte
}

type UpdateSmContextResponse added in v0.0.11

type UpdateSmContextResponse struct {
	JSONData                  *SmContextUpdatedData
	BinaryDataN1SmMessage     []byte
	BinaryDataN2SmInformation []byte
}

type UserLocation added in v0.0.11

type UserLocation struct {
	EutraLocation *EutraLocation
	NrLocation    *NrLocation
	N3gaLocation  *N3gaLocation
}

Source Files

Jump to

Keyboard shortcuts

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