travelping / upg-vpp

User Plane Gateway (UPG) based on VPP
Apache License 2.0
150 stars 51 forks source link

Remove related flows together with PFCP sessions #277

Closed ivan4th closed 2 years ago

ivan4th commented 2 years ago

This is needed to avoid losing IPFIX reports for the flows that still exist when a PFCP session is deleted. As part of the change, flowtable hooks are replaced with flowtable events which are more flexible (multiple handlers per event). Possible inconsistencies related to flows that don't correspond to any active session are now being avoided.

ivan4th commented 2 years ago

A bit of explanation: