Versions Compared

Key

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

...

The zedagent module will be broken-up. The base of baseos upgrade validation and over all connectivity and device health will be managed by DevAgent. The DevAgent will be one of the first modules to be spawned along with ledmanager, and will be persistent for the whole lifetime of the EVE node. The ZedAgent will be only responsible for cloud connectivity and configuration parsing and status/metrics publication. The baseos upgrade validation will be covered by DevAgent module, covering all the intermediary state for the device boot up. 

...

EVE Node health check functionality, currently consists of the following, 

...

The watchdog time functionality will remain as such. The reset and fallback time functionality will be moved into a new agent called, devagent. The whole baseos upgrade validation orchestration functionality will be moved into devagent module. Devagent will be spwaned along with ledmanager. Devagent will listen to ledmanager ledblinker config messages to determine controller connectivity status along with successful configuration pull message time stamps from zedagent, to orchestrate the baseof baseos upgrade validation functionality. Devagent will be owner for Zboot config and will publish them for usage by baseosmanager. Also on successful baseos installation and reset/fallback timer expiry, the device reboot operations will be triggered through "devagent status"  pusub topic.

...

Baseosmanger will listen to devagent module, zboot config messages to handle, and update zboot status, during baseos validation orchestration.

In a nutshell, this is the followings are going to be overall, change in event events handling per module.

Baseosmgr Module

 Will Baswosmgr wiill subscribe to the following following topic

      - zbootconfig topic "zboot config" from devagent

ZedAgent Module

 Zedagent wiill subscribe to the following topicstopic,

     - "devagent status topic " from devagent

            - for executing device reboot command 

            - to publish the remaining test time to controller, for baseos upgrade validation

  Zedagent will publish the following topic,

      - "zedagent status"

            - time stamp for last successful configuration pull from controller

DevAgent Module

DevAgent  module will  subscribe to the following topics,

   - "ledBlinker Configconfig", generated by zedclient/zedagent,  etc

          - for EVE node registration, controller connectivity change events

   - Zboot Status"zboot status", generated by baseosmgr

           - for baseos installation and upgrade validation orchestration

   - "Zedagent Status", generated by zedagent

            - to know, for the last successful config fetch from controller, for baseos upgrade validation and testing orchestration

DevAgent will publish to the following topics,

    - Zboot Config"zboot config"

              - zboot partition information

    - DevAgent Status"devagent status"

              - for reboot commands, in baseos installation or, reset/fallback timer expiry.

               - remaining test time, for publishing  to controller ( consumed by zedagent)

...


P.S.

For completeness and future workscope, the following items are noted, for EVE node health. This list is not exhaustive, and the nessary actions for them needs be defined. 

...