def populate_fw_dev(self, fw_id, mgmt_ip, new):
for cnt in self.res:<EOL><INDENT>used = self.res.get(cnt).get('<STR_LIT>')<EOL>if mgmt_ip == self.res[cnt].get('<STR_LIT>'):<EOL><INDENT>if new:<EOL><INDENT>self.res[cnt]['<STR_LIT>'] = used + <NUM_LIT:1><EOL><DEDENT>self.res[cnt]['<STR_LIT>'].append(fw_id)<EOL>return self.res[cnt].get('<STR_LIT>'), (<EOL>self.res[cnt].get('<STR_LIT>'))<EOL><DEDENT><DEDENT>return None, None<EOL>
Populate the class after a restart.