forked from stmcginnis/gofish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphysicalcontext.go
131 lines (124 loc) · 6.32 KB
/
physicalcontext.go
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
//
// SPDX-License-Identifier: BSD-3-Clause
//
package redfish
type LogicalContext string
const (
// CapacityLogicalContext Capacity-related logical context.
CapacityLogicalContext LogicalContext = "Capacity"
// EnvironmentLogicalContext Environment-related logical context.
EnvironmentLogicalContext LogicalContext = "Environment"
// NetworkLogicalContext Network-related logical context.
NetworkLogicalContext LogicalContext = "Network"
// PerformanceLogicalContext Performance-related logical context.
PerformanceLogicalContext LogicalContext = "Performance"
// SecurityLogicalContext Security-related logical context.
SecurityLogicalContext LogicalContext = "Security"
// StorageLogicalContext Storage-related logical context.
StorageLogicalContext LogicalContext = "Storage"
)
type PhysicalContext string
const (
// RoomPhysicalContext The room.
RoomPhysicalContext PhysicalContext = "Room"
// IntakePhysicalContext The air intake point or points or region of the chassis.
IntakePhysicalContext PhysicalContext = "Intake"
// ExhaustPhysicalContext The air exhaust point or points or region of the chassis.
ExhaustPhysicalContext PhysicalContext = "Exhaust"
// LiquidInletPhysicalContext The liquid inlet point of the chassis.
LiquidInletPhysicalContext PhysicalContext = "LiquidInlet"
// LiquidOutletPhysicalContext The liquid outlet point of the chassis.
LiquidOutletPhysicalContext PhysicalContext = "LiquidOutlet"
// FrontPhysicalContext The front of the chassis.
FrontPhysicalContext PhysicalContext = "Front"
// BackPhysicalContext The back of the chassis.
BackPhysicalContext PhysicalContext = "Back"
// UpperPhysicalContext The upper portion of the chassis.
UpperPhysicalContext PhysicalContext = "Upper"
// LowerPhysicalContext The lower portion of the chassis.
LowerPhysicalContext PhysicalContext = "Lower"
// CPUPhysicalContext A processor (CPU).
CPUPhysicalContext PhysicalContext = "CPU"
// CPUSubsystemPhysicalContext The entire processor (CPU) subsystem.
CPUSubsystemPhysicalContext PhysicalContext = "CPUSubsystem"
// GPUPhysicalContext A graphics processor (GPU).
GPUPhysicalContext PhysicalContext = "GPU"
// GPUSubsystemPhysicalContext The entire graphics processor (GPU) subsystem.
GPUSubsystemPhysicalContext PhysicalContext = "GPUSubsystem"
// FPGAPhysicalContext An FPGA.
FPGAPhysicalContext PhysicalContext = "FPGA"
// AcceleratorPhysicalContext An accelerator.
AcceleratorPhysicalContext PhysicalContext = "Accelerator"
// ASICPhysicalContext An ASIC device, such as a networking chip or chipset component.
ASICPhysicalContext PhysicalContext = "ASIC"
// BackplanePhysicalContext A backplane within the chassis.
BackplanePhysicalContext PhysicalContext = "Backplane"
// SystemBoardPhysicalContext The system board (PCB).
SystemBoardPhysicalContext PhysicalContext = "SystemBoard"
// PowerSupplyPhysicalContext A power supply.
PowerSupplyPhysicalContext PhysicalContext = "PowerSupply"
// PowerSubsystemPhysicalContext The entire power subsystem.
PowerSubsystemPhysicalContext PhysicalContext = "PowerSubsystem"
// VoltageRegulatorPhysicalContext A voltage regulator device.
VoltageRegulatorPhysicalContext PhysicalContext = "VoltageRegulator"
// RectifierPhysicalContext A rectifier device.
RectifierPhysicalContext PhysicalContext = "Rectifier"
// StorageDevicePhysicalContext A storage device.
StorageDevicePhysicalContext PhysicalContext = "StorageDevice"
// NetworkingDevicePhysicalContext A networking device.
NetworkingDevicePhysicalContext PhysicalContext = "NetworkingDevice"
// ComputeBayPhysicalContext Within a compute bay.
ComputeBayPhysicalContext PhysicalContext = "ComputeBay"
// StorageBayPhysicalContext Within a storage bay.
StorageBayPhysicalContext PhysicalContext = "StorageBay"
// NetworkBayPhysicalContext Within a networking bay.
NetworkBayPhysicalContext PhysicalContext = "NetworkBay"
// ExpansionBayPhysicalContext Within an expansion bay.
ExpansionBayPhysicalContext PhysicalContext = "ExpansionBay"
// PowerSupplyBayPhysicalContext Within a power supply bay.
PowerSupplyBayPhysicalContext PhysicalContext = "PowerSupplyBay"
// MemoryPhysicalContext A memory device.
MemoryPhysicalContext PhysicalContext = "Memory"
// MemorySubsystemPhysicalContext The entire memory subsystem.
MemorySubsystemPhysicalContext PhysicalContext = "MemorySubsystem"
// ChassisPhysicalContext The entire chassis.
ChassisPhysicalContext PhysicalContext = "Chassis"
// FanPhysicalContext A fan.
FanPhysicalContext PhysicalContext = "Fan"
// CoolingSubsystemPhysicalContext The entire cooling, or air and liquid, subsystem.
CoolingSubsystemPhysicalContext PhysicalContext = "CoolingSubsystem"
// MotorPhysicalContext A motor.
MotorPhysicalContext PhysicalContext = "Motor"
// TransformerPhysicalContext A transformer.
TransformerPhysicalContext PhysicalContext = "Transformer"
// ACUtilityInputPhysicalContext An AC utility input.
ACUtilityInputPhysicalContext PhysicalContext = "ACUtilityInput"
// ACStaticBypassInputPhysicalContext An AC static bypass input.
ACStaticBypassInputPhysicalContext PhysicalContext = "ACStaticBypassInput"
// ACMaintenanceBypassInputPhysicalContext An AC maintenance bypass input.
ACMaintenanceBypassInputPhysicalContext PhysicalContext = "ACMaintenanceBypassInput"
// DCBusPhysicalContext A DC bus.
DCBusPhysicalContext PhysicalContext = "DCBus"
// ACOutputPhysicalContext An AC output.
ACOutputPhysicalContext PhysicalContext = "ACOutput"
// ACInputPhysicalContext An AC input.
ACInputPhysicalContext PhysicalContext = "ACInput"
// TrustedModulePhysicalContext A trusted module.
TrustedModulePhysicalContext PhysicalContext = "TrustedModule"
// BoardPhysicalContext shall indicate a circuit board that is not the primary or system board within a context
// that cannot be described by other defined values.
BoardPhysicalContext PhysicalContext = "Board"
// TransceiverPhysicalContext shall indicate a transceiver attached to a device.
TransceiverPhysicalContext PhysicalContext = "Transceiver"
// BatteryPhysicalContext A battery.
BatteryPhysicalContext PhysicalContext = "Battery"
// PumpPhysicalContext A pump.
PumpPhysicalContext PhysicalContext = "Pump"
)
type PhysicalSubContext string
const (
// InputPhysicalSubContext The input.
InputPhysicalSubContext PhysicalSubContext = "Input"
// OutputPhysicalSubContext The output.
OutputPhysicalSubContext PhysicalSubContext = "Output"
)