def populate_local_sch_cache(self, fw_dict):
for fw_id in fw_dict:<EOL><INDENT>fw_data = fw_dict.get(fw_id)<EOL>mgmt_ip = fw_data.get('<STR_LIT>')<EOL>dev_status = fw_data.get('<STR_LIT>')<EOL>if dev_status == '<STR_LIT>':<EOL><INDENT>new = True<EOL><DEDENT>else:<EOL><INDENT>new = False<EOL><DEDENT>if mgmt_ip is not None:<EOL><INDENT>drvr_dict, mgmt_ip = self.sched_obj.populate_fw_dev(fw_id,<EOL>mgmt_ip,<EOL>new)<EOL>if drvr_dict is None or mgmt_ip is None:<EOL><INDENT>LOG.info("<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT><DEDENT><DEDENT>
Populate the local cache from FW DB after restart.