def deallocate_fw_dev(self, fw_id):
for cnt in self.res:<EOL><INDENT>if fw_id in self.res.get(cnt).get('<STR_LIT>'):<EOL><INDENT>self.res[cnt]['<STR_LIT>'] = self.res[cnt]['<STR_LIT>'] - <NUM_LIT:1><EOL>self.res.get(cnt).get('<STR_LIT>').remove(fw_id)<EOL>return<EOL><DEDENT><DEDENT>
Release the firewall resource.