]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Make IPMI arguments to PhysicalConsole optional
authorZack Cerza <zack@redhat.com>
Tue, 30 Aug 2016 22:26:39 +0000 (16:26 -0600)
committerZack Cerza <zack@redhat.com>
Wed, 31 Aug 2016 21:18:57 +0000 (15:18 -0600)
Since we now look them up in the global configuration anyway.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/orchestra/console.py

index 670e953286faa25e807236ea304d3054a0a45115..3366ec9ec36303903730ced9423939f93f17ed69 100644 (file)
@@ -23,8 +23,8 @@ class PhysicalConsole():
     """
     Physical Console (set from getRemoteConsole)
     """
-    def __init__(self, name, ipmiuser, ipmipass, ipmidomain, logfile=None,
-                 timeout=20):
+    def __init__(self, name, ipmiuser=None, ipmipass=None, ipmidomain=None,
+                 logfile=None, timeout=20):
         self.name = name
         self.shortname = remote.getShortName(name)
         self.timeout = timeout