blob: b099b5b9990096c34d6bbb831500f1f9e383e549 [file] [log] [blame]
Nikhil Namjoshi8ec41062022-10-24 21:07:25 +00001// Copyright 2022 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Brandon Kimdd040172023-06-22 18:07:39 +000015#pragma once
16
Brandon Kim2aaf2c02022-10-28 17:46:34 +000017#include <cstdint>
18
Nikhil Namjoshi8ec41062022-10-24 21:07:25 +000019namespace google
20{
21namespace ipmi
22{
Hao Zhou15d4d212023-07-11 20:18:04 +000023inline constexpr auto bmDriveCleaningFlagPath = "/run/bm-drive-cleaning.flag";
24inline constexpr auto bmDriveCleaningDoneFlagPath =
25 "/run/bm-drive-cleaning-done.flag";
26inline constexpr auto bmDriveCleaningDoneAckFlagPath =
27 "/run/bm-drive-cleaning-done-ack.flag";
Nikhil Namjoshi8ec41062022-10-24 21:07:25 +000028
29enum class BmcMode : uint8_t
30{
31 NON_BM_MODE = 0,
32 BM_MODE,
33 BM_CLEANING_MODE
34};
35
36} // namespace ipmi
37} // namespace google