def discard_config(self):
discard_candidate = '<STR_LIT>'.format(self._gen_full_path(self.candidate_cfg))<EOL>discard_merge = '<STR_LIT>'.format(self._gen_full_path(self.merge_cfg))<EOL>self._disable_confirm()<EOL>self.device.send_command_expect(discard_candidate)<EOL>self.device.send_command_expect(discard_merge)<EOL>self._enable_confirm()<EOL>
Set candidate_cfg to current running-config. Erase the merge_cfg file.