| /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/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/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/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/openbmc/poky/bitbake/lib/bb/fetch2/ |
| H A D | gitsm.py | 60 url = line.split('=')[1].strip() 61 modules[module]['url'] = url 101 url = uris[module].replace('%s:' % proto, 'gitsm:', 1) 108 url = "gitsm://" + uris[module].replace(':/', '/', 1) 111 …fers to relative ssh reference %s. References may fail if not absolute." % (ud.url, uris[module])) 112 url = "gitsm://" + uris[module].replace(':', '/', 1) 116 url = "gitsm://" + uris[module] 117 if url.endswith("{}{}".format(ud.host, ud.path)): 121 url += ';protocol=%s' % proto 122 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/bmcweb/http/ |
| H A D | utility.hpp | 37 constexpr uint64_t getParameterTag(std::string_view url) in getParameterTag() argument 42 for (size_t urlIndex = 0; urlIndex < url.size(); urlIndex++) in getParameterTag() 44 char character = url[urlIndex]; in getParameterTag() 60 url.substr(urlSegmentIndex, urlIndex + 1 - urlSegmentIndex); in getParameterTag() 340 inline void appendUrlPieces(boost::urls::url& url, AV&&... args) in appendUrlPieces() argument 346 url.segments().push_back(arg); in appendUrlPieces() 396 inline bool readUrlSegments(const boost::urls::url_view_base& url, in readUrlSegments() argument 399 const boost::urls::segments_view& urlSegments = url.segments(); in readUrlSegments() 409 std::string fragment = url.fragment(); in readUrlSegments() 464 inline bool readUrlSegments(const boost::urls::url_view_base& url, in readUrlSegments() argument [all …]
|
| /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-mirrors/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-mirrors/u-boot-sam460ex.git [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/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 | 175 boost::urls::url_view url( in TEST() local 180 readUrlSegments(url, "redfish", "v1", "Managers", std::ref(managerId), in TEST() 199 EXPECT_EQ(nlohmann::json(boost::urls::url(urlString)), urlString); in TEST() 205 boost::urls::url url("/redfish/v1/foo"); in TEST() local 206 EXPECT_EQ(std::string_view(url.data(), url.size()), "/redfish/v1/foo"); in TEST() 208 appendUrlPieces(url, "bar"); in TEST() 209 EXPECT_EQ(std::string_view(url.data(), url.size()), "/redfish/v1/foo/bar"); in TEST() 211 appendUrlPieces(url, "/", "bad&string"); in TEST() 212 EXPECT_EQ(std::string_view(url.data(), url.size()), in TEST()
|
| /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/redfish-core/include/ |
| H A D | redfish_aggregator.hpp | 95 boost::system::result<boost::urls::url> parsedUrl = in searchCollectionsArray() 140 std::string_view url = segments.buffer(); in searchCollectionsArray() local 141 const auto* it = std::ranges::lower_bound(topCollections, url); in searchCollectionsArray() 149 boost::urls::url collectionUrl(*it); in searchCollectionsArray() 239 boost::urls::url url("/"); in addPrefixToStringItem() local 257 std::string_view(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 …]
|
| /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-test-automation/ffdc/plugins/ |
| H A D | redfish.py | 67 def enumerate_request(hostname, username, password, url, return_json="json"): argument 105 pending_enumeration.add(url) 110 resources_to_be_enumerated = (url,) 134 walk_nested_dict(response, url=resource) 149 def walk_nested_dict(data, url=""): argument 172 url = url.rstrip("/") 191 if value == url: 192 result[url] = data
|
| /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/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/qemu/tests/functional/qemu_test/ |
| H A D | asset.py | 22 self.url = asset.url 27 return "%s: %s" % (self.url, self.msg) 35 def __init__(self, url, hashsum): argument 36 self.url = url 49 self.url, self.hash, self.cache_file) 118 self.cache_file, self.url) 125 self.log.info("Downloading %s to %s...", self.url, self.cache_file) 131 with urllib.request.urlopen(self.url) as resp: 144 self.url, fsize, length) 162 self.url, e.code) [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/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/bmcweb/redfish-core/lib/ |
| H A D | odata.hpp | 38 boost::urls::url url = boost::urls::format("/redfish/v1/{}", service); in redfishOdataGet() local 41 url = boost::urls::url("/redfish/v1"); in redfishOdataGet() 43 serviceObj["url"] = url; in redfishOdataGet()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/files/ |
| H A D | generate-srcuri.py | 29 url = urllib.parse.urlunparse(parts) 33 return url + f";protocol={protocol};nobranch=1;destsuffix={destination};rev={sha}" 57 url = f"{p.url};subdir={dest};sha256sum={p.checksum}" 61 url = transform_git(p.httpsUrl, p.revision, dest) 85 parts = urllib.parse.urlparse(repo.url) 88 url = urllib.parse.urlunparse(parts) 90 sha = resolve_commit(repo.url, repo.commit) 94 url += f";protocol={protocol};nobranch=1;destsuffix={destsuffix};rev={sha}"
|
| /openbmc/openbmc/meta-arm/ci/ |
| H A D | update-repos | 11 def repo_shortname(url): argument 14 url = urlparse(url) 16 .format(url=url)
|
| /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_sample.py | 26 url = reverse('landing') 27 self.get(url) 33 url = reverse('all-builds') 34 self.get(url)
|