Changes to state.py:

- Updated comments
- Added support for req_states parm to get_state and get_os_state.
- Added support for the following new sub states:
  - 'ping'
  - 'packet_loss'
  - 'uptime'
  - 'epoch_seconds'
- strip_anchor_state:  New function.
- wait_for_comm_cycle:  New function.

Change-Id: Ic2bdccda1d4ada3b66c9d077a4db9eb310fb4c6d
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
1 file changed