/openbmc/openbmc-test-automation/redfish/telemetry_service/ |
H A D | test_telemetry_report.robot | 3 Documentation Test telemetry functionality of OpenBMC. 10 Test Setup Delete All Telemetry Reports 27 Verify Basic Telemetry Report Creation 28 [Documentation] Verify basic telemetry report creations for different metrics. 30 [Template] Create Basic Telemetry Report 43 [Documentation] Verify error while creating telemetry report more than max report limit. 51 Create Basic Telemetry Report total power Periodic LogToMetricReportsCollection 55 Create Basic Telemetry Report 59 Delete All Telemetry Reports 62 Verify Basic Telemetry Report Creation For PCIE [all …]
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Telemetry/ |
H A D | meson.build | 7 sdbusplus_current_path = 'xyz/openbmc_project/Telemetry' 10 'xyz/openbmc_project/Telemetry/Report__markdown'.underscorify(), 12 '../../../../yaml/xyz/openbmc_project/Telemetry/Report.interface.yaml', 26 'xyz/openbmc_project/Telemetry/Report', 34 'xyz/openbmc_project/Telemetry/ReportManager__markdown'.underscorify(), 36 '../../../../yaml/xyz/openbmc_project/Telemetry/ReportManager.interface.yaml', 50 'xyz/openbmc_project/Telemetry/ReportManager', 58 'xyz/openbmc_project/Telemetry/Trigger__markdown'.underscorify(), 60 '../../../../yaml/xyz/openbmc_project/Telemetry/Trigger.interface.yaml', 74 'xyz/openbmc_project/Telemetry/Trigger', [all …]
|
/openbmc/telemetry/redfish-tests/ |
H A D | test_telemetry.py | 98 telemetry, report_definitions argument 101 for i in range(telemetry.max_reports): 103 assert telemetry.max_reports == len(report_definitions.get_collection()) 105 id + str(telemetry.max_reports), 107 interval=telemetry.min_interval, 163 def test_add_report_with_metric(redfish, telemetry, report_definitions): argument 164 if len(telemetry.metrics) <= 0: 166 metric = {"MetricId": "Id1", "MetricProperties": [telemetry.metrics[0]]} 190 def test_add_report_with_many_metrics(redfish, telemetry, report_definitions): argument 191 if len(telemetry.metrics) <= 0: [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/ |
H A D | ReportManager.interface.yaml | 9 xyz.openbmc_project.Telemetry.Report interface stored in path 10 /xyz/openbmc_project/Telemetry/Reports/{properties[Id]} where 25 type: enum[xyz.openbmc_project.Telemetry.Report.ReportingType] 30 type: enum[xyz.openbmc_project.Telemetry.Report.ReportUpdates] 39 type: array[enum[xyz.openbmc_project.Telemetry.Report.ReportActions]] 49 …_path,string]],enum[xyz.openbmc_project.Telemetry.Report.OperationType],string,enum[xyz.openbmc_pr… 63 /xyz/openbmc_project/Telemetry/Reports/{parameters[Id]}. 69 Contains the max number of metric reports supported by the Telemetry. 70 This property is added to be compliant with the Redfish Telemetry 78 Interval property in xyz.openbmc_project.Telemetry.Report and interval [all …]
|
H A D | TriggerManager.interface.yaml | 8 xyz.openbmc_project.Telemetry.Trigger interface stored in path 9 /xyz/openbmc_project/Telemetry/Triggers/{id} where id is parameter of 24 type: array[enum[xyz.openbmc_project.Telemetry.Trigger.TriggerAction]] 42 …type: array[struct[enum[xyz.openbmc_project.Telemetry.Trigger.Type],uint64,enum[xyz.openbmc_projec… 45 xyz.openbmc_project.Telemetry.Trigger interface. 47 … type: array[struct[string,enum[xyz.openbmc_project.Telemetry.Trigger.Severity],uint64,string]] 50 xyz.openbmc_project.Telemetry.Trigger interface. 56 /xyz/openbmc_project/Telemetry/Triggers/{id}.
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | telemetry_utils.hpp | 28 namespace telemetry namespace 30 constexpr const char* service = "xyz.openbmc_project.Telemetry"; 31 constexpr const char* reportInterface = "xyz.openbmc_project.Telemetry.Report"; 36 "/xyz/openbmc_project/Telemetry/Reports/TelemetryService"); in getDbusReportPath() 43 "/xyz/openbmc_project/Telemetry/Triggers/TelemetryService"); in getDbusTriggerPath() 53 "/xyz/openbmc_project/Telemetry/Triggers/TelemetryService") in getTriggerIdFromDbusPath() 126 "xyz.openbmc_project.Telemetry.Report.OperationType.Maximum") in toRedfishCollectionFunction() 131 "xyz.openbmc_project.Telemetry.Report.OperationType.Minimum") in toRedfishCollectionFunction() 136 "xyz.openbmc_project.Telemetry.Report.OperationType.Average") in toRedfishCollectionFunction() 141 "xyz.openbmc_project.Telemetry.Report.OperationType.Summation") in toRedfishCollectionFunction() [all …]
|
/openbmc/telemetry/ |
H A D | README.md | 1 # Telemetry chapter 7 This application is implementation of Telemetry proposed in OpenBMC design docs 19 - generic and centralized way to observe telemetry data inside system 24 There are two way to build telemetry service: 39 After successful build you should be able to run telemetry binary or start unit 43 ./tests/telemetry-ut 44 ./telemetry 58 1. [OpenBMC platform telemetry design](https://github.com/openbmc/docs/blob/master/designs/telemetr…
|
H A D | xyz.openbmc_project.Telemetry.service.in | 2 Description=Telemetry@wants@@requires@@before@ 6 ExecStart=@bindir@/telemetry 9 BusName=xyz.openbmc_project.Telemetry
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | metric_report.hpp | 54 telemetry::reportInterface}; in requestRoutesMetricReportCollection() 60 "/xyz/openbmc_project/Telemetry/Reports/TelemetryService"); in requestRoutesMetricReportCollection() 76 const std::string reportPath = telemetry::getDbusReportPath(id); in requestRoutesMetricReport() 96 telemetry::TimestampReadings>( in requestRoutesMetricReport() 97 *crow::connections::systemBus, telemetry::service, in requestRoutesMetricReport() 98 reportPath, telemetry::reportInterface, "Readings", in requestRoutesMetricReport() 101 const telemetry::TimestampReadings& ret) { in requestRoutesMetricReport() 110 telemetry::fillReport(asyncResp->res.jsonValue, in requestRoutesMetricReport() 114 telemetry::service, reportPath, telemetry::reportInterface, in requestRoutesMetricReport()
|
H A D | trigger.hpp | 54 namespace telemetry namespace 57 "xyz.openbmc_project.Telemetry.Trigger"; 72 "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.UpdateReport") in toRedfishTriggerAction() 77 "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.LogToRedfishEventLog") in toRedfishTriggerAction() 82 "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.LogToJournal") in toRedfishTriggerAction() 93 return "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.UpdateReport"; in toDbusTriggerAction() 97 return "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.LogToRedfishEventLog"; in toDbusTriggerAction() 101 return "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.LogToJournal"; in toDbusTriggerAction() 110 return "xyz.openbmc_project.Telemetry.Trigger.Severity.OK"; in toDbusSeverity() 114 return "xyz.openbmc_project.Telemetry.Trigger.Severity.Warning"; in toDbusSeverity() [all …]
|
H A D | metric_report_definition.hpp | 60 namespace telemetry namespace 103 "xyz.openbmc_project.Telemetry.Report.ReportActions.EmitsReadingsUpdate") in toRedfishReportAction() 108 "xyz.openbmc_project.Telemetry.Report.ReportActions.LogToMetricReportsCollection") in toRedfishReportAction() 120 return "xyz.openbmc_project.Telemetry.Report.ReportActions.EmitsReadingsUpdate"; in toDbusReportAction() 124 return "xyz.openbmc_project.Telemetry.Report.ReportActions.LogToMetricReportsCollection"; in toDbusReportAction() 133 "xyz.openbmc_project.Telemetry.Report.ReportingType.OnChange") in toRedfishReportingType() 138 "xyz.openbmc_project.Telemetry.Report.ReportingType.OnRequest") in toRedfishReportingType() 143 "xyz.openbmc_project.Telemetry.Report.ReportingType.Periodic") in toRedfishReportingType() 154 return "xyz.openbmc_project.Telemetry.Report.ReportingType.OnChange"; in toDbusReportingType() 158 return "xyz.openbmc_project.Telemetry.Report.ReportingType.OnRequest"; in toDbusReportingType() [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/telemetry/ |
H A D | telemetry_git.bb | 1 SUMMARY = "Telemetry service" 2 DESCRIPTION = "Middleware between Redfish Telemetry Service and dbus-sensors" 3 HOMEPAGE = "https://github.com/openbmc/telemetry" 15 SRC_URI = "git://github.com/openbmc/telemetry;branch=master;protocol=https" 18 SYSTEMD_SERVICE:${PN} = "xyz.openbmc_project.Telemetry.service"
|
/openbmc/telemetry/src/types/ |
H A D | trigger_types.hpp | 27 "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.LogToJournal", 29 std::make_pair("xyz.openbmc_project.Telemetry.Trigger.TriggerAction." 33 "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.UpdateReport", 88 std::make_pair("xyz.openbmc_project.Telemetry.Trigger.Type.LowerCritical", 90 std::make_pair("xyz.openbmc_project.Telemetry.Trigger.Type.LowerWarning", 92 std::make_pair("xyz.openbmc_project.Telemetry.Trigger.Type.UpperWarning", 94 std::make_pair("xyz.openbmc_project.Telemetry.Trigger.Type.UpperCritical", 99 std::make_pair("xyz.openbmc_project.Telemetry.Trigger.Direction.Either", 102 "xyz.openbmc_project.Telemetry.Trigger.Direction.Decreasing", 105 "xyz.openbmc_project.Telemetry.Trigger.Direction.Increasing", [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | TelemetryData.v1_0_0.json | 57 …"description": "The `TelemetryData` schema represents bulk telemetry data from a device or service… 58 …"longDescription": "This resource shall represent bulk telemetry data in a Redfish implementation.… 92 "description": "A Base64-encoded string of the associated telemetry data.", 93 …telemetry data. The contents shall depend on the value of the `TelemetryDataType` property. The … 107 "description": "The URI at which to access the associated telemetry data.", 109 … "This property shall contain the URI at which to access the associated telemetry data, using the … 133 …"description": "The OEM-defined type of telemetry data available in the `AdditionalData` property … 134 …"longDescription": "This property shall contain the OEM-defined type of telemetry data available i… 155 …"description": "The type of telemetry data available in the `AdditionalData` property or retrieved… 156 …"longDescription": "This property shall contain the type of telemetry data available in the `Addit… [all …]
|
H A D | TelemetryService.v1_4_0.json | 54 "description": "The action to clear the metric reports for this telemetry service.", 55 …action shall delete all entries found in the metric report collection for this telemetry service.", 87 "description": "The action to clear the telemetry data for this telemetry service.", 88 …": "This action shall delete all entries found in the telemetry data collection for this telemetry… 123 …: "The action to collect the telemetry data from a device or service. When the telemetry data is … 124 …telemetry data from a device or service. The `Location` header in the response shall contain a UR… 127 "description": "The OEM-defined type of telemetry data to collect.", 128 …longDescription": "This parameter shall contain the OEM-defined type of telemetry data to collect.… 132 "description": "An array of devices from which to collect telemetry data.", 136 …ription": "This parameter shall contain an array of devices from which to collect telemetry data.", [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | TelemetryService.v1_4_0.json | 54 "description": "The action to clear the metric reports for this telemetry service.", 55 …action shall delete all entries found in the metric report collection for this telemetry service.", 87 "description": "The action to clear the telemetry data for this telemetry service.", 88 …": "This action shall delete all entries found in the telemetry data collection for this telemetry… 123 …: "The action to collect the telemetry data from a device or service. When the telemetry data is … 124 …telemetry data from a device or service. The `Location` header in the response shall contain a UR… 127 "description": "The OEM-defined type of telemetry data to collect.", 128 …longDescription": "This parameter shall contain the OEM-defined type of telemetry data to collect.… 132 "description": "An array of devices from which to collect telemetry data.", 136 …ription": "This parameter shall contain an array of devices from which to collect telemetry data.", [all …]
|
/openbmc/docs/designs/ |
H A D | telemetry.md | 1 # OpenBMC platform telemetry 14 The BMC on server platform gathers lots of telemetry data, which has to be 16 on telemetry over the Redfish, since it is standard API for platform 21 - OpenBMC platform telemetry shall leverage DMTF's [Redfish Telemetry Model][1] 22 for exposing platform telemetry over the network. 23 - OpenBMC platform telemetry shall leverage the [OpenBMC sensors architecture 25 - OpenBMC platform telemetry shall implement a service, called Telemetry to deal 29 architecture does not depend on it, because the Telemetry service component 35 Telemetry service requires telemetry sources to be implemented as D-Bus 40 Redfish Telemetry Model shall implement Telemetry Service with the following [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | TelemetryData_v1.xml | 35 …="OData.Description" String="The `TelemetryData` schema represents bulk telemetry data from a devi… 36 …Term="OData.LongDescription" String="This resource shall represent bulk telemetry data in a Redfis… 61 <Annotation Term="OData.Description" String="OEM telemetry data."/> 73 …<Annotation Term="OData.Description" String="The date and time when the telemetry data was generat… 74 ….LongDescription" String="This property shall contain the time when the telemetry data was generat… 78 …<Annotation Term="OData.Description" String="The type of telemetry data available in the `Addition… 79 …"OData.LongDescription" String="This property shall contain the type of telemetry data available i… 83 …<Annotation Term="OData.Description" String="The OEM-defined type of telemetry data available in t… 84 …escription" String="This property shall contain the OEM-defined type of telemetry data available i… 88 …ation Term="OData.Description" String="A Base64-encoded string of the associated telemetry data."/> [all …]
|
/openbmc/telemetry/src/ |
H A D | trigger_actions.hpp | 14 "Telemetry.1.0.TriggerDiscreteConditionMet"; 16 "Telemetry.1.0.TriggerNumericAboveLowerCritical"; 18 "Telemetry.1.0.TriggerNumericAboveUpperCritical"; 20 "Telemetry.1.0.TriggerNumericAboveUpperWarning"; 22 "Telemetry.1.0.TriggerNumericBelowLowerCritical"; 24 "Telemetry.1.0.TriggerNumericBelowLowerWarning"; 26 "Telemetry.1.0.TriggerNumericBelowUpperCritical"; 28 "Telemetry.1.0.TriggerNumericReadingNormal";
|
H A D | telemetry.hpp | 15 class Telemetry class 18 explicit Telemetry(std::shared_ptr<sdbusplus::asio::connection> bus) : in Telemetry() function in Telemetry 24 "/var/lib/telemetry/Reports")), in Telemetry() 30 "/var/lib/telemetry/Triggers")), in Telemetry()
|
H A D | main.cpp | 1 #include "telemetry.hpp" 18 constexpr const char* serviceName = "xyz.openbmc_project.Telemetry"; in main() 32 "Telemetry starting"); in main() 33 Telemetry app(bus); in main()
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Telemetry/TriggerManager/ |
H A D | meson.build | 3 sdbusplus_current_path = 'xyz/openbmc_project/Telemetry/TriggerManager' 6 'xyz/openbmc_project/Telemetry/TriggerManager__cpp'.underscorify(), 8 '../../../../../yaml/xyz/openbmc_project/Telemetry/TriggerManager.interface.yaml', 28 'xyz/openbmc_project/Telemetry/TriggerManager',
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Telemetry/ReportManager/ |
H A D | meson.build | 3 sdbusplus_current_path = 'xyz/openbmc_project/Telemetry/ReportManager' 6 'xyz/openbmc_project/Telemetry/ReportManager__cpp'.underscorify(), 8 '../../../../../yaml/xyz/openbmc_project/Telemetry/ReportManager.interface.yaml', 28 'xyz/openbmc_project/Telemetry/ReportManager',
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Telemetry/Trigger/ |
H A D | meson.build | 3 sdbusplus_current_path = 'xyz/openbmc_project/Telemetry/Trigger' 6 'xyz/openbmc_project/Telemetry/Trigger__cpp'.underscorify(), 8 '../../../../../yaml/xyz/openbmc_project/Telemetry/Trigger.interface.yaml', 28 'xyz/openbmc_project/Telemetry/Trigger',
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Telemetry/Report/ |
H A D | meson.build | 3 sdbusplus_current_path = 'xyz/openbmc_project/Telemetry/Report' 6 'xyz/openbmc_project/Telemetry/Report__cpp'.underscorify(), 8 '../../../../../yaml/xyz/openbmc_project/Telemetry/Report.interface.yaml', 28 'xyz/openbmc_project/Telemetry/Report',
|