Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions common/OpTestIPMI.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,21 @@ class IPMITool():
the caller.
'''

def __init__(self, method='lanplus', binary='ipmitool',
def __init__(self, method='lanplus', binary='ipmitool', alg_id='17',
ip=None, username=None, password=None, logfile=sys.stdout):
self.method = 'lanplus'
self.ip = ip
self.username = username
self.password = password
self.binary = binary
self.logfile = logfile
self.alg_id = alg_id

def binary_name(self):
return self.binary

def arguments(self):
s = ' -H %s -I %s' % (self.ip, self.method)
s = ' -H %s -I %s -C %s' % (self.ip, self.method, self.alg_id)
if self.username:
s += ' -U %s' % (self.username)
if self.password:
Expand Down