mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-31 01:35:56 +08:00
Merge pull request #10147 from zexi/automated-cherry-pick-of-#10146-upstream-release-3.7
Automated cherry pick of #10146: Feature/baremetal h3c oem
This commit is contained in:
@@ -84,14 +84,24 @@ func QemuProfile() IPMIProfile {
|
||||
}
|
||||
}
|
||||
|
||||
func H3CProfile() IPMIProfile {
|
||||
return IPMIProfile{
|
||||
LanChannel: []int{8, 1},
|
||||
RootName: "root",
|
||||
RootId: 2,
|
||||
StrongPass: true,
|
||||
}
|
||||
}
|
||||
|
||||
var (
|
||||
PROFILES map[string]IPMIProfile = map[string]IPMIProfile{
|
||||
"inspur": InspurProfile(),
|
||||
"lenovo": LenovoProfile(),
|
||||
"hp": HpProfile(),
|
||||
"huawei": HuaweiProfile(),
|
||||
"foxconn": FoxconnProfile(),
|
||||
"qemu": QemuProfile(),
|
||||
types.OEM_NAME_INSPUR: InspurProfile(),
|
||||
types.OEM_NAME_LENOVO: LenovoProfile(),
|
||||
types.OEM_NAME_HP: HpProfile(),
|
||||
types.OEM_NAME_HUAWEI: HuaweiProfile(),
|
||||
types.OEM_NAME_FOXCONN: FoxconnProfile(),
|
||||
types.OEM_NAME_QEMU: QemuProfile(),
|
||||
types.OEM_NAME_H3C: H3CProfile(),
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ const (
|
||||
OEM_NAME_FOXCONN = "foxconn"
|
||||
OEM_NAME_QEMU = "qemu"
|
||||
OEM_NAME_SUPERMICRO = "supermicro"
|
||||
OEM_NAME_H3C = "h3c"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -48,6 +49,7 @@ var (
|
||||
OEM_NAME_FOXCONN,
|
||||
OEM_NAME_QEMU,
|
||||
OEM_NAME_SUPERMICRO,
|
||||
OEM_NAME_H3C,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user