Node Uptime Reporting

Design

OpenSync uses a dedicated field of the AWLAN_Node OVSDB table: boot_time to store and report the number of seconds since node bootup. 

Whenever a connection to the controller is established, the boot time value gets updated. Upon completion of the NTP_CHECK state, Connectivity Manager (CM) writes the value _"current_time() - uptime()"_ into the AWLAN_Node.boot_time field. CM performs this action before initiating the controller connection.