/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/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 | 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 | 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 | 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 …]
|
/openbmc/linux/Documentation/ABI/ |
H A D | README | 2 userspace, and the relative stability of these interfaces. Due to the 4 interfaces should be used by userspace programs in different ways. 7 different subdirectories in this location. Interfaces may change levels 13 This directory documents the interfaces that the developer has 15 interfaces with no restrictions, and backward compatibility for 16 them will be guaranteed for at least 2 years. Most interfaces 21 This directory documents interfaces that are felt to be stable, 26 programs can start to rely on these interfaces, but they must be 27 aware of changes that can occur before these interfaces move to 28 be marked stable. Programs that use these interfaces are [all …]
|
/openbmc/phosphor-objmgr/src/ |
H A D | handler.cpp | 20 // service name and interfaces to that entry, otherwise create in addObjectMapResult() 41 std::vector<std::string>& interfaces) in getAncestors() argument 43 // Interfaces need to be sorted for intersect to function in getAncestors() 44 std::sort(interfaces.begin(), interfaces.end()); in getAncestors() 68 if (interfaces.empty()) in getAncestors() 77 interfaces.size(), interfaceMap.second.size())); in getAncestors() 81 interfaces.begin(), interfaces.end(), in getAncestors() 98 std::vector<std::string>& interfaces) in getObject() argument 102 // Interfaces need to be sorted for intersect to function in getObject() 103 std::sort(interfaces.begin(), interfaces.end()); in getObject() [all …]
|
/openbmc/docs/architecture/ |
H A D | object-mapper.md | 19 Use this method to find the services, with their interfaces, that implement a 21 interfaces. An optional list of interfaces may also be passed in to constrain 22 the output to services that implement those specific interfaces. 27 - param: interfaces - an optional list of interfaces to constrain the search to 31 - Map of service names to their interfaces 59 Use this method to find the objects, services, and interfaces in the specified 60 subtree that implement a certain interface. An optional list of interfaces may 62 specific interfaces. If no interfaces are passed in, then all 63 objects/services/interfaces in the subtree are returned. 70 - param: interfaces - an optional list of interfaces to constrain the search to [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/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-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-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-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 …]
|
/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/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/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/openbmc/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/witherspoon/ |
H A D | acx22-ipmi-hwmon-sensors.yaml | 5 interfaces: 26 interfaces: 47 interfaces: 68 interfaces: 89 interfaces: 110 interfaces: 131 interfaces: 152 interfaces: 173 interfaces: 194 interfaces: [all …]
|
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/configuration/romulus-yaml-config/ |
H A D | romulus-ipmi-sensors.yaml | 4 interfaces: 36 interfaces: 58 interfaces: 80 interfaces: 110 interfaces: 140 interfaces: 170 interfaces: 200 interfaces: 230 interfaces: 260 interfaces: [all …]
|