Merge "Add more channel number for detecting BMC IP address" into stable/stein
This commit is contained in:
@@ -1111,9 +1111,10 @@ class GenericHardwareManager(HardwareManager):
|
||||
utils.try_execute('modprobe', 'ipmi_si')
|
||||
|
||||
try:
|
||||
# From all the channels 0-15, only 1-7 can be assigned to different
|
||||
# types of communication media and protocols and effectively used
|
||||
for channel in range(1, 8):
|
||||
# From all the channels 0-15, only 1-11 can be assigned to
|
||||
# different types of communication media and protocols and
|
||||
# effectively used
|
||||
for channel in range(1, 12):
|
||||
out, e = utils.execute(
|
||||
"ipmitool lan print {} | awk '/IP Address[ \\t]*:/"
|
||||
" {{print $4}}'".format(channel), shell=True)
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
From IPMI specification v2.0, channel number 1-Bh(1-11) can
|
||||
be used for various types of communications channels.
|
||||
The respectively available channels depend on the specific
|
||||
IPMI implementation for a specific server system.
|
||||
Reference in New Issue
Block a user