Skip to content

Commit

Permalink
openstack: explains args vs argv
Browse files Browse the repository at this point in the history
Signed-off-by: Loic Dachary <loic@dachary.org>
  • Loading branch information
ldachary committed Sep 2, 2015
1 parent ba6f4e9 commit 74ed108
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions teuthology/openstack/__init__.py
Expand Up @@ -259,6 +259,12 @@ def get_ip(self, instance_id, network):
class TeuthologyOpenStack(OpenStack):

def __init__(self, args, config, argv):
"""
args is of type argparse.Namespace as returned
when parsing argv and config is the job
configuration. The argv argument can be re-used
to build the arguments list of teuthology-suite.
"""
super(TeuthologyOpenStack, self).__init__()
self.argv = argv
self.args = args
Expand Down

0 comments on commit 74ed108

Please sign in to comment.