def _upload_config_content(self, configuration, rollbacked=False):
try:<EOL><INDENT>for configuration_line in configuration.splitlines():<EOL><INDENT>self._device.cli(configuration_line)<EOL><DEDENT>self._config_changed = True  <EOL>self._committed = False  <EOL><DEDENT>except (pyPluribus.exceptions.CommandExecutionError,<EOL>pyPluribus.exceptions.TimeoutError) as clierr:<EOL><INDENT>if not rollbacked:<EOL><INDENT>self.discard()<EOL><DEDENT>raise pyPluribus.exceptions.ConfigLoadError("<STR_LIT>".format(err=clierr.message))<EOL><DEDENT>return True<EOL>
Will try to upload a specific configuration on the device.