/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/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/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/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/linux/include/uapi/linux/ |
H A D | pfrut.h | 175 * struct pfrt_log_data_info - Log Data from telemetry service. 178 * @chunk1_addr_lo: Low 32bit physical address of the telemetry data chunk1 180 * @chunk1_addr_hi: High 32bit physical address of the telemetry data chunk1 182 * @chunk2_addr_lo: Low 32bit physical address of the telemetry data chunk2 184 * @chunk2_addr_hi: High 32bit physical address of the telemetry data chunk2 187 * @chunk1_size: Data size in bytes of the telemetry data chunk1 buffer. 188 * @chunk2_size: Data size in bytes of the telemetry data chunk2 buffer. 189 * @rollover_cnt: Number of times telemetry data buffer is overwritten 190 * since telemetry buffer reset. 191 * @reset_cnt: Number of times telemetry services resets that results in [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
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.hpp | 38 namespace telemetry namespace 77 } // namespace telemetry 97 telemetry::reportInterface}; in requestRoutesMetricReportCollection() 103 "/xyz/openbmc_project/Telemetry/Reports/TelemetryService"); in requestRoutesMetricReportCollection() 119 const std::string reportPath = telemetry::getDbusReportPath(id); in requestRoutesMetricReport() 139 telemetry::TimestampReadings>( in requestRoutesMetricReport() 140 *crow::connections::systemBus, telemetry::service, in requestRoutesMetricReport() 141 reportPath, telemetry::reportInterface, "Readings", in requestRoutesMetricReport() 144 const telemetry::TimestampReadings& ret) { in requestRoutesMetricReport() 153 telemetry::fillReport(asyncResp->res.jsonValue, in requestRoutesMetricReport() [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/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…
|
/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/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/bmcweb/redfish-core/schema/dmtf/json-schema/ |
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 …]
|
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 …]
|
/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/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-intel_pmt | 7 devices that expose hardware telemetry using Intel Platform 16 a PMT telemetry device that exposes hardware telemetry. Each 18 may be opened and mapped or read to access the telemetry space 19 of the device. The register layout of the telemetry space is 28 (RO) The telemetry data for this telemetry device. This file 36 (RO) The GUID for this telemetry device. The GUID identifies 45 (RO) The size of telemetry region in bytes that corresponds to 53 (RO) The offset of telemetry region in bytes that corresponds to
|
/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 …]
|
H A D | TelemetryService_v1.xml | 59 …cription" String="The `TelemetryService` schema describes a telemetry service. The telemetry serv… 60 …<Annotation Term="OData.LongDescription" String="This resource contains a telemetry service for a … 69 …ng="Any writable properties, such as `ServiceEnabled`, can be updated for the telemetry service."/> 120 …m="OData.Description" String="The action to clear the metric reports for this telemetry service."/> 121 …ction shall delete all entries found in the metric report collection for this telemetry service."/> 162 …g="The action to collect the telemetry data from a device or service. When the telemetry data is … 163 …telemetry data from a device or service. The `Location` header in the response shall contain a UR… 166 <Annotation Term="OData.Description" String="The type of telemetry data to collect."/> 167 …OData.LongDescription" String="This parameter shall contain the type of telemetry data to collect.… 170 … <Annotation Term="OData.Description" String="The OEM-defined type of telemetry data to collect."/> [all …]
|
/openbmc/linux/tools/power/acpi/man/ |
H A D | pfrut.8 | 5 pfrut \- Platform Firmware Runtime Update and Telemetry tool 11 The PFRUT(Platform Firmware Runtime Update and Telemetry) kernel interface is designed 56 Set the revision ID of telemetry. 59 Get telemetry log information and print it out. 62 Set the telemetry log data type. 65 Set the telemetry log level. 68 Read all the telemetry data and print it out.
|
/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/ |
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";
|
/openbmc/linux/drivers/platform/x86/intel/telemetry/ |
H A D | core.c | 3 * Intel SoC Core Telemetry Driver 7 * Telemetry Framework provides platform related PM and performance statistics. 8 * This file provides the core telemetry API implementation. 103 * telemetry_update_events() - Update telemetry Configuration 107 * This API updates the IOSS & PSS Telemetry configuration. Old config 253 * telemetry_read_eventlog() - Fetch the Telemetry log from PSS or IOSS 269 * telemetry_raw_read_eventlog() - Fetch the Telemetry log from PSS or IOSS 322 * Usage by other than telemetry pltdrv module is invalid 342 * Usage by other than telemetry pltdrv module is invalid 356 * telemetry_get_pltdata() - Return telemetry platform config [all …]
|
H A D | pltdrv.c | 3 * Intel SOC Telemetry Platform Driver: Currently supports APL 7 * This file provides the platform specific telemetry implementation for APL. 239 pr_err("Unknown Telemetry action specified %d\n", action); in telemetry_check_evtid() 285 /* Get telemetry EVENT CTL */ in telemetry_setup_iossevtconfig() 294 /* Disable Telemetry */ in telemetry_setup_iossevtconfig() 384 /* Enable Periodic Telemetry Events and enable SRAM trace */ in telemetry_setup_iossevtconfig() 417 /* Get telemetry EVENT CTL */ in telemetry_setup_pssevtconfig() 425 /* Disable Telemetry */ in telemetry_setup_pssevtconfig() 510 /* Enable Periodic Telemetry Events and enable SRAM trace */ in telemetry_setup_pssevtconfig() 587 /* Get telemetry Info */ in telemetry_setup() [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | TelemetryService_v1.xml | 59 …cription" String="The `TelemetryService` schema describes a telemetry service. The telemetry serv… 60 …<Annotation Term="OData.LongDescription" String="This resource contains a telemetry service for a … 69 …ng="Any writable properties, such as `ServiceEnabled`, can be updated for the telemetry service."/> 120 …m="OData.Description" String="The action to clear the metric reports for this telemetry service."/> 121 …ction shall delete all entries found in the metric report collection for this telemetry service."/> 162 …g="The action to collect the telemetry data from a device or service. When the telemetry data is … 163 …telemetry data from a device or service. The `Location` header in the response shall contain a UR… 166 <Annotation Term="OData.Description" String="The type of telemetry data to collect."/> 167 …OData.LongDescription" String="This parameter shall contain the type of telemetry data to collect.… 170 … <Annotation Term="OData.Description" String="The OEM-defined type of telemetry data to collect."/> [all …]
|