Home
last modified time | relevance | path

Searched full:activation (Results 1 – 25 of 524) sorted by relevance

12345678910>>...21

/openbmc/phosphor-psu-code-mgmt/test/
H A Dtest_activation.cpp1 #include "activation.hpp"
23 using Status = Activation::Status;
24 using RequestedStatus = Activation::RequestedActivations;
53 activation->onUpdateDone(); in onUpdateDone()
57 activation->onUpdateFailed(); in onUpdateFailed()
61 return activation->activationProgress->progress(); in getProgress()
65 return activation->psuQueue; in getPsuQueue()
69 return activation->getUpdateService(psuInventoryPath); in getUpdateService()
77 std::unique_ptr<Activation> activation; member in TestActivation
88 activation = std::make_unique<Activation>( in TEST_F()
[all …]
/openbmc/phosphor-bmc-code-mgmt/
H A Dactivation.cpp1 #include "activation.hpp"
41 void Activation::subscribeToSystemdSignals() in subscribeToSystemdSignals()
54 // If an Activation attempt fails, the Unsubscribe method is not in subscribeToSystemdSignals()
56 // Activation is re-attempted. in subscribeToSystemdSignals()
67 void Activation::unsubscribeFromSystemdSignals() in unsubscribeFromSystemdSignals()
83 auto Activation::activation(Activations value) -> Activations in activation() function in phosphor::software::updater::Activation
85 if ((value != softwareServer::Activation::Activations::Active) && in activation()
86 (value != softwareServer::Activation::Activations::Activating)) in activation()
91 if (value == softwareServer::Activation::Activations::Activating) in activation()
100 // Stop the activation process, if fieldMode is enabled. in activation()
[all …]
H A Dactivation.hpp12 #include <xyz/openbmc_project/Software/Activation/server.hpp>
34 sdbusplus::server::xyz::openbmc_project::software::Activation,
56 class Activation;
76 Activation& parent, uint8_t value, in RedundancyPriority()
117 Activation& parent;
179 /** @class Activation
180 * @brief OpenBMC activation software management implementation.
182 * xyz.openbmc_project.Software.Activation DBus API.
184 class Activation : public ActivationInherit, public Flash class
187 /** @brief Constructs Activation Software Manager
[all …]
H A Ditem_updater.hpp3 #include "activation.hpp"
28 sdbusplus::xyz::openbmc_project::Software::server::Activation;
62 * @brief Manages the activation of the BMC version items.
68 * @brief Types of Activation status for image validation.
148 * activation object. In case activation object already exists for the
149 * specified id, update the activation status based on image verification.
165 * @brief Creates the activation object
167 * @param[in] path - The object path for the activation object.
175 * @brief Request the activation for the specified update.
182 * @brief Change the activation status for the specified update.
[all …]
H A Ditem_updater.cpp145 info("Creating Activation object for id: {ID}", "ID", id); in createActivationWithApplyTime()
152 id, std::make_unique<Activation>( in createActivationWithApplyTime()
153 bus, path, *this, id, server::Activation::Activations::NotReady, in createActivationWithApplyTime()
163 // Determine the Activation state by processing the given image dir. in verifyAndCreateObjects()
164 auto activationState = server::Activation::Activations::Invalid; in verifyAndCreateObjects()
179 activationState = server::Activation::Activations::Ready; in verifyAndCreateObjects()
194 auto activation = activations.find(id); in verifyAndCreateObjects() local
195 if (activation == activations.end()) in verifyAndCreateObjects()
198 id, std::make_unique<Activation>(bus, path, *this, id, in verifyAndCreateObjects()
203 activation->second->activation(activationState); in verifyAndCreateObjects()
[all …]
/openbmc/openpower-pnor-code-mgmt/ubi/
H A Dactivation_ubi.cpp25 auto ActivationUbi::activation(Activations value) -> Activations in activation() function in openpower::software::updater::ActivationUbi
27 if (value != softwareServer::Activation::Activations::Active) in activation()
32 if (value == softwareServer::Activation::Activations::Activating) in activation()
35 softwareServer::Activation::activation(value); in activation()
50 return softwareServer::Activation::activation( in activation()
51 softwareServer::Activation::Activations::Failed); in activation()
55 return softwareServer::Activation::activation(value); in activation()
60 // volumes have been created do we proceed with activation. To in activation()
69 if (Activation::checkApplyTimeImmediate()) in activation()
73 Activation::rebootHost(); in activation()
[all …]
H A Dactivation_ubi.hpp3 #include "activation.hpp"
20 Activation& parent, uint8_t value) : in RedundancyPriorityUbi()
37 * @brief OpenBMC activation software management implementation.
39 * xyz.openbmc_project.Software.Activation DBus API.
41 class ActivationUbi : public Activation
44 using Activation::Activation;
47 /** @brief Overloaded Activation property setter function
49 * @param[in] value - One of Activation::Activations
53 Activations activation(Activations value) override;
60 *created as part of the activation process. **/
/openbmc/linux/Documentation/driver-api/nvdimm/
H A Dfirmware-activate.rst4 NVDIMM Runtime Firmware Activation
17 to advertise and control their local runtime firmware activation
21 attribute that shows the state of the firmware activation as one of 'idle',
32 back to idle and completing an activation cycle.
36 the activation it could be the case that too many DIMMs are armed for
37 activation. In that scenario the potential for firmware activation to
42 run firmware activation from within the equivalent of the hibernation
45 firmware activation without this hibernation cycle. The
47 firmware activation capability is detected.
57 elided completely if no firmware activation capability is detected.
[all …]
/openbmc/phosphor-psu-code-mgmt/src/
H A Dactivation.cpp3 #include "activation.hpp"
31 sdbusplus::server::xyz::openbmc_project::software::Activation;
35 auto Activation::activation(Activations value) -> Activations in activation() function in phosphor::software::updater::Activation
47 return SoftwareActivation::activation(value); in activation()
50 auto Activation::requestedActivation(RequestedActivations value) in requestedActivation()
60 if ((activation() == Status::Ready) || in requestedActivation()
61 (activation() == Status::Failed) || activation() == Status::Active) in requestedActivation()
63 activation(Status::Activating); in requestedActivation()
69 auto Activation::extendedVersion(std::string value) -> std::string in extendedVersion()
78 void Activation::unitStateChange(sdbusplus::message_t& msg) in unitStateChange()
[all …]
H A Ditem_updater.cpp119 // Determine the Activation state by processing the given image dir. in onVersionInterfacesAdded()
121 auto activationState = Activation::Status::Ready; in onVersionInterfacesAdded()
132 auto activation = in onVersionInterfacesAdded() local
135 activations.emplace(versionId, std::move(activation)); in onVersionInterfacesAdded()
212 // After update is done, remove old activation objects in onUpdateDone()
226 lg2::error("Unable to find Activation for version ID {VERSION_ID}", in onUpdateDone()
235 std::unique_ptr<Activation> ItemUpdater::createActivationObject( in createActivationObject()
237 const std::string& extVersion, Activation::Status activationStatus, in createActivationObject()
240 return std::make_unique<Activation>(bus, path, versionId, extVersion, in createActivationObject()
266 auto activationState = Activation::Status::Active; in createPsuObject()
[all …]
H A Dactivation.hpp13 #include <xyz/openbmc_project/Software/Activation/server.hpp>
101 sdbusplus::xyz::openbmc_project::Software::server::Activation,
105 /** @class Activation
106 * @brief OpenBMC activation software management implementation.
108 * xyz.openbmc_project.Software.Activation DBus API.
110 class Activation : public ActivationInherit class
116 /** @brief Constructs Activation Software Manager
122 * @param[in] activationStatus - The status of Activation
126 Activation(sdbusplus::bus_t& bus, const std::string& objPath, in Activation() function in phosphor::software::updater::Activation
140 std::bind(&Activation::unitStateChange, this, in Activation()
[all …]
H A Ditem_updater.hpp5 #include "activation.hpp"
41 * @brief Manages the activation of the PSU version items.
109 * @param[in] versionId - The versionId of the activation
129 * @details Creates an Activation D-Bus object if appropriate
145 * @details Update an Activation D-Bus object for PSU inventory.
154 /** @brief Create Activation object */
155 std::unique_ptr<Activation> createActivationObject(
157 const std::string& extVersion, Activation::Status activationStatus,
167 /** @brief Create Activation and Version object for PSU inventory
174 /** @brief Remove Activation and Version object for PSU inventory
[all …]
/openbmc/openpower-pnor-code-mgmt/
H A Dactivation.cpp3 #include "activation.hpp"
42 void Activation::subscribeToSystemdSignals() in subscribeToSystemdSignals()
55 // If an Activation attempt fails, the Unsubscribe method is not in subscribeToSystemdSignals()
57 // Activation is re-attempted. in subscribeToSystemdSignals()
68 void Activation::unsubscribeFromSystemdSignals() in unsubscribeFromSystemdSignals()
77 auto Activation::requestedActivation(RequestedActivations value) in requestedActivation()
80 if ((value == softwareServer::Activation::RequestedActivations::Active) && in requestedActivation()
81 (softwareServer::Activation::requestedActivation() != in requestedActivation()
82 softwareServer::Activation::RequestedActivations::Active)) in requestedActivation()
84 if ((softwareServer::Activation::activation() == in requestedActivation()
[all …]
H A Dactivation.hpp12 #include <xyz/openbmc_project/Software/Activation/server.hpp>
28 sdbusplus::xyz::openbmc_project::Software::server::Activation,
54 class Activation;
73 Activation& parent, uint8_t value) : in RedundancyPriority()
97 Activation& parent;
136 /** @class Activation
137 * @brief OpenBMC activation software management implementation.
139 * xyz.openbmc_project.Software.Activation DBus API.
141 class Activation : public ActivationInherit class
144 /** @brief Constructs Activation Software Manager
[all …]
/openbmc/pldm/fw-update/
H A Dactivation.hpp5 #include <xyz/openbmc_project/Software/Activation/server.hpp>
19 sdbusplus::xyz::openbmc_project::Software::server::Activation>;
65 /** @brief Delete the Activation D-Bus object for the FW update package */
72 /** @class Activation
74 * Concrete implementation of xyz.openbmc_project.Object.Activation D-Bus
77 class Activation : public ActivationIntf class
86 Activation(sdbusplus::bus_t& bus, std::string objPath, in Activation() function in pldm::fw_update::Activation
92 activation(activationStatus); in Activation()
97 using sdbusplus::xyz::openbmc_project::Software::server::Activation::
98 activation;
[all …]
H A Dupdate_manager.cpp3 #include "activation.hpp"
35 // If a firmware activation of a package is in progress, don't proceed with in processPackage()
37 if (activation) in processPackage()
39 if (activation->activation() == in processPackage()
40 software::Activation::Activations::Activating) in processPackage()
43 "Activation of PLDM fw update package for version '{VERSION}' already in progress.", in processPackage()
118 activation = std::make_unique<Activation>( in processPackage()
120 software::Activation::Activations::Invalid, this); in processPackage()
133 activation = std::make_unique<Activation>( in processPackage()
135 software::Activation::Activations::Invalid, this); in processPackage()
[all …]
/openbmc/openpower-pnor-code-mgmt/static/
H A Dactivation_static.cpp17 auto ActivationStatic::activation(Activations value) -> Activations in activation() function in openpower::software::updater::ActivationStatic
20 if (value != softwareServer::Activation::Activations::Active) in activation()
25 if (value == softwareServer::Activation::Activations::Activating) in activation()
42 ret = softwareServer::Activation::Activations::Failed; in activation()
53 ret = softwareServer::Activation::Activations::Failed; in activation()
63 ret = softwareServer::Activation::Activations::Failed; in activation()
73 return softwareServer::Activation::activation(ret); in activation()
129 Activation::activation( in unitStateChange()
130 softwareServer::Activation::Activations::Failed); in unitStateChange()
162 Activation::activation(Activation::Activations::Active); in finishActivation()
/openbmc/phosphor-bmc-code-mgmt/mmc/
H A Dflash.cpp5 #include "activation.hpp"
17 void Activation::flashWrite() in flashWrite()
26 void Activation::onStateChanges(sdbusplus::message_t& msg) in onStateChanges()
55 Activation::activation( in onStateChanges()
56 softwareServer::Activation::Activations::Failed); in onStateChanges()
66 if (!Activation::redundancyPriority) in onStateChanges()
68 Activation::redundancyPriority = in onStateChanges()
75 Activation::onFlashWriteSuccess(); in onStateChanges()
/openbmc/phosphor-psu-code-mgmt/
H A DREADME.md84 "Activation": "xyz.openbmc_project.Software.Activation.Activations.Active",
88 "activation",
95 "RequestedActivation": "xyz.openbmc_project.Software.Activation.RequestedActivations.None",
99 "Activation": "xyz.openbmc_project.Software.Activation.Activations.Active",
103 "activation",
110 "RequestedActivation": "xyz.openbmc_project.Software.Activation.RequestedActivations.None",
119 "Activation": "xyz.openbmc_project.Software.Activation.Activations.Active",
123 "activation",
128 "activation",
135 "RequestedActivation": "xyz.openbmc_project.Software.Activation.RequestedActivations.None",
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Software/
H A DActivation.interface.yaml2 Activation state for an associated xyz.openbmc_project.Software.Version.
4 - name: Activation
7 The current Activation state of the Software.Version.
11 The desired Activation state of the Software.Version.
15 The possible Activation states of the Software.Version.
27 Activation.
36 The Software.Version failed during or after Activation.
54 The Software.Version has been requested for Activation.
H A DREADME.md41 `xyz.openbmc_project.Software.Activation` interface under
44 `Software.Activation` under `/xyz/openbmc_project/software/`, and an association
45 of type `{activation,item}` between the `Inventory.Item` and
46 `Software.Activation` under `/xyz/openbmc_project/software/<id>`. Application of
48 the `Software.Activation` interface.
50 In many cases, the _ItemUpdater_'s creation of the `Software.Activation`
57 _ItemUpdater_ should create `Software.Activation` interfaces as a sub-path of
130 ### Activation States
132 `xyz.openbmc_project.Software.Activation` has a property Activation that can be
136 version and it is therefore not ready for activation. This might be used on
[all …]
H A DApplyOptions.interface.yaml2 To implement the Activation apply options for a newly uploaded firmware
4 used during firmware activation. ApplyOptions usage during firmware
5 activation is implementation specific, not all firmware targets need
6 ApplyOptions. This property is removed after activation of the firmware is
17 firmware image activation.
/openbmc/docs/architecture/code-update/
H A Dhost-code-update.md48 Activation property set to Ready, in this example it'd be `2a1022fe`:
55 "Activation": "xyz.openbmc_project.Software.Activation.Activations.Ready",
74 xyz.openbmc_project.Software.Activation RequestedActivation s \
75 xyz.openbmc_project.Software.Activation.RequestedActivations.Active
84 "xyz.openbmc_project.Software.Activation.RequestedActivations.Active"}' \
89 the activation progress and is not present once the activation is completed
97 xyz.openbmc_project.Software.Activation Progress
106 6. Check the activation is complete by verifying the Activation property is set
114 xyz.openbmc_project.Software.Activation Activation
/openbmc/phosphor-bmc-code-mgmt/ubi/
H A Dflash.cpp3 #include "activation.hpp"
15 void Activation::flashWrite() in flashWrite()
31 void Activation::onStateChanges(sdbusplus::message_t& msg) in onStateChanges()
69 Activation::activation( in onStateChanges()
70 softwareServer::Activation::Activations::Failed); in onStateChanges()
80 if (!Activation::redundancyPriority) in onStateChanges()
82 Activation::redundancyPriority = in onStateChanges()
89 Activation::onFlashWriteSuccess(); in onStateChanges()
/openbmc/openpower-pnor-code-mgmt/mmc/
H A Dactivation_mmc.hpp3 #include "activation.hpp"
17 class ActivationMMC : public Activation
20 using Activation::Activation;
22 Activations activation(Activations value) override;

12345678910>>...21