Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The state transition diagram is illustrated below:

Image RemovedImage Added

The main actions in the various states are listed below:

...

  1. Fetch the PCI_optimization requests (from DB) for which OOF has been triggered, and corresponding ‘cluster’ details
  2. 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’
  3. 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.
  4. If ‘notification has to be processed’

...

  1. , transition to Child Thread triggering state, else transition to Buffer notification state.

2.1.4. Child Thread triggering

  1. Fetch the available clusters (corresponding to the active child threads) from DB.
  2. 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.

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 (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, , otherwise kill the Child thread 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.

...