summaryrefslogtreecommitdiffstats
path: root/qtip/cli
AgeCommit message (Collapse)AuthorFilesLines
2017-05-31Merge "Pass on all unhandled options"Yujun Zhang1-9/+15
2017-05-29Pass on all unhandled optionsTaseer Ahmed1-9/+15
Change-Id: Ic86002732c87d3b4ac5b5b3b664f116354d4bf9d Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-05-25Add support for create new project from different templatesYujun Zhang2-8/+16
Change-Id: Ic260c59b12eb9882406d6172311f2e401963c64b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-19Merge "Remove "plan" module. Replaced by "project""zhihui wu1-69/+0
2017-05-18Remove "plan" module. Replaced by "project"Charlie Root1-69/+0
Change-Id: I5da2a3cf366e4e5a67b68e34db62219587d923e5 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-05-17Add cli-prompts while creating workspaceTaseer1-4/+8
Change-Id: I954b2fcf38e89f875f6b52cde63031fc663491dd Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-05-16Add support for manually installed (not using installer) OPNFV podYujun Zhang1-2/+2
Change-Id: I314882dd8a9e491f253f825a8da7ec4c91ed3321 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-15Refactoring workspace related commands to `project` groupYujun Zhang4-39/+44
- renamed `workspace` to `project`, which is more accurate - group create/setup/run/teardown into `project` - shortcut for project commands, e.g. `qtip create` <=> `qtip project create` - even shorter command alias, e.g. `qtip s` => `qtip setup` Change-Id: I69ba5aa571bccc1cc4687481189c329b099bee91 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-11Merge "Implement setup/run command"Yujun Zhang2-2/+4
2017-05-10Implement setup/run commandTaseer2-2/+4
Change-Id: I2dbbedac08856672a093dc3c277243a3f60776d3 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-05-11Fix warning on missing ansible hosts fileYujun Zhang1-0/+1
Change-Id: I9d6fdb7a55e8528ec1cd29338bbb24e6ca92d585 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-11Set installer and master-host as required optionsYujun Zhang1-2/+2
missing these options will cause failure in workspace creation Change-Id: I701b080d7f6b2deb7f71e76da322d26b20cd3b42 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-09Remove prompts for options while creating workspaceTaseer1-2/+12
Change-Id: Ic1b4bfbcefa6240fdab193e411cce4725a6835e7 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-05-07Implement qtip workspace createTaseer4-0/+75
Change-Id: Ibd4213a6c4c86a7f4e8f99b16cba5055a3abba39 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-04-18Add E release development version.Taseer1-1/+2
Change-Id: Icda9c44aa33e63d46da0c5187157132a49db0882 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-04-13User friendly messages for exceptionsTaseer3-12/+39
- Use colorama for color - Implement verbosity option in separate patch Change-Id: Ib2491d867e9bbf59cb00874d99a11f86ad7eea1b Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-31Delete unnecessary materialTaseer1-55/+0
Change-Id: I446495d2ec5641b5478ce59192525df332b4f498 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-31Replace Qtip with QTIPYujun Zhang1-1/+1
Change-Id: I7ac76209b10938bb33b5c1879acc343be0bab858 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-23Integrate cli, runner and reporter.Taseer4-9/+22
- Execute runner via a shell command - Change format of qtip result directory to qtip-timestamp - Add path option in reporter to match with runner JIRA: QTIP-229 Change-Id: I7d8562fd7100b1f40cdc8d53b0daa6a06a55b495 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-20Merge "Refactor reporter module"zhihui wu1-2/+6
2017-03-18Refactor reporter moduleTaseer1-2/+6
- Create templates for report format specific to each metric. - Outputs the details of the specified metric across all the nodes in cluster. - Timeline to be covered in a separate patch JIRA: QTIP-199 Change-Id: Ic83749725b0c9cc5bd9a7f24f21b2cd113abe0e1 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-14Implement 'show' command.Taseer7-3/+45
- Render the description via templates JIRA: QTIP-205 Change-Id: I10523f85f80350e901a4a701bb65ca4833f8ff7c Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-10Implement 'list' command.Taseer4-6/+36
- Loads Qtip components from the default path. JIRA: QTIP-205 Change-Id: Id87993d65c5cd6a23c199cf1049d75a0971b6354 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-07Merge "Implement debug option"Yujun Zhang1-21/+8
2017-03-04Implement debug optionTaseer Ahmed1-21/+8
Show traceback only when debug flag specified. JIRA: QTIP-201 Change-Id: I9cc4b4ed5a2cb2d2efabd9c0eb3aac216321ebac Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-03Implement reporter module.Taseer Ahmed1-0/+27
- Add cli module - Implement timeline outline JIRA: QTIP-199 Signed-off-by: Taseer Ahmed <taseer94@gmail.com> Change-Id: I487b76123a785731c356143d1ae7f3123c11f398
2017-02-22Addition of detail viewing command.Taseer Ahmed3-0/+21
Change-Id: Ia9ad825f20b279db1852587540a2ad6cb3815e1d Signed-off-by:Taseer Ahmed <taseer94@gmail.com>
2017-02-20Merge "Deprecate options not sourceable to environment via Python. JIRA: ↵Yujun Zhang1-4/+1
QTIP-205"
2017-02-16Deprecate options not sourceable to environment via Python.Taseer Ahmed1-4/+1
JIRA: QTIP-205 Change-Id: I991ba64e95227fd61b5809393439ef5e7fe05be2 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-02-15Implement logfile collector and grep parserYujun Zhang1-1/+1
JIRA: QTIP-207 JIRA: QTIP-208 Change-Id: Icc14d3097fb305e59df716636ef87504490c9d1b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-25Merge "Click's built in support for version option"zhihui wu1-7/+2
2017-01-25Merge "Small corrections"zhihui wu1-1/+2
2017-01-25Merge "Plan module draft"zhihui wu1-22/+23
2017-01-23Click's built in support for version optionTaseer Ahmed1-7/+2
Change-Id: I62ffde066fe2fcb5be7af9a29686a7d380353670 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-23Merge "QPI Module Outline"Yujun Zhang2-54/+35
2017-01-22Small correctionsTaseer Ahmed1-1/+2
JIRA: QTIP-188 Change-Id: I5820403527fe4df5e23472923e34660c72195d50 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-22Plan module draftTaseer Ahmed1-22/+23
JIRA: QTIP-205 JIRA: QTIP-188 Change-Id: Ia871191851d25e1986834f8a7efdbeb8a8d87ec3 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-21QPI Module OutlineTaseer Ahmed2-54/+35
Change-Id: I19b666dfdb3e3c10622397bda00460d6fb5c269d Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-20Merge "Metric module outline"zhihui wu2-58/+33
2017-01-17Metric module outlineTaseer Ahmed2-58/+33
Change-Id: Id95b07f1c0821ae0883c761fdf8f507afba4e5c0 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-12Move redundant files to legacyTaseer Ahmed1-14/+0
Change-Id: Iede9d0f72f857b48e8fe5b48c9ae6169870e0b7a Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-11Merge "Implement plan, qpi and metric constructors"Yujun Zhang1-1/+2
2017-01-06Rework Cli.Taseer Ahmed1-5/+64
Allows global arguments to be passed to each group. References: https://github.com/pallets/click/blob/master/examples/complex/complex/cli.py Change-Id: Ifed191add867b35ddfff92de0c7db4a03d67d091 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-03Implement plan, qpi and metric constructorsYujun Zhang1-1/+2
- separate runner from `plan` and move `plan` to `loader` - rename `algorithm` to `formula` - use `numpy` for formulas - update sample qpi and metrics Change-Id: I3131ca79907376f2de31d6cb920bd7d0230664a6 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-28Delete Ansible module. No longer required.Taseer Ahmed2-64/+1
JIRA: QTIP-150 Change-Id: Idd357af309d01e5eece22521c12cd61ffd50db85 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-12-27Implment https://wiki.opnfv.org/display/qtip/DesignYujun Zhang1-20/+14
Note that some obsolete test cases are marked expected failure, will be deprecated after architecture evolution. JIRA: QTIP-148 Change-Id: I52bc9391569d516e298d9e659517161b4dce794a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-20Exception handling for wrong testplanTaseer1-5/+11
JIRA: QTIP-184 Signed-off-by: Taseer Ahmed <taseer94@gmail.com> Change-Id: I0b989b52561526963c127fc03818cf41d67af35f
2016-12-13Basic testplan layoutTaseer1-0/+43
JIRA: QTIP-184 Change-Id: I605f81fce9c4c59b75d286a6262995ea2fa2e21e Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-11-25Fix test failingYujun Zhang4-0/+4
- skip several failure cases, to be fixed in future - rename `test_plan` to hide from test discovering - add pep8 check by default - fix errors in pep8 check Change-Id: If4451999a1f4ed1339dfdf8271cc58f11de72b3e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-21Cli list related fixeslinux_geek2-2/+3
JIRA: QTIP-154 Change-Id: I95ab04fab35ff599c338ce07870602b58635e833 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>