althea-net / open5gs

Open5GS is a C-language Open Source implementation for 5G Core and EPC, i.e. the core network of LTE/NR network (Release-16)
https://open5gs.org
GNU Affero General Public License v3.0
1 stars 1 forks source link

[pfcp] add session-set-delete messages #52

Open spencersevilla opened 2 years ago

spencersevilla commented 2 years ago

This PR adds PFCP Session-Set-Delete Request/Response messages. When a CPS node (e.g. sgwc or smf) calls ogs_pfcp_cp_send_session_set_deletion_request() for a given UPS node (e.g. sgwu or upf), it constructs and sends a Session-Set-Delete-Request message. When the UPS receives this message, it deletes all the sessions that are paired to this CPS node, and then sends a Session-Set-Delete-Response message.