Versions Compared

Key

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

...

draw.io Diagram
bordertrue
diagramName TR-181 data objects
simpleViewerfalse
linksauto
tbstyletop
lboxtrue
diagramWidth818
revision1

Startup Sequence

Image Removed

  1. When RDK WAN Manager is launched, it will load data from persistent storage to initialise the Data Model. (See the Data Model definitions for a list of parameters that will be persisted).
  2. After initialising the Data Model, it will check if a temporary storage file ("/tmp/wanmanager_db") exists. If this file is present, it means that the RDK WAN Managerstopped unexpectedly, and it can recover state data from this file.
    1. If this file is not present, it means that the CPE has just rebooted. In this case, the state data can be initialised to default values for every entry in the CPEInterface.{i}. table.
    2. See the State Data section below for details on how to initialise data parameters.
  3. After loading the data, the RDK Bus interface will be initialised, as will the event handler processes. This will allow RDK WAN Manager to send and receive events from other RDK components.
  4. Once all intialisation is complete, RDK WAN Managerwill read the X_RDK_WanManager.Policy setting and start the corresponding Policy State Machine.
  5. Only onePolicy State Machine can be started, and currently a reboot is required to change the running policy. The Policy State Machine should be run in the main thread as RDK WAN Manager will no longer be required to handle any other tasks other than event handling (which should be in a thread of its own anyway). More information on the Policies and Policy State Machines can be found in Policies.