-
Notifications
You must be signed in to change notification settings - Fork 2
/
commands.hpp
79 lines (75 loc) · 2.69 KB
/
commands.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
namespace google
{
namespace ipmi
{
enum SysOEMCommands
{
// The Sys cable check command.
SysCableCheck = 0,
// The Sys cpld version over ipmi command.
SysCpldVersion = 1,
// The Sys get eth device command.
SysGetEthDevice = 2,
// The Sys psu hard reset command.
SysPsuHardReset = 3,
// The Sys pcie slot count command.
SysPcieSlotCount = 4,
// The Sys pcie slot to i2c bus mapping command.
SysPcieSlotI2cBusMapping = 5,
// The Sys "entity id:entity instance" to entity name mapping command.
SysEntityName = 6,
// Returns the machine name of the image
SysMachineName = 7,
// Arm for psu reset on host shutdown
SysPsuHardResetOnShutdown = 8,
// The Sys get flash size command
SysGetFlashSize = 9,
// The Sys Host Power Off with disabled fallback watchdog
SysHostPowerOff = 10,
// Google CustomAccel service - get the number of devices available
SysAccelOobDeviceCount = 11,
// Google CustomAccel service - get the name of a single device
SysAccelOobDeviceName = 12,
// Google CustomAccel service - read from a device
SysAccelOobRead = 13,
// Google CustomAccel service - write to a device
SysAccelOobWrite = 14,
// The Sys PCIe Slot Bifurcation information command.
SysPCIeSlotBifurcation = 15,
// The Sys get BMC Mode command
SysGetBmcMode = 16,
// The Sys Linux Boot Done command
SysLinuxBootDone = 17,
// Send reboot checkpoint to BMC to monitor the reboot process.
SysSendRebootCheckpoint = 18,
// Send reboot end event to BMC to notify BMC the reboot is completed.
SysSendRebootComplete = 19,
// Send Additional duration to BMC to monitor the reboot process.
SysSendRebootAdditionalDuration = 20,
// Google CustomAccel Get VR Settings
SysGetAccelVrSettings = 21,
// Google CustomAccel Set VR Settings
SysSetAccelVrSettings = 22,
// Get BM instance property info
SysGetBMInstanceProperty = 23,
// Read OEM BIOS Setting
SysReadBiosSetting = 24,
// Write OEM BIOS Setting
SysWriteBiosSetting = 25,
};
} // namespace ipmi
} // namespace google