| #pragma once |
| |
| #include <cstdint> |
| #include <cstddef> |
| |
| // clang-format off |
| constexpr const int bmcwebInsecureDisableXssPrevention = |
| @BMCWEB_INSECURE_DISABLE_XSS_PREVENTION@; |
| |
| constexpr const bool bmcwebInsecureEnableQueryParams = @BMCWEB_INSECURE_ENABLE_QUERY_PARAMS@ == 1; |
| |
| constexpr const size_t bmcwebHttpReqBodyLimitMb = @BMCWEB_HTTP_REQ_BODY_LIMIT_MB@; |
| |
| constexpr const char* mesonInstallPrefix = "@MESON_INSTALL_PREFIX@"; |
| |
| constexpr const bool bmcwebInsecureEnableHttpPushStyleEventing = @BMCWEB_INSECURE_ENABLE_HTTP_PUSH_STYLE_EVENTING@ == 1; |
| |
| constexpr const char* bmcwebMainChassisId = "@BMCWEB_MAIN_CHASSIS_ID@"; |
| |
| constexpr const bool enablePlatform6 = @ENABLE_PLATFORM6@ == 1; |
| constexpr const char* platform6Chassis0 = "@PLATFORM6_CHASSIS0@"; |
| constexpr const char* platform6Chassis1 = "@PLATFORM6_CHASSIS1@"; |
| constexpr const char* platform6Chassis2 = "@PLATFORM6_CHASSIS2@"; |
| |
| // Custom NVMe Device |
| constexpr const bool enableCustomNVMe = @ENABLE_CUSTOM_NVME@ == 1; |
| constexpr const char* customNVMe = "@CUSTOM_NVME@"; |
| constexpr const char* customNVMeAssociation = "@CUSTOM_NVME_ASSOCIATION@"; |
| |
| // Custom SSD |
| constexpr const bool enableCustomSSD = @ENABLE_CUSTOM_SSD@ == 1; |
| constexpr const char* customSSD = "@CUSTOM_SSD_NAME@"; |
| constexpr const char* customSSDController = "@CUSTOM_SSD_CONTROLLER@"; |
| constexpr const char* customSSDOdataType = "@CUSTOM_SSD_ODATA_TYPE@"; |
| |
| constexpr int mTlsGrpcPort = @MTLS_GRPC_PORT@; |
| constexpr int insecureGrpcPort = @INSECURE_GRPC_PORT@; |
| constexpr const bool insecureDisableGrpcRedfishAuthz = @INSECURE_DISABLE_REDFISH_AUTHZ@ == 1; |
| constexpr bool enableMultiThreadGet = @ENABLE_MULTI_THREAD_GET@ == 1; |
| constexpr bool enableTlbmc = @ENABLE_TLBMC@ == 1; |
| constexpr bool enableTlbmcTrace = @ENABLE_TLBMC_TRACE@ == 1; |
| constexpr bool enableFastSanity = @ENABLE_FAST_SANITY@ == 1; |
| constexpr const char* entityConfigLocation = "@ENTITY_CONFIG_LOCATION@"; |
| |
| constexpr const bool bmcwebEnableAmd = @BMCWEB_ENABLE_AMD@ == 1; |
| constexpr const bool bmcwebEnableRdeDevice = @BMCWEB_ENABLE_RDE_DEVICE@ == 1; |
| |
| constexpr const bool enablePlatform9 = @ENABLE_PLATFORM9@ == 1; |
| constexpr const char* platform9Chassis0 = "@PLATFORM9_CHASSIS0@"; |
| constexpr const char* platform9Chassis1 = "@PLATFORM9_CHASSIS1@"; |
| constexpr const char* platform9Chassis2 = "@PLATFORM9_CHASSIS2@"; |
| constexpr const char* platform9Chassis3 = "@PLATFORM9_CHASSIS3@"; |
| constexpr const char* platform9Chassis4 = "@PLATFORM9_CHASSIS4@"; |
| constexpr const char* platform9Chassis5 = "@PLATFORM9_CHASSIS5@"; |
| |
| constexpr const char* platform9Cable0 = "@PLATFORM9_CHASSIS1@_cable_0"; |
| constexpr const char* platform9Cable1 = "@PLATFORM9_CHASSIS1@_cable_1"; |
| constexpr const char* platform9Cable2 = "@PLATFORM9_CHASSIS1@_cable_2"; |
| constexpr const char* platform9Cable3 = "@PLATFORM9_CHASSIS2@_cable"; |
| constexpr const char* platform9Cable4 = "@PLATFORM9_CHASSIS2@_adapter"; |
| |
| constexpr const bool enablePlatform22 = @ENABLE_PLATFORM22@ == 1; |
| |
| constexpr const char* hostCperLogServiceName = "@HOST_CPER_LOGSERVICE_NAME@"; |
| |
| constexpr const char* hostCperService = "@HOST_CPER_SERVICE@"; |
| |
| constexpr const char* hostCperObjManagerPath = "@HOST_CPER_OBJECT_MANAGER_PATH@"; |
| constexpr const char* hostCperLogPath = "@HOST_CPER_LOG_PATH@"; |
| constexpr const char* rasManagerLogPath = "@RASMANAGER_LOG_PATH@"; |
| |
| constexpr const bool enableGoogleBaremetal = @ENABLE_GOOGLE_BAREMETAL@ == 1; |
| |
| constexpr const char* snapshotFilepath = "@SNAPSHOT_FILEPATH@"; |
| constexpr const char* snapshotFilepath_platform22 = "@SNAPSHOT_FILEPATH_PLATFORM22@"; |
| constexpr const char* snapshotFilepath_platform23 = "@SNAPSHOT_FILEPATH_PLATFORM23@"; |
| constexpr const char* snapshotFilepath_cableFru = "@SNAPSHOT_FILEPATH_CABLEFRU@"; |
| constexpr const char* snapshotFilepath_platform11_config4 = "@SNAPSHOT_FILEPATH_PLATFORM11_CONFIG4@"; |
| constexpr const char* snapshotFilepath_platform5_config7 = "@SNAPSHOT_FILEPATH_PLATFORM5_CONFIG7@"; |
| constexpr const char* snapshotFilepath_platform5_config0 = "@SNAPSHOT_FILEPATH_PLATFORM5_CONFIG0@"; |
| |
| constexpr const char* sysfsNetBasePathUT = "@SYSFS_BASE_PATH_UT@/sys/class/net"; |
| // clang-format on |