Lines Matching +full:service +full:- +full:config +full:- +full:manager
4 #include <phosphor-logging/lg2.hpp>
19 using namespace phosphor::software::manager;
35 manager(ctx, sdbusplus::client::xyz::openbmc_project::software::Version<>:: in SoftwareManager()
46 sdbusplus::async::context& ctx, const std::string& service, in getConfig() argument
50 .service(service) in getConfig()
93 error("Failed to get config with {ERROR}", "ERROR", e); in getConfig()
108 .service("xyz.openbmc_project.ObjectMapper") in initDevices()
116 debug("[config] looking for dbus interface {INTF}", "INTF", iface); in initDevices()
121 for (auto& [service, interfaceNames] : v) in initDevices()
141 co_await handleInterfaceAdded(service, path, interfaceFound); in initDevices()
154 const std::string& service, const std::string& path, in handleInterfaceAdded() argument
157 debug("Found configuration interface at {SERVICE}, {PATH}", "SERVICE", in handleInterfaceAdded()
158 service, "PATH", path); in handleInterfaceAdded()
160 auto optConfig = co_await getConfig(ctx, service, path, interface); in handleInterfaceAdded()
168 auto& config = optConfig.value(); in handleInterfaceAdded() local
170 if (devices.contains(config.objectPath)) in handleInterfaceAdded()
173 config.objectPath); in handleInterfaceAdded()
177 const bool accepted = co_await initDevice(service, path, config); in handleInterfaceAdded()
179 if (accepted && devices.contains(config.objectPath)) in handleInterfaceAdded()
181 auto& device = devices[config.objectPath]; in handleInterfaceAdded()
183 if (device->softwareCurrent) in handleInterfaceAdded()
185 co_await device->softwareCurrent->createInventoryAssociations(true); in handleInterfaceAdded()
187 device->softwareCurrent->setActivation( in handleInterfaceAdded()
260 if (devices[objPath]->updateInProgress) in handleInterfaceRemoved()
265 "removal of device at {PATH} ignored because of in-progress update", in handleInterfaceRemoved()