Anuket Project

Dovetail Command Line

Dovetail command line is to have a simple command line interface in Dovetail to make easier for users to handle the functions that dovetail framework provides.

1. Commands

commands

Action

dovetail --help | -h

Show usage of command "dovetail"

dovetail --version

Show version number

dovetail list

dovetail list --help | -hShow usage of command "dovetail list"

dovetail list

List all available test suites and all test cases within each test suite

dovetail list <test_suite_name>

List all available test areas within test suite <test_suite_name> and all test cases within each test area

dovetail show

dovetail show --help | -h

Show usage of command "dovetail show"

dovetail show <test_case_name>

Show the details of one test case

dovetail run
dovetail run --help | -hShow usage of command "dovetail run"
dovetail runRun Dovetail with all test areas within default test suite "compliance_set"

dovetail run --testsuite <test_suite_name>

Run Dovetail with all test areas within test suite <test_suite_name>

dovetail run --testsuite <test_suite_name> --testarea <test_area_name>

Run Dovetail with test area <test_area_name> within test suite <test_suite_name>.

Test area can be chosen in set (mandatory, optional, osinterop, ha, vping, ipv6, tempest, sdnvpn).

Repeat option to set multiple test areas.

dovetail run --debug | -d

Run Dovetail with a debug mode and show all debug logs

dovetail run --offlineRun Dovetail offline, use local docker images and will not update them
dovetail run --report | -r <db_url>

Push results to local or official DB

dovetail run --yard_tag | -y <yardstick_docker_image_tag>

Specify yardstick's docker image tag, default is danube.3.2

dovetail run --func_tag | -f <functest_docker_image_tag>

Specify functest's docker image tag, default is cvp.0.5.0

dovetail run --bott_tag | -b <bottlenecks_docker_image_tag>Specify bottlenecks' docker image tag, default is cvp.0.4.0


2. Examples

2.1 dovetail commands


2.2 dovetail list commands


 

2.3 dovetail show commands

 

2.4 dovetail run commands