def _gen_rollback_cfg(self):
cfg_file = self._gen_full_path(self.rollback_cfg)<EOL>cmd = '<STR_LIT>'.format(cfg_file)<EOL>self._disable_confirm()<EOL>self.device.send_command_expect(cmd)<EOL>self._enable_confirm()<EOL>
Save a configuration that can be used for rollback.