Home
last modified time | relevance | path

Searched refs:app (Results 1 – 25 of 341) sorted by relevance

12345678910>>...14

/openbmc/bmcweb/redfish-core/src/
H A Dredfish.cpp68 RedfishService::RedfishService(App& app) in RedfishService() argument
70 requestRoutesMetadata(app); in RedfishService()
71 requestRoutesOdata(app); in RedfishService()
73 requestAccountServiceRoutes(app); in RedfishService()
74 requestRoutesAssembly(app); in RedfishService()
78 requestRoutesAggregationService(app); in RedfishService()
79 requestRoutesAggregationSourceCollection(app); in RedfishService()
80 requestRoutesAggregationSource(app); in RedfishService()
82 requestRoutesRoles(app); in RedfishService()
83 requestRoutesRoleCollection(app); in RedfishService()
[all …]
/openbmc/webui-vue/src/
H A Dmain.js78 const app = createApp(App); constant
83 app.use(createBootstrap());
85 app.component('BButton', BButton);
86 app.component('BBtn', BButton);
87 app.component('BContainer', BContainer);
88 app.component('BForm', BForm);
89 app.component('BFormGroup', BFormGroup);
90 app.component('BFormInput', BFormInput);
91 app.component('BFormCheckboxGroup', BFormCheckboxGroup);
92 app.component('BInputGroup', BInputGroup);
[all …]
/openbmc/bmcweb/test/http/
H A Dcrow_getroutes_test.cpp25 App app; in TEST() local
26 app.validate(); in TEST()
28 EXPECT_THAT(app.getRoutes(), IsEmpty()); in TEST()
34 App app; in TEST() local
36 BMCWEB_ROUTE(app, "/") in TEST()
49 App app; in TEST() local
50 BMCWEB_ROUTE(app, "/") in TEST()
52 BMCWEB_ROUTE(app, "/foo") in TEST()
54 BMCWEB_ROUTE(app, "/bar") in TEST()
56 BMCWEB_ROUTE(app, "/baz") in TEST()
[all …]
/openbmc/pldm/pldmtool/
H A Dpldmtool.cpp34 explicit RawOp(const char* type, const char* name, CLI::App* app) : in RawOp() argument
35 CommandInterface(type, name, app) in RawOp()
37 app->add_option("-d,--data", rawData, "raw data") in RawOp()
56 void registerCommand(CLI::App& app) in registerCommand() argument
59 app.add_subcommand("raw", "send a raw request and print response"); in registerCommand()
68 CLI::App app{"PLDM requester tool for OpenBMC"}; in main() local
69 app.require_subcommand(1)->ignore_case(); in main()
71 pldmtool::raw::registerCommand(app); in main()
72 pldmtool::base::registerCommand(app); in main()
73 pldmtool::bios::registerCommand(app); in main()
[all …]
/openbmc/bmcweb/redfish-core/lib/
H A Dsystems_logservices_dbus_eventlog.hpp32 crow::App& app, const crow::Request& req, in handleSystemsDBusEventLogEntryCollection() argument
36 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSystemsDBusEventLogEntryCollection()
58 crow::App& app, const crow::Request& req, in handleSystemsDBusEventLogEntryGet() argument
62 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSystemsDBusEventLogEntryGet()
85 crow::App& app, const crow::Request& req, in handleSystemsDBusEventLogEntryPatch() argument
89 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSystemsDBusEventLogEntryPatch()
111 crow::App& app, const crow::Request& req, in handleSystemsDBusEventLogEntryDelete() argument
115 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSystemsDBusEventLogEntryDelete()
137 crow::App& app, const crow::Request& req, in handleSystemsDBusLogServiceActionsClear() argument
141 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSystemsDBusLogServiceActionsClear()
[all …]
H A Dmanager_logservices_dbus_eventlog.hpp31 crow::App& app, const crow::Request& req, in handleManagersDBusEventLogEntryCollection() argument
35 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleManagersDBusEventLogEntryCollection()
49 crow::App& app, const crow::Request& req, in handleManagersDBusEventLogEntryGet() argument
53 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleManagersDBusEventLogEntryGet()
68 crow::App& app, const crow::Request& req, in handleManagersDBusEventLogEntryPatch() argument
72 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleManagersDBusEventLogEntryPatch()
86 crow::App& app, const crow::Request& req, in handleManagersDBusEventLogEntryDelete() argument
90 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleManagersDBusEventLogEntryDelete()
104 crow::App& app, const crow::Request& req, in handleManagersDBusLogServiceActionsClear() argument
108 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleManagersDBusLogServiceActionsClear()
[all …]
H A Dredfish_sessions.hpp61 crow::App& app, const crow::Request& req, in handleSessionHead() argument
65 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSessionHead()
75 crow::App& app, const crow::Request& req, in handleSessionGet() argument
79 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSessionGet()
101 crow::App& app, const crow::Request& req, in handleSessionDelete() argument
105 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSessionDelete()
162 crow::App& app, const crow::Request& req, in handleSessionCollectionHead() argument
165 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSessionCollectionHead()
175 crow::App& app, const crow::Request& req, in handleSessionCollectionGet() argument
178 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSessionCollectionGet()
[all …]
H A Daggregation_service.hpp36 App& app, const crow::Request& req, in handleAggregationServiceHead() argument
39 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleAggregationServiceHead()
49 App& app, const crow::Request& req, in handleAggregationServiceGet() argument
52 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleAggregationServiceGet()
70 inline void requestRoutesAggregationService(App& app) in requestRoutesAggregationService() argument
72 BMCWEB_ROUTE(app, "/redfish/v1/AggregationService/") in requestRoutesAggregationService()
75 std::bind_front(handleAggregationServiceHead, std::ref(app))); in requestRoutesAggregationService()
76 BMCWEB_ROUTE(app, "/redfish/v1/AggregationService/") in requestRoutesAggregationService()
79 std::bind_front(handleAggregationServiceGet, std::ref(app))); in requestRoutesAggregationService()
99 App& app, const crow::Request& req, in handleAggregationSourceCollectionGet() argument
[all …]
H A Dmanager_logservices_journal_eventlog.hpp31 crow::App& app, const crow::Request& req, in handleManagersLogServiceEventLogLogEntryCollection() argument
40 if (!redfish::setUpRedfishRouteWithDelegation(app, req, asyncResp, in handleManagersLogServiceEventLogLogEntryCollection()
58 crow::App& app, const crow::Request& req, in handleManagersJournalEventLogEntry() argument
62 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleManagersJournalEventLogEntry()
77 crow::App& app, const crow::Request& req, in handleManagersJournalEventLogClear() argument
81 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleManagersJournalEventLogClear()
94 inline void requestRoutesManagersJournalEventLog(App& app) in requestRoutesManagersJournalEventLog() argument
96 BMCWEB_ROUTE(app, in requestRoutesManagersJournalEventLog()
100 handleManagersLogServiceEventLogLogEntryCollection, std::ref(app))); in requestRoutesManagersJournalEventLog()
103 app, "/redfish/v1/Managers/<str>/LogServices/EventLog/Entries/<str>/") in requestRoutesManagersJournalEventLog()
[all …]
H A Dsystems_logservices_journal_eventlog.hpp33 crow::App& app, const crow::Request& req, in handleSystemsLogServiceEventLogLogEntryCollection() argument
42 if (!redfish::setUpRedfishRouteWithDelegation(app, req, asyncResp, in handleSystemsLogServiceEventLogLogEntryCollection()
67 crow::App& app, const crow::Request& req, in handleSystemsLogServiceEventLogEntriesGet() argument
71 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSystemsLogServiceEventLogEntriesGet()
94 crow::App& app, const crow::Request& req, in handleSystemsLogServicesEventLogActionsClearPost() argument
98 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSystemsLogServicesEventLogActionsClearPost()
113 inline void requestRoutesSystemsJournalEventLog(App& app) in requestRoutesSystemsJournalEventLog() argument
115 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/LogServices/EventLog/Entries/") in requestRoutesSystemsJournalEventLog()
118 handleSystemsLogServiceEventLogLogEntryCollection, std::ref(app))); in requestRoutesSystemsJournalEventLog()
121 app, "/redfish/v1/Systems/<str>/LogServices/EventLog/Entries/<str>/") in requestRoutesSystemsJournalEventLog()
[all …]
H A Dredfish_v1.hpp36 inline void redfishGet(App& app, const crow::Request& req, in redfishGet() argument
39 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in redfishGet()
46 inline void redfish404(App& app, const crow::Request& req, in redfish404() argument
54 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in redfish404()
68 inline void redfish405(App& app, const crow::Request& req, in redfish405() argument
74 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in redfish405()
92 App& app, const crow::Request& req, in jsonSchemaIndexGet() argument
95 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in jsonSchemaIndexGet()
140 inline void jsonSchemaGet(App& app, const crow::Request& req, in jsonSchemaGet() argument
144 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in jsonSchemaGet()
[all …]
H A Dlog_services.hpp902 crow::App& app, const crow::Request& req, in handleSystemsLogServiceCollectionGet() argument
906 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSystemsLogServiceCollectionGet()
1009 crow::App& app, const crow::Request& req, in handleManagersLogServicesCollectionGet() argument
1013 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleManagersLogServicesCollectionGet()
1106 crow::App& app, const crow::Request& req, in handleSystemsEventLogServiceGet() argument
1110 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSystemsEventLogServiceGet()
1132 crow::App& app, const crow::Request& req, in handleManagersEventLogServiceGet() argument
1136 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleManagersEventLogServiceGet()
1240 crow::App& app, const std::string& dumpType, const crow::Request& req, in handleLogServicesDumpServiceGet() argument
1244 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleLogServicesDumpServiceGet()
[all …]
H A Dbios.hpp31 crow::App& app, const crow::Request& req, in handleBiosServiceGet() argument
35 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleBiosServiceGet()
68 inline void requestRoutesBiosService(App& app) in requestRoutesBiosService() argument
70 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/Bios/") in requestRoutesBiosService()
73 std::bind_front(handleBiosServiceGet, std::ref(app))); in requestRoutesBiosService()
84 crow::App& app, const crow::Request& req, in handleBiosResetPost() argument
88 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleBiosResetPost()
122 inline void requestRoutesBiosReset(App& app) in requestRoutesBiosReset() argument
124 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/Bios/Actions/Bios.ResetBios/") in requestRoutesBiosReset()
127 std::bind_front(handleBiosResetPost, std::ref(app))); in requestRoutesBiosReset()
H A Dstorage.hpp39 App& app, const crow::Request& req, in handleSystemsStorageCollectionGet() argument
43 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSystemsStorageCollectionGet()
70 App& app, const crow::Request& req, in handleStorageCollectionGet() argument
73 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleStorageCollectionGet()
173 App& app, const crow::Request& req, in handleSystemsStorageGet() argument
177 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSystemsStorageGet()
242 App& app, const crow::Request& req, in handleStorageGet() argument
246 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleStorageGet()
260 App& app, const crow::Request& req, in handleSystemsStorageDriveGet() argument
264 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSystemsStorageDriveGet()
[all …]
H A Dcertificate_service.hpp440 App& app, const crow::Request& req, in handleCertificateServiceGet() argument
443 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleCertificateServiceGet()
484 App& app, const crow::Request& req, in handleCertificateLocationsGet() argument
487 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleCertificateLocationsGet()
527 App& app, const crow::Request& req, in handleReplaceCertificateAction() argument
530 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleReplaceCertificateAction()
683 App& app, const crow::Request& req, in handleGenerateCSRAction() argument
686 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleGenerateCSRAction()
922 inline void requestRoutesCertificateService(App& app) in requestRoutesCertificateService() argument
924 BMCWEB_ROUTE(app, "/redfish/v1/CertificateService/") in requestRoutesCertificateService()
[all …]
H A Dpower_subsystem.hpp55 App& app, const crow::Request& req, in handlePowerSubsystemCollectionHead() argument
59 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handlePowerSubsystemCollectionHead()
80 App& app, const crow::Request& req, in handlePowerSubsystemCollectionGet() argument
84 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handlePowerSubsystemCollectionGet()
94 inline void requestRoutesPowerSubsystem(App& app) in requestRoutesPowerSubsystem() argument
96 BMCWEB_ROUTE(app, "/redfish/v1/Chassis/<str>/PowerSubsystem/") in requestRoutesPowerSubsystem()
99 std::bind_front(handlePowerSubsystemCollectionHead, std::ref(app))); in requestRoutesPowerSubsystem()
101 BMCWEB_ROUTE(app, "/redfish/v1/Chassis/<str>/PowerSubsystem/") in requestRoutesPowerSubsystem()
104 std::bind_front(handlePowerSubsystemCollectionGet, std::ref(app))); in requestRoutesPowerSubsystem()
/openbmc/bmcweb/src/
H A Dwebserver_run.cpp54 App app; in runWebserver() local
78 crow::webassets::requestRoutes(app); in runWebserver()
83 crow::obmc_kvm::requestRoutes(app); in runWebserver()
88 redfish::RedfishService::getInstance(app); in runWebserver()
102 crow::dbus_monitor::requestRoutes(app); in runWebserver()
103 crow::image_upload::requestRoutes(app); in runWebserver()
104 crow::openbmc_mapper::requestRoutes(app); in runWebserver()
109 crow::obmc_console::requestRoutes(app); in runWebserver()
112 crow::obmc_vm::requestRoutes(app); in runWebserver()
116 crow::ibm_mc::requestRoutes(app); in runWebserver()
[all …]
/openbmc/u-boot/Documentation/sphinx/
H A Dkfigure.py127 def setup(app): argument
129 app.connect('builder-inited', setupTools)
132 app.add_directive("kernel-image", KernelImage)
133 app.add_node(kernel_image,
141 app.add_directive("kernel-figure", KernelFigure)
142 app.add_node(kernel_figure,
150 app.add_directive('kernel-render', KernelRender)
151 app.add_node(kernel_render,
158 app.connect('doctree-read', add_kernel_figure_to_std_domain)
167 def setupTools(app): argument
[all …]
/openbmc/phosphor-gpio-monitor/
H A Dmainapp.cpp16 CLI::App app{"Monitor GPIO line for requested state change"}; in main() local
26 app.add_option("-p,--path", path, in main()
29 app.add_option("-k,--key", key, "Input GPIO key number")->required(); in main()
30 app.add_option("-r,--polarity", polarity, in main()
33 app.add_option("-t,--target", target, in main()
36 app.add_flag("-c,--continue", continueRun, in main()
41 app.allow_extras(); in main()
46 app.parse(argc, argv); in main()
50 return app.exit(e); in main()
/openbmc/openbmc/poky/documentation/sphinx/
H A Dyocto-vars.py27 def subst_vars_replace(app: Sphinx, docname, source):
33 def yocto_vars_env_get_outdated(app: Sphinx, env, added, changed, removed):
41 poky_cache = Path(app.outdir) / ".poky.yaml.cache"
50 for p in Path(app.srcdir).rglob("*.rst"):
52 p_rel_no_ext = p.relative_to(app.srcdir).parent / p.stem
56 def yocto_vars_build_finished(app: Sphinx, exception):
57 poky_cache = Path(app.outdir) / ".poky.yaml.cache"
65 def setup(app: Sphinx):
78 app.connect('source-read', subst_vars_replace)
79 app.connect('env-get-outdated', yocto_vars_env_get_outdated)
[all …]
/openbmc/phosphor-fan-presence/cooling-type/
H A Dmain.cpp18 CLI::App app{"Phosphor Cooling type"}; in main() local
25 app.add_option("-p,--path", objpath, in main()
28 app.add_flag("-a,--air", air, in main()
30 app.add_flag("-w,--water", water, in main()
32 app.add_option( in main()
35 app.add_option("-e,--event", keycode, "Keycode for pin to read"); in main()
36 app.allow_extras(); in main()
39 app.parse(argc, argv); in main()
43 return app.exit(e); in main()
/openbmc/openpower-debug-collector/dump/
H A Ddump_collect_main.cpp20 CLI::App app{"Dump Collector Application", "dump-collect"}; in main() local
21 app.description( in main()
31 app.add_option("--type, -t", type, "Type of the dump") in main()
37 app.add_option("--id, -i", id, "ID of the dump")->required(); in main()
39 app.add_option("--path, -p", pathStr, in main()
43 app.add_option("--failingunit, -f", failingUnit, "ID of the failing unit"); in main()
47 CLI11_PARSE(app, argc, argv); in main()
51 return app.exit(e); in main()
/openbmc/phosphor-certificate-manager/
H A Dargument.cpp12 CLI::App app{"OpenBMC Certificate Management Daemon"}; in processArguments() local
13 app.add_option("-t,--type", arguments.typeStr, "certificate type") in processArguments()
15 app.add_option("-e,--endpoint", arguments.endpoint, "d-bus endpoint") in processArguments()
17 app.add_option("-p,--path", arguments.path, "certificate file path") in processArguments()
19 app.add_option("-u,--unit", arguments.unit, in processArguments()
22 CLI11_PARSE(app, argc, argv); in processArguments()
/openbmc/phosphor-hwmon/
H A Dreadd.cpp40 CLI::App app{"OpenBMC Hwmon Daemon"}; in main() local
41 app.add_option("-p,--path", syspath, "sysfs location to monitor"); in main()
42 app.add_option("-o,--dev-path", devpath, "device path to monitor"); in main()
43 app.add_option("-i,--sensor-id", sensor_id, "dbus sensor instance id"); in main()
45 CLI11_PARSE(app, argc, argv); in main()
72 exit_with_error(app.help("", CLI::AppFormatMode::All), in main()
80 exit_with_error(app.help("", CLI::AppFormatMode::All), in main()
/openbmc/phosphor-power/power-supply/
H A Dmain.cpp30 CLI::App app{"PSU Monitor"}; in main() local
39 app.add_option("-p,--path", objpath, "Path to location to monitor\n") in main()
41 app.add_option("-n,--instance", instnum, in main()
44 app.add_option("-i,--inventory", invpath, in main()
47 app.add_option( in main()
51 app.add_option( in main()
55 app.add_option("-u,--sync-gpio-num", syncGPIONum, in main()
61 app.parse(argc, argv); in main()
65 return app.exit(e); in main()

12345678910>>...14