References
...
This is a PostgreSQL DB, and is intended to persist information such as the following:
- PCI-Handler MS Config information (e.g., thresholds, timer values, OOF algorithm name, etc.)
- Pre-processing results and other related information (e.g., neighbor list)
- Buffered notifications (i.e., notifications not yet processed at all)
- State information
- Association between pnf-name and CellId
1.3. DMaaP Client
This is responsible for registering with the DMaaP client for the DMaaP notifications from SDN-R, and to Policy.
2. Core Logic components and Pre-processing algorithm
...
The state transition diagram is illustrated below:
The main actions in the various states are listed below:
...
- Fetch the PCI_optimization requests (from DB) for which OOF has been triggered, and corresponding ‘cluster’ details
- For each ‘cluster’ for which OOF has been triggered, check if the Nodeid of the Cell Ci or at least one cell in its NbrList matches with any cell in the ‘cluster’
- If there is a match, then the request has to be buffered, along with the cluster indication (cluster id), else the notification has to be processed.
- If ‘notification has to be processed’
...
- , transition to Child Thread triggering state, else transition to Buffer notification state.
2.1.4. Child Thread triggering
- Fetch the available clusters (corresponding to the active child threads) from DB.
For each cluster:
if the Cell Ci and/or its neighbors Nbr_1i to Nbr_Ki are present in the cluster
then
...
3. If child_thread_mapped = false, then instantiate a new cluster (i.e., this cell is part of a new cluster).
...
2.1.5. Buffer notification
Buffer the notification (along with the cluster id) in the DB.
fi
2.1.
...
6. OOF Response Handling
Upon invocation of API by OOF for PCI result pass it to the relevant child thread(s) (by request id <-> thread mapping). Store the OOF results in database along with the timestamp.
2.1.
...
7. Child thread status update handling (PCI recommendations sent to Policy)
Upon trigger from Child thread that OOF results have been sent to Policy (as a DMaaP message), check if there are any buffered notifications to be handled for the cluster handled by the Child thread.
If there are any such buffered notifications, forward them to the Child thread , otherwise kill the Child thread (transition to Buffered notification handling state, otherwise transition to Resource cleanup state.
2.1.8. Resource cleanup
Kill the Child thread for which the OOF PCI results were received, and clean up resources associated with the cluster handled by the Child thread.
2.1.
...
9. Terminating
Upon receiving a terminate request clean up all resources.
...