Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use ndb and arrange the methods #830

Merged

Conversation

gatici
Copy link
Contributor

@gatici gatici commented Jul 16, 2024

This PR tries to reach the aim of draft PR by fixing some issues in the tests.

IPDB is deprecated, and obsolete as stated in IPDB module — pyroute2 0.7.3.post2 documentation. This PR resolves #735 by replacing IPDB with NDB

Signed-off-by: gatici <gulsum.atici@canonical.com>
@omecproject
Copy link

Can one of the admins verify this patch?

gatici added 10 commits July 16, 2024 23:01
Signed-off-by: gatici <gulsum.atici@canonical.com>
Signed-off-by: gatici <gulsum.atici@canonical.com>
Signed-off-by: gatici <gulsum.atici@canonical.com>
Signed-off-by: gatici <gulsum.atici@canonical.com>
Signed-off-by: gatici <gulsum.atici@canonical.com>
Signed-off-by: gatici <gulsum.atici@canonical.com>
Signed-off-by: gatici <gulsum.atici@canonical.com>
Signed-off-by: gatici <gulsum.atici@canonical.com>
Signed-off-by: gatici <gulsum.atici@canonical.com>
Signed-off-by: gatici <gulsum.atici@canonical.com>
@gatici gatici marked this pull request as draft July 17, 2024 20:03
gatici added 2 commits July 17, 2024 23:49
Signed-off-by: gatici <gulsum.atici@canonical.com>
Signed-off-by: gatici <gulsum.atici@canonical.com>
@gatici gatici marked this pull request as ready for review July 18, 2024 06:59
@gatici
Copy link
Contributor Author

gatici commented Jul 18, 2024

This PR validated with E2E test and the simulation passed.

2024-07-18T06:44:53Z [TRAC][GNBSIM][GNodeB][GnbAmf][] Processing Pdu Session Resource Setup Request
2024-07-18T06:44:53Z [TRAC][GNBSIM][GNodeB][GnbAmf][] Decode IE RANUENGAPID
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbUeDao] Fetching GnbCpUe for RANUENGAPID: 503316480
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] Handling event: PDU-SESSION-RESOURCE-SETUP-REQUEST-EVENT
2024-07-18T06:44:53Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Context Created
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] PDU Session ID: 10
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] S-NSSAI - SST:  1
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] S-NSSAI - SD:  010203
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] UL GTP-TEID:  8719325
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] DL GTP-TEID:  503316480
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] UPF Endpoint IP:  192.168.252.3
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] PDU Session Type:  IPV4
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] QoS Flow Id: 1
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] Non Dynamic 5QI: 9
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] ARP Priority Level: 1
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] Pre-emption Capability: 1
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] Pre-emption Vulnerability: 1
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbUpUe][503316480] Adding new QosFlowItem corresponding to QFI: 1
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbPeerDao] Fetching GnbUpf corresponding to IP: 192.168.252.3
2024-07-18T06:44:53Z [WARN][GNBSIM][GNodeB][GnbPeerDao] key not present: 192.168.252.3
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbPeerDao] Adding new GnbUpf corresponding to IP: 192.168.252.3
2024-07-18T06:44:53Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] Adding new GnbUpUe for PDU Sess ID: 10
2024-07-18T06:44:53Z [TRAC][GNBSIM][GNodeB][GnbCpUe][503316480] Sending event DL-INFO-TRANSFER-EVENT to SimUe. Id: 9
2024-07-18T06:44:53Z [TRAC][GNBSIM][GNodeB][GnbCpUe][503316480] Sent DL Information Transfer Event to UE
2024-07-18T06:44:53Z [INFO][GNBSIM][SimUe][imsi-208930100007487] Handling event: DL-INFO-TRANSFER-EVENT
2024-07-18T06:44:53Z [TRAC][GNBSIM][SimUe][imsi-208930100007487] Sending DL-INFO-TRANSFER-EVENT to RealUe
2024-07-18T06:44:53Z [INFO][GNBSIM][RealUe][imsi-208930100007487] Handling: DL-INFO-TRANSFER-EVENT
2024-07-18T06:44:53Z [DEBU][GNBSIM][RealUe][imsi-208930100007487] Security header type: Integrity Protected And Ciphered
2024-07-18T06:44:53Z [INFO][GNBSIM][RealUe][imsi-208930100007487] Calculate NAS MAC (algorithm: 2, DLCount: 0x2)
2024-07-18T06:44:53Z [INFO][GNBSIM][RealUe][imsi-208930100007487] NAS integrity key: 2a066829262aa7d323a33f6d2df97f31
2024-07-18T06:44:53Z [INFO][GNBSIM][RealUe][imsi-208930100007487] cmac value: 0x0a8e10cb
2024-07-18T06:44:53Z [INFO][GNBSIM][RealUe][imsi-208930100007487] Received Message Type: 104
2024-07-18T06:44:53Z [INFO][GNBSIM][RealUe][imsi-208930100007487] Payload contaner type:{1}
2024-07-18T06:44:53Z [TRAC][GNBSIM][RealUe][imsi-208930100007487] Sending PDU-SESSION-ESTABLISHMENT-ACCEPT-EVENT to SimUe
2024-07-18T06:44:53Z [INFO][GNBSIM][SimUe][imsi-208930100007487] Handling event: PDU-SESSION-ESTABLISHMENT-ACCEPT-EVENT
2024-07-18T06:44:53Z [INFO][GNBSIM][SimUe][imsi-208930100007487] Next Event: PDU-SESSION-ESTABLISHMENT-ACCEPT-EVENT
2024-07-18T06:44:53Z [TRAC][GNBSIM][SimUe][imsi-208930100007487] Sending PDU-SESSION-ESTABLISHMENT-ACCEPT-EVENT to RealUe
2024-07-18T06:44:53Z [INFO][GNBSIM][RealUe][imsi-208930100007487] Handling: PDU-SESSION-ESTABLISHMENT-ACCEPT-EVENT
2024-07-18T06:44:53Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Pdu Session Created
2024-07-18T06:44:53Z [INFO][GNBSIM][RealUe][imsi-208930100007487] Adding new PDU Session for PDU Sess ID: 10
2024-07-18T06:44:53Z [INFO][GNBSIM][RealUe][imsi-208930100007487] PDU Session ID: 10
2024-07-18T06:44:53Z [INFO][GNBSIM][RealUe][imsi-208930100007487] PDU Session Type: IPV4
2024-07-18T06:44:53Z [INFO][GNBSIM][RealUe][imsi-208930100007487] SSC Mode: 1
2024-07-18T06:44:53Z [INFO][GNBSIM][RealUe][imsi-208930100007487] PDU Address: 172.250.0.6
2024-07-18T06:44:53Z [INFO][GNBSIM][Stats] Received Event: PDU_SESS_ACC_IN:  &{0001-01-01 00:00:00 +0000 UTC imsi-208930100007487 19 9}
2024-07-18T06:44:53Z [INFO][GNBSIM][Stats] Find the UE  imsi-208930100007487
2024-07-18T06:44:53Z [INFO][GNBSIM][Stats] Time[us] between PDU Sess Req & Accept  224771
2024-07-18T06:44:54Z [INFO][GNBSIM][SimUe][imsi-208930100007487] Handling event: DATA-BEARER-SETUP-REQUEST-EVENT
2024-07-18T06:44:54Z [TRAC][GNBSIM][SimUe][imsi-208930100007487] Sending DATA-BEARER-SETUP-REQUEST-EVENT to RealUe
2024-07-18T06:44:54Z [INFO][GNBSIM][RealUe][imsi-208930100007487] Handling: DATA-BEARER-SETUP-REQUEST-EVENT
2024-07-18T06:44:54Z [INFO][GNBSIM][RealUe][imsi-208930100007487] Fetching PDU Session for pduSessId: 10
2024-07-18T06:44:54Z [INFO][GNBSIM][SimUe][imsi-208930100007487] Handling event: DATA-BEARER-SETUP-RESPONSE-EVENT
2024-07-18T06:44:54Z [TRAC][GNBSIM][SimUe][imsi-208930100007487] Sending DATA-BEARER-SETUP-RESPONSE-EVENT to GnbUe
2024-07-18T06:44:54Z [TRAC][GNBSIM][SimUe][imsi-208930100007487] Sending Procedure Result to Profile : PASS
2024-07-18T06:44:54Z [TRAC][GNBSIM][SimUe][imsi-208930100007487] Sending PROC-PASS-EVENT to Profile routine
2024-07-18T06:44:54Z [TRAC][GNBSIM][SimUe][imsi-208930100007487] Sent  PROC-PASS-EVENT to Profile routine
2024-07-18T06:44:54Z [INFO][GNBSIM][ProfUeCtx][imsi-208930100007487] imsiStateMachine received result
2024-07-18T06:44:54Z [INFO][GNBSIM][ProfUeCtx][imsi-208930100007487] procedure: PDU-SESSION-ESTABLISHMENT-PROCEDURE, status: PROC-PASS-EVENT, E2E latency [ms]: 730
2024-07-18T06:44:54Z [INFO][GNBSIM][ProfUeCtx][imsi-208930100007487] Procedure Result: PASS, imsi: imsi-208930100007487
2024-07-18T06:44:54Z [INFO][GNBSIM][ProfUeCtx][imsi-208930100007487] Execute procedure  USER-DATA-PACKET-GENERATION-PROCEDURE
2024-07-18T06:44:54Z [INFO][GNBSIM][ProfUeCtx][imsi-208930100007487] Waiting for procedure result from imsiStateMachine
2024-07-18T06:44:54Z [INFO][GNBSIM][SimUe][imsi-208930100007487] Handling event: PROC-START-EVENT
2024-07-18T06:44:54Z [INFO][GNBSIM][SimUe][imsi-208930100007487] Start new procedure  USER-DATA-PACKET-GENERATION-PROCEDURE
2024-07-18T06:44:54Z [INFO][GNBSIM][SimUe][imsi-208930100007487] Initiating User Data Packet Generation Procedure
2024-07-18T06:44:54Z [INFO][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Handling: INIT-EVENT
2024-07-18T06:44:54Z [INFO][GNBSIM][SimUe][imsi-208930100007487] Please wait, initiating uplink user data in 3 seconds ...
2024-07-18T06:44:54Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] Handling event: DATA-BEARER-SETUP-RESPONSE-EVENT
2024-07-18T06:44:54Z [INFO][GNBSIM][GNodeB][GnbCpUe][503316480] Fetching GnbUpUe for pduSessId: 10
2024-07-18T06:44:54Z [INFO][GNBSIM][GNodeB][GnbUeDao] Adding new GnbUpUe for TEID: 503316480 Downlink: true
2024-07-18T06:44:54Z [INFO][GNBSIM][GNodeB][ControlPlaneTransport] Wrote 45 bytes
2024-07-18T06:44:54Z [TRAC][GNBSIM][GNodeB][GnbCpUe][503316480] Sent PDU Session Resource Setup Response Message to AMF
2024-07-18T06:44:54Z [INFO][GNBSIM][Stats] Received Event: MSG_OUT:  &{2024-07-18 06:44:54.089378323 +0000 UTC m=+1.017932377  1 10}
2024-07-18T06:44:54Z [INFO][GNBSIM][Stats] No transaction found for Id: 10
2024-07-18T06:44:57Z [TRAC][GNBSIM][SimUe][imsi-208930100007487] Sending DATA-PACKET-GENERATION-REQUEST-EVENT to RealUe
2024-07-18T06:44:57Z [INFO][GNBSIM][RealUe][imsi-208930100007487] Handling: DATA-PACKET-GENERATION-REQUEST-EVENT
2024-07-18T06:44:57Z [INFO][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Handling: DATA-PACKET-GENERATION-REQUEST-EVENT
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Sending UL ICMP ping message
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] ICMP payload size: 48
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Sent UL ICMP ping message
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Handling UL Packet from UE
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][UserPlaneTransport] Sent UDP Packet, length: 92 bytes
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Sent UL Packet from UE to UPF
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][UserPlaneTransport] Read 92 bytes from 192.168.252.3:2152
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbPeerDao] Fetching GnbUpf corresponding to IP: 192.168.252.3
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][UserPlaneTransport] Forwarded UDP packet to UPF Worker
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Header field - Length: 84
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Header field - TEID: 503316480
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Optional header present
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpf][192.168.252.3] Processing downlink G-PDU packet
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUeDao] Fetching GnbUpUe for TEID: 503316480 Downlink: true
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Handling DL Packet from UPF Worker
2024-07-18T06:44:57Z [INFO][GNBSIM][Util][GTP] PDU Session Container Extension header length:1
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbUpUe][503316480] Received QFI value in downlink G-PDU: 1
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbUpUe][503316480] Sent DL user data packet to UE
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Handling DL user data packet from gNb
2024-07-18T06:44:57Z [INFO][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Received QFI value in downlink user data packet: 1
2024-07-18T06:44:57Z [INFO][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Received ICMP Echo Reply, ID:12394, Seq:1
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Sending UL ICMP ping message
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] ICMP payload size: 48
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Sent UL ICMP ping message
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Handling UL Packet from UE
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][UserPlaneTransport] Sent UDP Packet, length: 92 bytes
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Sent UL Packet from UE to UPF
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][UserPlaneTransport] Read 92 bytes from 192.168.252.3:2152
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbPeerDao] Fetching GnbUpf corresponding to IP: 192.168.252.3
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][UserPlaneTransport] Forwarded UDP packet to UPF Worker
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Header field - Length: 84
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Header field - TEID: 503316480
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Optional header present
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpf][192.168.252.3] Processing downlink G-PDU packet
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUeDao] Fetching GnbUpUe for TEID: 503316480 Downlink: true
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Handling DL Packet from UPF Worker
2024-07-18T06:44:57Z [INFO][GNBSIM][Util][GTP] PDU Session Container Extension header length:1
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbUpUe][503316480] Received QFI value in downlink G-PDU: 1
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbUpUe][503316480] Sent DL user data packet to UE
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Handling DL user data packet from gNb
2024-07-18T06:44:57Z [INFO][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Received QFI value in downlink user data packet: 1
2024-07-18T06:44:57Z [INFO][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Received ICMP Echo Reply, ID:12394, Seq:2
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Sending UL ICMP ping message
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] ICMP payload size: 48
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Sent UL ICMP ping message
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Handling UL Packet from UE
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][UserPlaneTransport] Sent UDP Packet, length: 92 bytes
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Sent UL Packet from UE to UPF
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][UserPlaneTransport] Read 92 bytes from 192.168.252.3:2152
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbPeerDao] Fetching GnbUpf corresponding to IP: 192.168.252.3
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][UserPlaneTransport] Forwarded UDP packet to UPF Worker
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Header field - Length: 84
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Header field - TEID: 503316480
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Optional header present
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpf][192.168.252.3] Processing downlink G-PDU packet
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUeDao] Fetching GnbUpUe for TEID: 503316480 Downlink: true
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Handling DL Packet from UPF Worker
2024-07-18T06:44:57Z [INFO][GNBSIM][Util][GTP] PDU Session Container Extension header length:1
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbUpUe][503316480] Received QFI value in downlink G-PDU: 1
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbUpUe][503316480] Sent DL user data packet to UE
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Handling DL user data packet from gNb
2024-07-18T06:44:57Z [INFO][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Received QFI value in downlink user data packet: 1
2024-07-18T06:44:57Z [INFO][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Received ICMP Echo Reply, ID:12394, Seq:3
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Sending UL ICMP ping message
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] ICMP payload size: 48
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Sent UL ICMP ping message
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Handling UL Packet from UE
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][UserPlaneTransport] Sent UDP Packet, length: 92 bytes
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Sent UL Packet from UE to UPF
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][UserPlaneTransport] Read 92 bytes from 192.168.252.3:2152
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbPeerDao] Fetching GnbUpf corresponding to IP: 192.168.252.3
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][UserPlaneTransport] Forwarded UDP packet to UPF Worker
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Header field - Length: 84
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Header field - TEID: 503316480
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Optional header present
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpf][192.168.252.3] Processing downlink G-PDU packet
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUeDao] Fetching GnbUpUe for TEID: 503316480 Downlink: true
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Handling DL Packet from UPF Worker
2024-07-18T06:44:57Z [INFO][GNBSIM][Util][GTP] PDU Session Container Extension header length:1
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbUpUe][503316480] Received QFI value in downlink G-PDU: 1
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbUpUe][503316480] Sent DL user data packet to UE
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Handling DL user data packet from gNb
2024-07-18T06:44:57Z [INFO][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Received QFI value in downlink user data packet: 1
2024-07-18T06:44:57Z [INFO][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Received ICMP Echo Reply, ID:12394, Seq:4
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Sending UL ICMP ping message
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] ICMP payload size: 48
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Sent UL ICMP ping message
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Handling UL Packet from UE
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][UserPlaneTransport] Sent UDP Packet, length: 92 bytes
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Sent UL Packet from UE to UPF
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][UserPlaneTransport] Read 92 bytes from 192.168.252.3:2152
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbPeerDao] Fetching GnbUpf corresponding to IP: 192.168.252.3
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][UserPlaneTransport] Forwarded UDP packet to UPF Worker
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Header field - Length: 84
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Header field - TEID: 503316480
2024-07-18T06:44:57Z [TRAC][GNBSIM][Util][GTP] Optional header present
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpf][192.168.252.3] Processing downlink G-PDU packet
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUeDao] Fetching GnbUpUe for TEID: 503316480 Downlink: true
2024-07-18T06:44:57Z [TRAC][GNBSIM][GNodeB][GnbUpUe][503316480] Handling DL Packet from UPF Worker
2024-07-18T06:44:57Z [INFO][GNBSIM][Util][GTP] PDU Session Container Extension header length:1
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbUpUe][503316480] Received QFI value in downlink G-PDU: 1
2024-07-18T06:44:57Z [INFO][GNBSIM][GNodeB][GnbUpUe][503316480] Sent DL user data packet to UE
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Handling DL user data packet from gNb
2024-07-18T06:44:57Z [INFO][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Received QFI value in downlink user data packet: 1
2024-07-18T06:44:57Z [INFO][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Received ICMP Echo Reply, ID:12394, Seq:5
2024-07-18T06:44:57Z [TRAC][GNBSIM][RealUe][PduSession][imsi-208930100007487][10] Sent Data Packet Generation Success Event
2024-07-18T06:44:57Z [INFO][GNBSIM][RealUe][imsi-208930100007487] Handling: DATA-PACKET-SUCCESS-EVENT
2024-07-18T06:44:57Z [INFO][GNBSIM][SimUe][imsi-208930100007487] Handling event: DATA-PACKET-SUCCESS-EVENT
2024-07-18T06:44:57Z [TRAC][GNBSIM][SimUe][imsi-208930100007487] Sending Procedure Result to Profile : PASS
2024-07-18T06:44:57Z [TRAC][GNBSIM][SimUe][imsi-208930100007487] Sending PROC-PASS-EVENT to Profile routine
2024-07-18T06:44:57Z [TRAC][GNBSIM][SimUe][imsi-208930100007487] Sent  PROC-PASS-EVENT to Profile routine
2024-07-18T06:44:57Z [INFO][GNBSIM][ProfUeCtx][imsi-208930100007487] imsiStateMachine received result
2024-07-18T06:44:57Z [INFO][GNBSIM][ProfUeCtx][imsi-208930100007487] procedure: USER-DATA-PACKET-GENERATION-PROCEDURE, status: PROC-PASS-EVENT, E2E latency [ms]: 3004
2024-07-18T06:44:57Z [INFO][GNBSIM][ProfUeCtx][imsi-208930100007487] Procedure Result: PASS, imsi: imsi-208930100007487
2024-07-18T06:44:57Z [INFO][GNBSIM][Profile][profile1] No more procedures left
2024-07-18T06:44:57Z [INFO][GNBSIM][ProfUeCtx][imsi-208930100007487] imsiStateMachine no more proc to execute
2024-07-18T06:44:57Z [INFO][GNBSIM][ProfUeCtx][imsi-208930100007487] imsiStateMachine ended
2024-07-18T06:44:57Z [INFO][GNBSIM][Profile][profile1] ExecuteProfile ended
2024-07-18T06:44:57Z [INFO][GNBSIM][Summary] Profile Name: profile1 , Profile Type: pdusessest
2024-07-18T06:44:57Z [INFO][GNBSIM][Summary] Ue's Passed: 1 , Ue's Failed: 0
2024-07-18T06:44:57Z [INFO][GNBSIM][Summary] Profile Status: PASS
2024-07-18T06:45:02Z [INFO][GNBSIM][Stats] Dump all metrics
2024-07-18T06:45:02Z [INFO][GNBSIM][Stats] UE: imsi-208930100007487, TotalRegTime[us]: 61208, RegReqAuthReq[us]: 17550,  AuthRspSecMReq[us]: 9495, SecModeRspICReq[us]: 34163
2024-07-18T06:45:02Z [INFO][GNBSIM][Stats] UE: imsi-208930100007487, TotalPduEstTime[us]: 224771, PduSessReqAccept[us]: 224771

Copy link
Contributor

@gruyaume gruyaume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, a couple of nits here and there

conf/route_control.py Show resolved Hide resolved
conf/route_control.py Outdated Show resolved Hide resolved
conf/route_control.py Outdated Show resolved Hide resolved
conf/route_control.py Outdated Show resolved Hide resolved
conf/utils.py Outdated Show resolved Hide resolved
gatici added 4 commits July 18, 2024 19:52
Signed-off-by: gatici <gulsum.atici@canonical.com>
Signed-off-by: gatici <gulsum.atici@canonical.com>
Signed-off-by: gatici <gulsum.atici@canonical.com>
Signed-off-by: gatici <gulsum.atici@canonical.com>
@gatici gatici requested a review from gruyaume July 18, 2024 18:19
Copy link
Collaborator

@gab-arrobo gab-arrobo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good. I just added some minor comments and a question

conf/test_route_control.py Outdated Show resolved Hide resolved
conf/route_control.py Outdated Show resolved Hide resolved
conf/route_control.py Outdated Show resolved Hide resolved
conf/route_control.py Outdated Show resolved Hide resolved
conf/test_route_control.py Show resolved Hide resolved
gatici added 2 commits July 22, 2024 11:01
Signed-off-by: gatici <gulsum.atici@canonical.com>
Signed-off-by: gatici <gulsum.atici@canonical.com>
@gatici gatici force-pushed the replace-deprecated-ipdb-with-ndb branch from d02fd83 to bbe176c Compare July 22, 2024 08:20
@gatici gatici requested a review from gab-arrobo July 22, 2024 08:22
Copy link
Collaborator

@gab-arrobo gab-arrobo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@gab-arrobo gab-arrobo merged commit 4de0ab4 into omec-project:master Jul 22, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace IPDB with NDB in UPF
4 participants