UPF SessMgr Functionality
Following are the modifications that are done in the UPF SessMgr to support this feature.
-
Provide services to the CLI for enabling or disabling the MonSub tracing.
-
Control NPUMgr to connect/start/stop/add/delete streams or TEP bearers and disconnect.
-
The SessMgr maintains the PSN from the NPUMgr (as part of CONNECT API) and sub session ID, which is SessMgr (local to SMGR instance) specific. The SessMgr sends all requests with PSN and sub session ID to NPUMgr for a monitor subscriber tracing session.
-
Based on the instructions from the CLI, configures panopticon (through NPUMgr) for changes, such as packet size and priority.
-
Read the "hex dump module" configurations and store them locally. Pass the relevant parameters (such as filename) to Session Manager Co-Proc.
-
Instantiate SessMgr Co-Proc and then instruct it to copy panopticon generated PCAP files to hard disk. Also handle the termination of SessMgr Co-Proc when MonSub session is over.
-
Handle file copy message from SessMgr Co-Proc and inform panopticon about the copied bundle.
-
If the file copy fails or there are problems with SessMgr Co-Proc instantiation, raises the SNMP alarms.
-
Handle the buffer full indications from panopticon and copy the PCAP from the RAM disk to the configured destination directory.
-
Capture the control or slowpath packets. Pass them to SessMgr Co-Proc to publish it as a separate PCAP.
-
This feature supports a maximum of four monitor subscriber tracing sessions for a UPF instance. The NPUMgr enforces the tracing limit.
-
The MonSub tracing session terminates in the absence of no space on hard disk or no hard disk.
-
There are C-Proc (file copy and logging) per UPF SessMgr instance, when monitor subscriber tracing is initiated for that SessMgr instance.
-
The MonSub session tear down takes time depending on the final poll timer and disconnect responses from Co-Proc/NPUMgr.