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 component and Pre-processing algorithm
...
- 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.
...
else
Buffer the notification (along with the cluster id)
fi
2.1.4. 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.5. Status update from Child thread (PCI recommendations sent to Policy)
Upon trigger from
...
Child thread that OOF
...
results have been sent to Policy
...
(as a ) Check for DMaaP message), check if there are any buffered notifications to be handled for that cluster (using cluster id)
If yes
Then
Forward it to the child thread
Else
Kill the child thread
Fithe cluster handled by the Child thread. If there are any such buffered notifications, forward them to the Child thread, otherwise kill the Child thread and clean up resources associated with the cluster handled by the Child thread.
2.1.6. Terminating
Upon receiving a terminate request clean up all resources.
...
If ‘process’
...