Home
last modified time | relevance | path

Searched full:app (Results 1 – 25 of 524) sorted by relevance

12345678910>>...21

/openbmc/bmcweb/redfish-core/src/
H A Dredfish.cpp9 #include "app.hpp"
62 RedfishService::RedfishService(App& app) in RedfishService() argument
64 requestRoutesMetadata(app); in RedfishService()
65 requestRoutesOdata(app); in RedfishService()
67 requestAccountServiceRoutes(app); in RedfishService()
70 requestRoutesAggregationService(app); in RedfishService()
71 requestRoutesAggregationSourceCollection(app); in RedfishService()
72 requestRoutesAggregationSource(app); in RedfishService()
74 requestRoutesRoles(app); in RedfishService()
75 requestRoutesRoleCollection(app); in RedfishService()
[all …]
/openbmc/webui-vue/src/
H A Dmain.js3 import App from './App.vue';
49 const app = createApp({ constant
52 render: (h) => h(App),
54 app.use(i18n);
56 app.use(router);
57 app.use(store);
60 app.use(BootstrapVue);
61 app.use(AlertPlugin);
62 app.use(BadgePlugin);
63 app.use(ButtonPlugin);
[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/test/http/
H A Dcrow_getroutes_test.cpp3 #include "app.hpp"
25 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()
42 // EXPECT_THAT(app.getRoutes(), in TEST()
49 App app; in TEST() local
50 BMCWEB_ROUTE(app, "/") in TEST()
52 BMCWEB_ROUTE(app, "/foo") in TEST()
[all …]
/openbmc/bmcweb/redfish-core/lib/
H A Daggregation_service.hpp5 #include "app.hpp"
36 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()
[all …]
H A Dredfish_sessions.hpp7 #include "app.hpp"
61 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
[all …]
H A Dbios.hpp7 #include "app.hpp"
30 crow::App& app, const crow::Request& req, in handleBiosServiceGet() argument
34 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleBiosServiceGet()
66 inline void requestRoutesBiosService(App& app) in requestRoutesBiosService() argument
68 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/Bios/") in requestRoutesBiosService()
71 std::bind_front(handleBiosServiceGet, std::ref(app))); in requestRoutesBiosService()
82 crow::App& app, const crow::Request& req, in handleBiosResetPost() argument
86 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleBiosResetPost()
120 inline void requestRoutesBiosReset(App& app) in requestRoutesBiosReset() argument
122 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/Bios/Actions/Bios.ResetBios/") in requestRoutesBiosReset()
[all …]
H A Dredfish_v1.hpp5 #include "app.hpp"
36 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
[all …]
H A Denvironment_metrics.hpp5 #include "app.hpp"
27 App& app, const crow::Request& req, in handleEnvironmentMetricsHead() argument
31 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleEnvironmentMetricsHead()
54 App& app, const crow::Request& req, in handleEnvironmentMetricsGet() argument
58 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleEnvironmentMetricsGet()
86 inline void requestRoutesEnvironmentMetrics(App& app) in requestRoutesEnvironmentMetrics() argument
88 BMCWEB_ROUTE(app, "/redfish/v1/Chassis/<str>/EnvironmentMetrics/") in requestRoutesEnvironmentMetrics()
91 std::bind_front(handleEnvironmentMetricsHead, std::ref(app))); in requestRoutesEnvironmentMetrics()
93 BMCWEB_ROUTE(app, "/redfish/v1/Chassis/<str>/EnvironmentMetrics/") in requestRoutesEnvironmentMetrics()
96 std::bind_front(handleEnvironmentMetricsGet, std::ref(app))); in requestRoutesEnvironmentMetrics()
H A Dlog_services.hpp8 #include "app.hpp"
900 inline void requestRoutesSystemLogServiceCollection(App& app) in requestRoutesSystemLogServiceCollection() argument
905 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/LogServices/") in requestRoutesSystemLogServiceCollection()
909 get)([&app](const crow::Request& req, in requestRoutesSystemLogServiceCollection()
912 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in requestRoutesSystemLogServiceCollection()
1013 inline void requestRoutesEventLogService(App& app) in requestRoutesEventLogService() argument
1015 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/LogServices/EventLog/") in requestRoutesEventLogService()
1019 get)([&app](const crow::Request& req, in requestRoutesEventLogService()
1022 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in requestRoutesEventLogService()
1066 crow::App& app, const crow::Request& req, in handleBMCLogServicesCollectionGet() argument
[all …]
H A Dmessage_registries.hpp6 #include "app.hpp"
28 crow::App& app, const crow::Request& req, in handleMessageRegistryFileCollectionGet() argument
31 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleMessageRegistryFileCollectionGet()
57 inline void requestRoutesMessageRegistryFileCollection(App& app) in requestRoutesMessageRegistryFileCollection() argument
62 BMCWEB_ROUTE(app, "/redfish/v1/Registries/") in requestRoutesMessageRegistryFileCollection()
65 handleMessageRegistryFileCollectionGet, std::ref(app))); in requestRoutesMessageRegistryFileCollection()
69 crow::App& app, const crow::Request& req, in handleMessageRoutesMessageRegistryFileGet() argument
73 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleMessageRoutesMessageRegistryFileGet()
123 inline void requestRoutesMessageRegistryFile(App& app) in requestRoutesMessageRegistryFile() argument
125 BMCWEB_ROUTE(app, "/redfish/v1/Registries/<str>/") in requestRoutesMessageRegistryFile()
[all …]
H A Dpower_subsystem.hpp5 #include "app.hpp"
55 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()
H A Dthermal_subsystem.hpp5 #include "app.hpp"
63 App& app, const crow::Request& req, in handleThermalSubsystemCollectionHead() argument
67 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleThermalSubsystemCollectionHead()
88 App& app, const crow::Request& req, in handleThermalSubsystemCollectionGet() argument
92 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleThermalSubsystemCollectionGet()
102 inline void requestRoutesThermalSubsystem(App& app) in requestRoutesThermalSubsystem() argument
104 BMCWEB_ROUTE(app, "/redfish/v1/Chassis/<str>/ThermalSubsystem/") in requestRoutesThermalSubsystem()
107 handleThermalSubsystemCollectionHead, std::ref(app))); in requestRoutesThermalSubsystem()
109 BMCWEB_ROUTE(app, "/redfish/v1/Chassis/<str>/ThermalSubsystem/") in requestRoutesThermalSubsystem()
112 handleThermalSubsystemCollectionGet, std::ref(app))); in requestRoutesThermalSubsystem()
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-host/
H A Dgbs-ipmid-whitelist.conf21 0x06:0x01 //<App>:<Get Device ID>
22 0x06:0x02 //<App>:<Cold Reset>
23 0x06:0x03 //<App>:<Warm Reset>
24 0x06:0x04 //<App>:<Get Self Test Results>
25 0x06:0x06 //<App>:<Set ACPI Power State>
26 0x06:0x07 //<App>:<Get ACPI Power State>
27 0x06:0x08 //<App>:<Get Device GUID>
28 0x06:0x22 //<App>:<Reset Watchdog Timer>
29 0x06:0x24 //<App>:<Set Watchdog Timer>
30 0x06:0x25 //<App>:<Get Watchdog Timer>
[all …]
/openbmc/phosphor-host-ipmid/
H A Dhost-ipmid-whitelist.conf14 0x06:0x01 //<App>:<Get Device ID>
15 0x06:0x04 //<App>:<Get Self Test Results>
16 0x06:0x06 //<App>:<Set ACPI Power State>
17 0x06:0x07 //<App>:<Get ACPI Power State>
18 0x06:0x08 //<App>:<Get Device GUID>
19 0x06:0x22 //<App>:<Reset Watchdog Timer>
20 0x06:0x24 //<App>:<Set Watchdog Timer>
21 0x06:0x25 //<App>:<Get Watchdog Timer>
22 0x06:0x2E //<App>:<Set BMC Global Enables>
23 0x06:0x2F //<App>:<Get BMC Global Enables>
[all …]
/openbmc/openbmc/meta-security/recipes-security/redhat-security/files/
H A Drpm-chksec.sh139 APP=""
144 APP="daemon"
149 if [ x"$APP" = "x" ] ; then
150 # See if this is a library or a setuid app
152 APP="library"
154 APP="setuid"
156 APP="setgid"
158 APP="setcap"
164 APP="network-ip"
166 APP="network-local"
[all …]
/openbmc/bmcweb/src/
H A Dwebserver_run.cpp7 #include "app.hpp"
54 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()
[all …]
/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/webui-vue/src/layouts/
H A DAppLayout.vue2 <div class="app-container">
3 <app-header
5 class="app-header"
9 <app-navigation class="app-navigation" />
10 <page-container class="app-content">
26 name: 'App',
73 .app-container {
89 .app-header {
96 .app-navigation {
100 .app-content {
/openbmc/bmcweb/redfish-core/include/
H A Dredfish.hpp5 #include "app.hpp"
27 * @param[in] app Crow app on which Redfish will initialize
29 explicit RedfishService(App& app);
33 static RedfishService& getInstance(App& app) in getInstance() argument
35 static RedfishService redfish(app); in getInstance()
/openbmc/openpower-debug-collector/dump/
H A Ddump_collect_main.cpp6 #include <CLI/App.hpp>
20 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/bmcweb/test/redfish-core/include/
H A Dredfish_test.cpp1 #include "app.hpp"
17 crow::App app; in TEST() local
19 RedfishService redfish(app); in TEST()
21 app.validate(); in TEST()
23 for (const std::string* route : app.getRoutes()) in TEST()
/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/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-power/phosphor-regulators/src/regsctl/
H A Dmain.cpp37 CLI::App app{"Regulators control app for OpenBMC phosphor-regulators"}; in main() local
40 auto methods = app.add_option_group("Methods"); in main()
42 CLI::App* config = in main()
46 CLI::App* monitor = in main()
58 CLI11_PARSE(app, argc, argv); in main()
60 if (app.got_subcommand("config")) in main()
64 else if (app.got_subcommand("monitor")) in main()

12345678910>>...21