diff options
-rw-r--r-- | docs/index.rst | 11 | ||||
-rw-r--r-- | qtip/cli/commands/cmd_workspace.py | 5 |
2 files changed, 10 insertions, 6 deletions
diff --git a/docs/index.rst b/docs/index.rst index 17ed58d8..f3e275e5 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -13,7 +13,10 @@ for performance, simple but supported by comprehensive testing data and transpar .. _QTIP: https://wiki.opnfv.org/display/qtip .. _OPNFV: https://www.opnfv.org/ -.. include:: release/release-notes/index.rst -.. include:: testing/user/configguide/index.rst -.. include:: testing/user/userguide/index.rst -.. include:: testing/developer/devguide/index.rst +.. toctree:: + :maxdepth: 2 + + release/release-notes/index.rst + testing/user/configguide/index.rst + testing/user/userguide/index.rst + testing/developer/devguide/index.rst diff --git a/qtip/cli/commands/cmd_workspace.py b/qtip/cli/commands/cmd_workspace.py index 42d4e2d5..a5b6828f 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): @@ -37,6 +37,7 @@ def create(pod, installer, master_host, scenario, name): 'workspace': name } os.system("ANSIBLE_ROLES_PATH={qtip_package}/{roles_path} ansible-playbook" + " -i {qtip_package}/{roles_path}/qtip-workspace/hosts" " {qtip_package}/{roles_path}/qtip-workspace/create.yml" " --extra-vars '{extra_vars}'" "".format(qtip_package=utils.QTIP_PACKAGE, |