Documentation
¶
Index ¶
- Variables
- func Status(c *gin.Context)
- type Amf
- func (amf *Amf) Context() context.Context
- func (amf *Amf) EstablishmentRequest(c *gin.Context)
- func (amf *Amf) HandleEstablishmentRequest(ps n1n2.PduSessionEstabReqMsg)
- func (amf *Amf) HandleHandoverNotify(m n1n2.HandoverNotify)
- func (amf *Amf) HandleHandoverRequestAck(m n1n2.HandoverRequestAck)
- func (amf *Amf) HandleHandoverRequired(m n1n2.HandoverRequired)
- func (amf *Amf) HandleN2EstablishmentResponse(ps n1n2.N2PduSessionRespMsg)
- func (amf *Amf) HandoverNotify(c *gin.Context)
- func (amf *Amf) HandoverRequestAck(c *gin.Context)
- func (amf *Amf) HandoverRequired(c *gin.Context)
- func (amf *Amf) N2EstablishmentResponse(c *gin.Context)
- func (amf *Amf) Start(ctx context.Context) error
- func (amf *Amf) WaitShutdown(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
var (
ErrNilCtx = errors.New("nil context")
)
Functions ¶
Types ¶
type Amf ¶
type Amf struct {
// contains filtered or unexported fields
}
func (*Amf) EstablishmentRequest ¶
func (*Amf) HandleEstablishmentRequest ¶ added in v0.0.3
func (amf *Amf) HandleEstablishmentRequest(ps n1n2.PduSessionEstabReqMsg)
func (*Amf) HandleHandoverNotify ¶ added in v0.0.3
func (amf *Amf) HandleHandoverNotify(m n1n2.HandoverNotify)
Handover Notify is send by the target gNB to the Control Plane. Upon the reception of Handover Notify, the Control Plane may: 1. update DL rules if UPF-i have been updated during the handover 2. update DL rule in the UPF-i if direct forwarding was used 3. remove forwarding DL rule in UPF-i if indirect forwarding was used 4. Release rules for the old DL path (to source gNB)
func (*Amf) HandleHandoverRequestAck ¶ added in v0.0.3
func (amf *Amf) HandleHandoverRequestAck(m n1n2.HandoverRequestAck)
Handover Request Ack is send by the target gNB to the Control Plane. Upon reception of Handover Request Ack, the Control Plane: 1. if indirect forwarding is used: configure UPF-i with a DL rule to target gNB (existing DL rule to source gNB is preserved until Handover Notify reception) 2. send Handover Command to source gNB
func (*Amf) HandleHandoverRequired ¶ added in v0.0.3
func (amf *Amf) HandleHandoverRequired(m n1n2.HandoverRequired)
Handover Required is send by the source gNB to the Control Plane. Upon reception of Handover Required, the Control Plane 1. configure new UL path for each session 2. send an Handover Request to the target gNB with the configured UL FTEIDs
func (*Amf) HandleN2EstablishmentResponse ¶ added in v0.0.3
func (amf *Amf) HandleN2EstablishmentResponse(ps n1n2.N2PduSessionRespMsg)