1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3 #pragma once 4 #include <nlohmann/json.hpp> 5 6 namespace open_bmc_computer_system 7 { 8 // clang-format off 9 10 enum class FirmwareProvisioningStatus{ 11 Invalid, 12 NotProvisioned, 13 ProvisionedButNotLocked, 14 ProvisionedAndLocked, 15 }; 16 17 NLOHMANN_JSON_SERIALIZE_ENUM(FirmwareProvisioningStatus, { 18 {FirmwareProvisioningStatus::Invalid, "Invalid"}, 19 {FirmwareProvisioningStatus::NotProvisioned, "NotProvisioned"}, 20 {FirmwareProvisioningStatus::ProvisionedButNotLocked, "ProvisionedButNotLocked"}, 21 {FirmwareProvisioningStatus::ProvisionedAndLocked, "ProvisionedAndLocked"}, 22 }); 23 24 } 25 // clang-format on 26