mirror of
https://opendev.org/x/pyghmi
synced 2026-01-12 03:02:33 +00:00
add **kwargs to support parameter extention
Change-Id: Id680ea1ddac4b99a7efc211ab21063d8e480ff14
This commit is contained in:
@@ -151,7 +151,7 @@ class Command(object):
|
||||
|
||||
def __init__(self, bmc=None, userid=None, password=None, port=623,
|
||||
onlogon=None, kg=None, privlevel=None, verifycallback=None,
|
||||
keepalive=True):
|
||||
keepalive=True, **kwargs):
|
||||
# TODO(jbjohnso): accept tuples and lists of each parameter for mass
|
||||
# operations without pushing the async complexities up the stack
|
||||
self.logger = logging.getLogger(__name__)
|
||||
@@ -164,6 +164,7 @@ class Command(object):
|
||||
self._netchannel = None
|
||||
self._ipv6support = None
|
||||
self.certverify = verifycallback
|
||||
self.kwargs = kwargs
|
||||
if bmc is None:
|
||||
self.ipmi_session = localsession.Session()
|
||||
elif onlogon is not None:
|
||||
|
||||
Reference in New Issue
Block a user