/openbmc/telemetry/src/ |
H A D | metric.hpp | 3 #include "interfaces/clock.hpp" 4 #include "interfaces/metric.hpp" 5 #include "interfaces/metric_listener.hpp" 6 #include "interfaces/sensor.hpp" 7 #include "interfaces/sensor_listener.hpp" 12 public interfaces::Metric, 13 public interfaces::SensorListener, 18 CollectionDuration, std::unique_ptr<interfaces::Clock>); 23 void sensorUpdated(interfaces::Sensor&, Milliseconds, 27 void registerForUpdates(interfaces::MetricListener& listener) override; [all …]
|
H A D | on_change_threshold.hpp | 3 #include "interfaces/clock.hpp" 4 #include "interfaces/sensor.hpp" 5 #include "interfaces/sensor_listener.hpp" 6 #include "interfaces/threshold.hpp" 7 #include "interfaces/trigger_action.hpp" 17 public interfaces::Threshold, 18 public interfaces::SensorListener, 24 std::vector<std::unique_ptr<interfaces::TriggerAction>> actions, 25 std::unique_ptr<interfaces::Clock> clock); 30 void sensorUpdated(interfaces::Sensor&, Milliseconds, double) override; [all …]
|
H A D | report.hpp | 3 #include "interfaces/clock.hpp" 4 #include "interfaces/json_storage.hpp" 5 #include "interfaces/metric.hpp" 6 #include "interfaces/metric_listener.hpp" 7 #include "interfaces/report.hpp" 8 #include "interfaces/report_factory.hpp" 9 #include "interfaces/report_manager.hpp" 30 class Report : public interfaces::Report, public interfaces::MetricListener 62 interfaces::ReportManager& reportManager, 63 interfaces::JsonStorage& reportStorage, [all …]
|
H A D | numeric_threshold.hpp | 3 #include "interfaces/clock.hpp" 4 #include "interfaces/sensor.hpp" 5 #include "interfaces/sensor_listener.hpp" 6 #include "interfaces/threshold.hpp" 7 #include "interfaces/trigger_action.hpp" 20 public interfaces::Threshold, 21 public interfaces::SensorListener, 28 std::vector<std::unique_ptr<interfaces::TriggerAction>> actions, 31 std::unique_ptr<interfaces::Clock> clock); 36 void sensorUpdated(interfaces::Sensor&, Milliseconds, double) override; [all …]
|
H A D | discrete_threshold.hpp | 3 #include "interfaces/clock.hpp" 4 #include "interfaces/sensor.hpp" 5 #include "interfaces/sensor_listener.hpp" 6 #include "interfaces/threshold.hpp" 7 #include "interfaces/trigger_action.hpp" 20 public interfaces::Threshold, 21 public interfaces::SensorListener, 28 std::vector<std::unique_ptr<interfaces::TriggerAction>> actions, 31 std::unique_ptr<interfaces::Clock> clock); 36 void sensorUpdated(interfaces::Sensor&, Milliseconds, double) override; [all …]
|
H A D | report_manager.hpp | 3 #include "interfaces/json_storage.hpp" 4 #include "interfaces/report.hpp" 5 #include "interfaces/report_factory.hpp" 6 #include "interfaces/report_manager.hpp" 7 #include "interfaces/trigger_manager.hpp" 20 class ReportManager : public interfaces::ReportManager 24 std::unique_ptr<interfaces::ReportFactory> reportFactory, 25 std::unique_ptr<interfaces::JsonStorage> reportStorage, 34 void removeReport(const interfaces::Report* report) override; 40 std::unique_ptr<interfaces::ReportFactory> reportFactory; [all …]
|
H A D | trigger.hpp | 3 #include "interfaces/json_storage.hpp" 4 #include "interfaces/threshold.hpp" 5 #include "interfaces/trigger.hpp" 6 #include "interfaces/trigger_factory.hpp" 7 #include "interfaces/trigger_manager.hpp" 17 class Trigger : public interfaces::Trigger 25 std::vector<std::shared_ptr<interfaces::Threshold>>&& thresholds, 26 interfaces::TriggerManager& triggerManager, 27 interfaces::JsonStorage& triggerStorage, 28 const interfaces::TriggerFactory& triggerFactory, [all …]
|
H A D | trigger_manager.hpp | 3 #include "interfaces/report_manager.hpp" 4 #include "interfaces/trigger_factory.hpp" 5 #include "interfaces/trigger_manager.hpp" 14 class TriggerManager : public interfaces::TriggerManager 18 std::unique_ptr<interfaces::TriggerFactory> triggerFactory, 19 std::unique_ptr<interfaces::JsonStorage> triggerStorage, 27 void removeTrigger(const interfaces::Trigger* trigger) override; 34 std::unique_ptr<interfaces::TriggerFactory> triggerFactory; 35 std::unique_ptr<interfaces::JsonStorage> triggerStorage; 37 std::vector<std::unique_ptr<interfaces::Trigger>> triggers; [all …]
|
H A D | trigger_factory.hpp | 3 #include "interfaces/report_manager.hpp" 4 #include "interfaces/sensor.hpp" 5 #include "interfaces/threshold.hpp" 6 #include "interfaces/trigger_factory.hpp" 12 class TriggerFactory : public interfaces::TriggerFactory 19 std::unique_ptr<interfaces::Trigger> make( 23 interfaces::TriggerManager& triggerManager, 24 interfaces::JsonStorage& triggerStorage, 36 std::vector<std::shared_ptr<interfaces::Threshold>>& currentThresholds, 60 std::vector<std::shared_ptr<interfaces::Threshold>>& currentThresholds, [all …]
|
/openbmc/ibm-logging/ |
H A D | manager.cpp | 61 const auto& interfaces = object.second; in createAll() local 63 auto propertyMap = interfaces.find(LOGGING_IFACE); in createAll() 65 if (propertyMap != interfaces.end()) in createAll() 67 createWithRestore(object.first, interfaces); in createAll() 79 const DbusInterfaceMap& interfaces) in createWithRestore() argument 81 createObject(objectPath, interfaces); in createWithRestore() 83 restoreCalloutObjects(objectPath, interfaces); in createWithRestore() 87 const DbusInterfaceMap& interfaces) in create() argument 89 createObject(objectPath, interfaces); in create() 91 createCalloutObjects(objectPath, interfaces); in create() [all …]
|
H A D | manager.hpp | 6 #include "interfaces.hpp" 26 * This class hosts IBM specific interfaces for the error logging 27 * entry objects. It watches for interfaces added and removed 67 * The callback for an interfaces added signal 69 * Creates the IBM interfaces for the log entry 77 * The callback for an interfaces removed signal 79 * Removes the IBM interfaces for the log entry 87 * Creates the IBM interfaces for all existing error log 95 * Any interfaces that require serialization will be created 99 * @param[in] interfaces - map of all interfaces and properties [all …]
|
/openbmc/linux/Documentation/ABI/ |
D | README |
|
/openbmc/phosphor-objmgr/src/ |
H A D | handler.cpp | 21 // service name and interfaces to that entry, otherwise create in addObjectMapResult() 42 std::vector<std::string>& interfaces) in getAncestors() argument 44 // Interfaces need to be sorted for intersect to function in getAncestors() 45 std::sort(interfaces.begin(), interfaces.end()); in getAncestors() 69 if (interfaces.empty()) in getAncestors() 78 interfaces.size(), connectionInterfaces.second.size())); in getAncestors() 82 interfaces.begin(), interfaces.end(), in getAncestors() 99 std::vector<std::string>& interfaces) in getObject() argument 103 // Interfaces need to be sorted for intersect to function in getObject() 104 std::sort(interfaces.begin(), interfaces.end()); in getObject() [all …]
|
/openbmc/docs/architecture/ |
H A D | object-mapper.md | 16 [phosphor-dbus-interfaces][1]. 20 Use this method to find the services, with their interfaces, that implement a 22 interfaces. An optional list of interfaces may also be passed in to constrain 23 the output to services that implement those specific interfaces. 28 - param: interfaces - an optional list of interfaces to constrain the search to 32 - Map of service names to their interfaces 60 Use this method to find the objects, services, and interfaces in the specified 61 subtree that implement a certain interface. An optional list of interfaces may 63 specific interfaces. If no interfaces are passed in, then all 64 objects/services/interfaces in the subtree are returned. [all …]
|
/openbmc/telemetry/src/interfaces/ |
H A D | trigger_factory.hpp | 3 #include "interfaces/json_storage.hpp" 4 #include "interfaces/sensor.hpp" 5 #include "interfaces/threshold.hpp" 6 #include "interfaces/trigger.hpp" 7 #include "interfaces/trigger_manager.hpp" 17 namespace interfaces namespace 25 virtual std::unique_ptr<interfaces::Trigger> make( 29 interfaces::TriggerManager& triggerManager, 30 interfaces::JsonStorage& triggerStorage, 42 std::vector<std::shared_ptr<interfaces::Threshold>>& currentThresholds, [all …]
|
/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/configuration/fp5280g3-yaml-config/ |
H A D | fp5280g3-ipmi-sensors.yaml | 5 interfaces: 26 interfaces: 47 interfaces: 68 interfaces: 89 interfaces: 111 interfaces: 133 interfaces: 155 interfaces: 177 interfaces: 199 interfaces: [all …]
|
H A D | fp5280g3-ipmi-fru.yaml | 5 interfaces: 48 interfaces: 82 interfaces: 107 interfaces: 129 interfaces: 151 interfaces: 177 interfaces: 203 interfaces: 229 interfaces: 255 interfaces: [all …]
|
/openbmc/phosphor-user-manager/phosphor-ldap-config/ |
H A D | ldap_mapper_entry.cpp | 19 Interfaces(bus, path, Interfaces::action::defer_emit), in LDAPMapperEntry() 23 Interfaces::privilege(privilege, true); in LDAPMapperEntry() 24 Interfaces::groupName(groupName, true); in LDAPMapperEntry() 25 Interfaces::emit_object_added(); in LDAPMapperEntry() 30 Interfaces(bus, path, Interfaces::action::defer_emit), in LDAPMapperEntry() 42 if (value == Interfaces::groupName()) in groupName() 48 auto val = Interfaces::groupName(value); in groupName() 55 if (value == Interfaces::privilege()) in privilege() 61 auto val = Interfaces::privilege(value); in privilege()
|
/openbmc/phosphor-power/ |
H A D | dbus_interfaces_finder.cpp | 29 const std::vector<std::string>& interfaces, Callback callback) : in DBusInterfacesFinder() argument 30 bus{bus}, service{service}, interfaces{interfaces}, in DBusInterfacesFinder() 55 interfaces; in interfacesAddedCallback() local 56 message.read(path, interfaces); in interfacesAddedCallback() 58 // Call callback for interfaces that we are looking for in interfacesAddedCallback() 59 for (const auto& [interface, properties] : interfaces) in interfacesAddedCallback() 61 if (std::ranges::contains(this->interfaces, interface)) in interfacesAddedCallback() 79 auto objects = util::getSubTree(bus, "/", interfaces, 0); in findInterfaces() 81 // Search for matching interfaces in returned objects in findInterfaces() 84 for (const auto& [service, interfaces] : services) in findInterfaces() [all …]
|
/openbmc/openbmc/meta-ieisystem/meta-nf5280m7/recipes-phosphor/configuration/nf5280m7-yaml-config/ |
H A D | nf5280m7-ipmi-sensors.yaml | 5 interfaces: 27 interfaces: 49 interfaces: 72 interfaces: 95 interfaces: 117 interfaces: 138 interfaces: 159 interfaces: 180 interfaces: 201 interfaces: [all …]
|
/openbmc/phosphor-objmgr/src/test/ |
H A D | handler.cpp | 114 for (const auto& [_, interfaces] : entry->second) in TEST_F() 116 ASSERT_THAT(interfaces, in TEST_F() 131 for (const auto& [_, interfaces] : entry->second) in TEST_F() 133 ASSERT_THAT(interfaces, in TEST_F() 141 std::vector<std::string> interfaces = {"bad_interface"}; in TEST_F() local 143 getAncestors(interfaceMap, path, interfaces); in TEST_F() 148 getAncestors(interfaceMap, path, interfaces), in TEST_F() 155 std::vector<std::string> interfaces = {"test_interface_0", in TEST_F() local 158 getAncestors(interfaceMap, path, interfaces); in TEST_F() 179 std::vector<std::string> interfaces = {"bad_interface"}; in TEST_F() local [all …]
|
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/ |
H A D | olympus-nuvoton-ipmi-fru.yaml | 5 interfaces: 24 interfaces: 56 interfaces: 94 interfaces: 114 interfaces: 134 interfaces: 154 interfaces: 174 interfaces: 194 interfaces: 214 interfaces: [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/p10bmc-yaml-config/ |
H A D | p10bmc-ipmi-fru.yaml | 10 # d-bus Interfaces 17 interfaces: 44 interfaces: 71 interfaces: 98 interfaces: 125 interfaces: 152 interfaces: 179 interfaces: 206 interfaces: 233 interfaces: [all …]
|
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/configuration/ethanolx-yaml-config/ |
H A D | ethanolx-ipmi-sensors.yaml | 14 interfaces: 34 interfaces: 54 interfaces: 74 interfaces: 94 interfaces: 114 interfaces: 134 interfaces: 154 interfaces: 175 interfaces: 197 interfaces: [all …]
|
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-phosphor/configuration/g220a-yaml-config/ |
H A D | g220a-ipmi-sensors.yaml | 5 interfaces: 27 interfaces: 49 interfaces: 71 interfaces: 93 interfaces: 115 interfaces: 137 interfaces: 159 interfaces: 181 interfaces: 203 interfaces: [all …]
|