Re-introduce 'bmc' substate to state.py files.

Change-Id: Icf80be4631fedc2a90e89611909169b500df97a5
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/state.py b/lib/state.py
index dd151bf..1c0f61d 100755
--- a/lib/state.py
+++ b/lib/state.py
@@ -93,6 +93,7 @@
     # default_state is an initial value which may be of use to callers.
     default_state = DotDict([('rest', '1'),
                              ('chassis', 'On'),
+                             ('bmc', 'Ready'),
                              ('boot_progress', 'FW Progress, Starting OS'),
                              ('host', 'Running'),
                              ('os_ping', '1'),
@@ -108,6 +109,7 @@
                         'epoch_seconds',
                         'rest',
                         'chassis',
+                        'bmc',
                         'boot_progress',
                         'host',
                         'os_ping',
@@ -117,6 +119,7 @@
     # is used as its value.
     default_req_states = ['rest',
                           'chassis',
+                          'bmc',
                           'boot_progress',
                           'host',
                           'os_ping',
@@ -125,6 +128,7 @@
 
     # A master dictionary to determine whether the os may be up.
     master_os_up_match = DotDict([('chassis', '^On$'),
+                                  ('bmc', '^Ready$'),
                                   ('boot_progress',
                                    'FW Progress, Starting OS'),
                                   ('host', '^Running$')])