diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-05-11 00:05:12 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-05-11 00:05:12 +0800 |
commit | 06915dd2b78fb2aaef842fb7105b164fc3c67413 (patch) | |
tree | 4d5b840cfa67794ff74f10b87f6ca64dcdbf1f85 | |
parent | 6e51c4ca72bdbf08874687025c5bdb597f1b93d1 (diff) |
Set installer and master-host as required options
missing these options will cause failure in workspace creation
Change-Id: I701b080d7f6b2deb7f71e76da322d26b20cd3b42
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
-rw-r--r-- | qtip/cli/commands/cmd_workspace.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qtip/cli/commands/cmd_workspace.py b/qtip/cli/commands/cmd_workspace.py index 42d4e2d5..f6f9fc57 100644 --- a/qtip/cli/commands/cmd_workspace.py +++ b/qtip/cli/commands/cmd_workspace.py @@ -22,8 +22,8 @@ def cli(): @cli.command("create", help="Create QTIP workspace") @click.option('--pod', default='unknown', help='Name of pod under test') -@click.option('--installer', help='OPNFV installer') -@click.option('--master-host', help='Installer hostname') +@click.option('--installer', help='OPNFV installer', required=True) +@click.option('--master-host', help='Installer hostname', required=True) @click.option('--scenario', default='unknown', help='OPNFV scenario') @click.argument('name') def create(pod, installer, master_host, scenario, name): |