def commit_config(self, message="<STR_LIT>"):
if message:<EOL><INDENT>raise NotImplementedError(<EOL>"<STR_LIT>"<EOL>)<EOL><DEDENT>commands = [<EOL>"<STR_LIT>",<EOL>"<STR_LIT>".format(self.config_session),<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>]<EOL>self.device.run_commands(commands)<EOL>self.config_session = None<EOL>
Implementation of NAPALM method commit_config.