Lines Matching refs:update_url
47 def url_to_version(update_url): argument
58 urlparse.urlparse(update_url).path).split('/')[-1].strip()
61 def url_to_image_name(update_url): argument
72 return '/'.join(urlparse.urlparse(update_url).path.split('/')[-2:])
75 def _get_devserver_build_from_update_url(update_url): argument
94 parts = re.search(re_pattern, update_url)
96 raise ValueError('%s is not an update url' % update_url)
100 def list_image_dir_contents(update_url): argument
105 if not update_url:
108 error_msg = 'Cannot check contents of devserver, update url %s' % update_url
110 devserver_url, build = _get_devserver_build_from_update_url(update_url)
131 def __init__(self, updater_ctrl_bin, update_url, host): argument
139 self.update_url = update_url
161 (self.updater_ctrl_bin, self.update_url))
182 list_image_dir_contents(self.update_url)
206 (self.updater_ctrl_bin, self.update_url))
209 list_image_dir_contents(self.update_url)
213 (self.update_url, self.host.hostname, e))
244 def __init__(self, update_url, host=None, local_devserver=False): argument
245 super(ChromiumOSUpdater, self).__init__(self.UPDATER_BIN, update_url,
249 self.update_version = url_to_version(update_url)
425 statefuldev_url = self.update_url.replace('update',
462 auserver_host = urlparse.urlparse(self.update_url)[1]
469 logging.info('Installing from %s to %s', self.update_url,
504 list_image_dir_contents(self.update_url)
582 self.update_url)
656 def __init__(self, update_url, host=None): argument
663 '/system/bin/update_engine_client', update_url, host)