/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
H A D | urls.py | 9 from django.urls import re_path as url unknown 21 url(r'^landing/$', views.landing, name='landing'), 23 url(r'^builds/$', 28 url(r'^build/(?P<build_id>\d+)$', views.builddashboard, name="builddashboard"), 29 url(r'^build/(?P<build_id>\d+)/tasks/$', 34 url(r'^build/(?P<build_id>\d+)/task/(?P<task_id>\d+)$', views.task, name='task'), 36 url(r'^build/(?P<build_id>\d+)/recipes/$', 41 …url(r'^build/(?P<build_id>\d+)/recipe/(?P<recipe_id>\d+)/active_tab/(?P<active_tab>\d{1})$', views… 43 url(r'^build/(?P<build_id>\d+)/recipe/(?P<recipe_id>\d+)$', views.recipe, name='recipe'), 44 …url(r'^build/(?P<build_id>\d+)/recipe_packages/(?P<recipe_id>\d+)$', views.recipe_packages, name='… [all …]
|
/openbmc/linux/scripts/ |
H A D | get_dvb_firmware | 51 my $url = "http://www.softwarepatch.pl/9999ccd06a4813cb827dbb0005071c71/$sourcefile"; 58 wgetfile($sourcefile, $url); 68 my $url = "http://www.avermedia.com/software/$sourcefile"; 77 wgetfile($sourcefile, $url); 88 my $url = "http://www.technotrend.de/new/217g/$sourcefile"; 95 wgetfile($sourcefile, $url); 106 my $url = "http://technotrend.com.ua/download/software/219/$sourcefile"; 113 wgetfile($sourcefile, $url); 124 my $url = "http://www.lifeview.hk/dbimages/document/$sourcefile"; 131 wgetfile($sourcefile, $url); [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | redfish_request.py | 34 def form_url(url): argument 47 "https://" + str(openbmc_host) + ":" + str(https_port) + str(url) 67 def request_login(self, headers, url, credential, timeout=10): argument 101 self, headers=headers, url=url, data=credential 106 def request_get(self, headers, url, timeout=10, verify=False): argument 128 url = redfish_request.form_url(url) 135 + str(url) 144 url, headers=headers, timeout=timeout, verify=verify 150 def request_patch(self, headers, url, data=None, timeout=10, verify=False): argument 175 url = redfish_request.form_url(url) [all …]
|
/openbmc/bmcweb/http/ |
H A D | utility.hpp | 34 constexpr uint64_t getParameterTag(std::string_view url) in getParameterTag() argument 39 for (size_t urlIndex = 0; urlIndex < url.size(); urlIndex++) in getParameterTag() 41 char character = url[urlIndex]; in getParameterTag() 57 url.substr(urlSegmentIndex, urlIndex + 1 - urlSegmentIndex); in getParameterTag() 325 inline void appendUrlPieces(boost::urls::url& url, AV&&... args) in appendUrlPieces() argument 331 url.segments().push_back(arg); in appendUrlPieces() 381 inline bool readUrlSegments(const boost::urls::url_view_base& url, in readUrlSegments() argument 384 const boost::urls::segments_view& urlSegments = url.segments(); in readUrlSegments() 425 inline bool readUrlSegments(const boost::urls::url_view_base& url, in readUrlSegments() argument 428 return details::readUrlSegments(url, {std::forward<Args>(args)...}); in readUrlSegments() [all …]
|
/openbmc/phosphor-misc/http-redirect/ |
H A D | http-redirect.awk | 233 function split_url_components(url, components) 235 if (match(url, /#/)) { 236 components["frag"] = substr(url, RSTART + 1) 237 url = substr(url, 1, RSTART - 1) 240 if (match(url, /\?/)) { 241 components["query"] = substr(url, RSTART + 1) 242 url = substr(url, 1, RSTART - 1) 245 if (match(url, /^[^:\/?#]+:/)) { 246 components["scheme"] = substr(url, 1, RLENGTH - 1) ; 247 url = substr(url, RLENGTH + 1) [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | gitsm.py | 60 url = line.split('=')[1].strip() 61 modules[module]['url'] = url 102 url = uris[module].replace('%s:' % proto, 'gitsm:', 1) 109 url = "gitsm://" + uris[module].replace(':/', '/', 1) 112 …fers to relative ssh reference %s. References may fail if not absolute." % (ud.url, uris[module])) 113 url = "gitsm://" + uris[module].replace(':', '/', 1) 117 url = "gitsm://" + uris[module] 118 if url.endswith("{}{}".format(ud.host, ud.path)): 122 url += ';protocol=%s' % proto 123 url += ";name=%s" % module [all …]
|
H A D | __init__.py | 51 def __init__(self, url, message=''): argument 55 msg = "The URL: '%s' is not trusted and cannot be used" % url 56 self.url = url 58 self.args = (url,) 62 def __init__(self, url, message=''): argument 66 msg = "The URL: '%s' is invalid and cannot be interpreted" % url 67 self.url = url 69 self.args = (url,) 73 def __init__(self, message, url = None): argument 74 if url: [all …]
|
/openbmc/openbmc/poky/bitbake/doc/sphinx-static/ |
H A D | switchers.js | 104 var url = urls.shift(); 108 if (url.startsWith("file://")) { 109 window.location.href = url; 114 window.location.href = url; 118 url: url, property in AnonymousClassc446d8e20301 120 window.location.href = url; 129 var url = window.location.href; 132 var urlarray = url.split('/'); 145 var url = window.location.href; 155 var new_url = docroot + new_versionpath + url.replace(docroot, ""); [all …]
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | redfish_aggregator.hpp | 94 boost::system::result<boost::urls::url> parsedUrl = in searchCollectionsArray() 139 std::string_view url = segments.buffer(); in searchCollectionsArray() local 140 const auto* it = std::ranges::lower_bound(topCollections, url); in searchCollectionsArray() 148 boost::urls::url collectionUrl(*it); in searchCollectionsArray() 239 boost::urls::url url("/"); in addPrefixToStringItem() local 257 url.buffer())) in addPrefixToStringItem() 261 url.segments().push_back(collectionItem); in addPrefixToStringItem() 267 url.segments().push_back(*it); in addPrefixToStringItem() 273 url.segments().push_back(*it); in addPrefixToStringItem() 278 url.segments().insert(url.segments().begin(), {"redfish", "v1"}); in addPrefixToStringItem() [all …]
|
H A D | registries_selector.hpp | 21 const char* url; member 29 return HeaderAndUrl{base::header, base::url}; in getRegistryHeaderAndUrlFromPrefix() 33 return HeaderAndUrl{heartbeat_event::header, heartbeat_event::url}; in getRegistryHeaderAndUrlFromPrefix() 37 return HeaderAndUrl{openbmc::header, openbmc::url}; in getRegistryHeaderAndUrlFromPrefix() 41 return HeaderAndUrl{resource_event::header, resource_event::url}; in getRegistryHeaderAndUrlFromPrefix() 45 return HeaderAndUrl{task_event::header, task_event::url}; in getRegistryHeaderAndUrlFromPrefix() 49 return HeaderAndUrl{telemetry::header, telemetry::url}; in getRegistryHeaderAndUrlFromPrefix()
|
/openbmc/qemu/ |
H A D | .gitmodules | 3 url = https://gitlab.com/qemu-project/seabios.git/ 6 url = https://gitlab.com/qemu-project/SLOF.git 9 url = https://gitlab.com/qemu-project/ipxe.git 12 url = https://gitlab.com/qemu-project/openbios.git 15 url = https://gitlab.com/qemu-project/qemu-palcode.git 18 url = https://gitlab.com/qemu-project/u-boot.git 21 url = https://gitlab.com/qemu-project/skiboot.git 24 url = https://gitlab.com/qemu-project/QemuMacDrivers.git 27 url = https://gitlab.com/qemu-project/seabios-hppa.git 30 url = https://gitlab.com/qemu-project/u-boot-sam460ex.git [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | distro_check.py | 7 def create_socket(url, d): argument 12 return urllib.request.urlopen(url) 14 def get_links_from_url(url, d): argument 19 soup = BeautifulSoup(create_socket(url,d), "html.parser", parse_only=SoupStrainer("a")) 25 def find_latest_numeric_release(url, d): argument 29 for link in get_links_from_url(url, d): 52 def get_source_package_list_from_url(url, section, d): argument 55 bb.note("Reading %s: %s" % (url, section)) 56 links = get_links_from_url(url, d) 65 def get_source_package_list_from_url_by_letter(url, section, d): argument [all …]
|
/openbmc/bmcweb/test/http/ |
H A D | router_test.cpp | 35 constexpr std::string_view url = "/foo"; in TEST() local 37 Request req{{boost::beast::http::verb::get, url, 11}, ec}; in TEST() 44 router.newRuleTagged<getParameterTag(url)>(std::string(url)) in TEST() 50 Request patchReq{{boost::beast::http::verb::patch, url, 11}, ec}; in TEST() 53 router.newRuleTagged<getParameterTag(url)>(std::string(url)) in TEST() 84 constexpr std::string_view url = "/foo/bar"; in TEST() local 87 Request::Body{boost::beast::http::verb::get, url, 11}, ec); in TEST() 110 constexpr std::string_view url = "/foo/bar"; variable 113 Request::Body{boost::beast::http::verb::get, url, 11}, ec); 115 router.newRuleTagged<getParameterTag(url)>("/foo/<path>") [all …]
|
H A D | utility_test.cpp | 182 EXPECT_EQ(nlohmann::json(boost::urls::url(urlString)), urlString); in TEST() 188 boost::urls::url url("/redfish/v1/foo"); in TEST() local 189 EXPECT_EQ(std::string_view(url.data(), url.size()), "/redfish/v1/foo"); in TEST() 191 appendUrlPieces(url, "bar"); in TEST() 192 EXPECT_EQ(std::string_view(url.data(), url.size()), "/redfish/v1/foo/bar"); in TEST() 194 appendUrlPieces(url, "/", "bad&string"); in TEST() 195 EXPECT_EQ(std::string_view(url.data(), url.size()), in TEST()
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
H A D | libtoaster.js | 90 function _startABuild (url, targets, onsuccess, onfail) { argument 92 if (!url) 93 url = libtoaster.ctx.xhrBuildRequestUrl; 104 url: url, property in AnonymousClass9980b04c0601 127 function _cancelABuild(url, buildRequestIds, onsuccess, onfail){ argument 128 if (!url) 129 url = libtoaster.ctx.xhrBuildRequestUrl; 133 url: url, property in AnonymousClass9980b04c0701 151 function _getMostRecentBuilds(url, onsuccess, onfail) { argument 153 url: url, property in AnonymousClass9980b04c0801 [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastermain/ |
H A D | urls.py | 9 from django.urls import re_path as url, include unknown 31 url(r'^logs/', include('log_viewer.urls')), 35 url(r'^orm/eventfile$', bldcollector.views.eventfile), 37 url(r'^health$', TemplateView.as_view(template_name="health.html"), name='Toaster Health'), 40 url(r'^$', never_cache(RedirectView.as_view(url='/toastergui/', permanent=True))), 46 urlpatterns.insert(1, url(r'', include('fresh.urls'))) 51 urlpatterns.insert(1, url(r'', include(debug_toolbar.urls))) 56 url(r'^admin/', admin.site.urls), 77 urlpatterns.insert(0, url(r'^' + modulename + '/', include ( modulename + '.urls')))
|
/openbmc/phosphor-webui/app/common/services/ |
H A D | api-utils.js | 29 url: DataService.getHost() + '/redfish/v1/Systems', property in AnonymousFunction1ea782bb0200.SERVICE.getRedfishSysName.AnonymousClass1ea782bb0301 50 url: DataService.getHost() + uri, property in AnonymousFunction1ea782bb0200.SERVICE.getSystemLogs.AnonymousClass1ea782bb0601 78 url: DataService.getHost() + uri, property in AnonymousFunction1ea782bb0200.SERVICE.clearSystemLogs.AnonymousClass1ea782bb0a01 85 url: DataService.getHost() + path + '/action/Delete', property in AnonymousFunction1ea782bb0200.SERVICE.deleteObject.AnonymousClass1ea782bb0b01 97 url: DataService.getHost() + property in AnonymousFunction1ea782bb0200.SERVICE.getHostState.AnonymousClass1ea782bb0e01 116 url: DataService.getHost() + property in AnonymousFunction1ea782bb0200.SERVICE.getSNMPManagers.AnonymousClass1ea782bb1101 235 url: DataService.getHost() + property in AnonymousFunction1ea782bb0200.SERVICE.addSNMPManager.AnonymousClass1ea782bb1901 247 url: DataService.getHost() + snmpManagerPath + '/attr/Port', property in AnonymousFunction1ea782bb0200.SERVICE.setSNMPManagerPort.AnonymousClass1ea782bb1c01 258 url: DataService.getHost() + snmpManagerPath + property in AnonymousFunction1ea782bb0200.SERVICE.setSNMPManagerAddress.AnonymousClass1ea782bb1f01 271 url: DataService.getHost() + property in AnonymousFunction1ea782bb0200.SERVICE.getNetworkInfo.AnonymousClass1ea782bb2201 [all …]
|
/openbmc/openbmc-tools/openbmctool/ |
H A D | openbmctool.py | 114 url = "https://"+host+"/redfish/v1/Systems/system/LogServices/Dump/Entries/"+str(args.dumpNum) 116 resp = session.get(url, headers=jsonHeader, verify=False, timeout=baseTimeout) 403 url="https://"+host+"/xyz/openbmc_project/software/enumerate" 405 resp = session.get(url, headers=jsonHeader, verify=False, timeout=baseTimeout) 504 url="https://"+host+"/xyz/openbmc_project/inventory/enumerate" 506 res = session.get(url, headers=jsonHeader, verify=False, timeout=baseTimeout) 548 url="https://"+host+"/xyz/openbmc_project/inventory/enumerate" 550 res = session.get(url, headers=jsonHeader, verify=False, timeout=baseTimeout) 563 url="https://"+host+"/xyz/openbmc_project/software/enumerate" 565 res = session.get(url, headers=jsonHeader, verify=False, timeout=baseTimeout) [all …]
|
/openbmc/openbmc/poky/documentation/sphinx-static/ |
H A D | switchers.js.in | 110 var url = urls.shift(); 114 if (url.startsWith("file://")) { 115 window.location.href = url; 120 window.location.href = url; 124 url: url, property in AnonymousClass83dfa30a0301 126 window.location.href = url; 135 var url = window.location.href; 144 var urlarray = url.split('/'); 157 var url = window.location.href; 165 var new_url = docroot + new_versionpath + url.replace(docroot, ""); [all …]
|
/openbmc/openbmc-test-automation/ffdc/plugins/ |
H A D | redfish.py | 51 def enumerate_request(hostname, username, password, url, return_json="json"): argument 72 pending_enumeration.add(url) 77 resources_to_be_enumerated = (url,) 101 walk_nested_dict(response, url=resource) 116 def walk_nested_dict(data, url=""): argument 124 url = url.rstrip("/") 143 if value == url: 144 result[url] = data
|
/openbmc/openbmc/poky/bitbake/lib/layerindexlib/ |
H A D | restapi.py | 27 def load_index(self, url, load): argument 39 up = urlparse(url) 42 return self.load_index_file(up, url, load) 45 return self.load_index_web(up, url, load) 47 raise layerindexlib.plugin.LayerIndexPluginUrlError(self.type, url) 50 def load_index_file(self, up, url, load): argument 65 index.config['URL'] = url 134 def load_index_web(self, up, url, load): argument 166 logger.debug("%s: Connection reset by peer. Retrying..." % url) 178 index.config['URL'] = url [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/ |
H A D | test_all_builds_page.py | 94 url = reverse('builddashboard', args=(build.id,)) 95 selector = 'td.target a[href="%s"]' % url 176 url = reverse('all-builds') 177 self.get(url) 198 url = reverse('all-builds') 199 self.get(url) 226 url = reverse('all-builds') 227 self.get(url) 259 url = reverse('all-builds') 260 self.get(url) [all …]
|
/openbmc/bmcweb/test/redfish-core/lib/ |
H A D | update_service_test.cpp | 23 std::optional<boost::urls::url> ret = in TEST() 36 std::optional<boost::urls::url> ret = in TEST() 49 std::optional<boost::urls::url> ret = in TEST() 67 std::optional<boost::urls::url> ret = in TEST() 80 std::optional<boost::urls::url> ret = in TEST() 93 std::optional<boost::urls::url> ret = in TEST() 106 std::optional<boost::urls::url> ret = in TEST() 119 std::optional<boost::urls::url> ret = in TEST()
|
/openbmc/qemu/tests/functional/qemu_test/ |
H A D | asset.py | 27 def __init__(self, url, hashsum): argument 28 self.url = url 41 self.url, self.hash, self.cache_file) 101 self.cache_file, self.url) 107 self.log.info("Downloading %s to %s...", self.url, self.cache_file) 113 with urllib.request.urlopen(self.url) as resp: 128 self.log.error("Unable to download %s: %s", self.url, e) 135 self.url.encode('utf8')) 145 (self.url, self.hash)) 150 self.log.info("Cached %s at %s" % (self.url, self.cache_file))
|
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/views/ |
H A D | test_views.py | 74 url = reverse('all-projects') 75 response = self.client.get(url, {"format": "json"}, follow=True) 103 def basic_reponse_check(response, url): argument 124 if url == layers_url: 129 elif url == prj_url: 136 for url in urls: 140 response = self.client.get(url, {'search': typeing}) 141 results = basic_reponse_check(response, url) 184 url = reverse('xhr_customrecipe') 187 response = self.client.post(url, params) [all …]
|