summaryrefslogtreecommitdiffstats
path: root/qtip/cli
AgeCommit message (Collapse)AuthorFilesLines
2017-03-21Refactor 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> (cherry picked from commit 04e50e57819bdf40a2fd7abdd3fc7be798771e0b)
2017-03-16Implement 'show' command.Taseer7-3/+45
- Render the description via templates JIRA: QTIP-205 Change-Id: I10523f85f80350e901a4a701bb65ca4833f8ff7c Signed-off-by: Taseer Ahmed <taseer94@gmail.com> (cherry picked from commit bb5af4b9be1325b61c7f80e71c7d50892ae22956)
2017-03-11Implement '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> (cherry picked from commit 0bd051505c2851d61356e7c448d7802913ab785f)
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>
2016-11-18Merge changes from topics 'fix', 'cli'zhihui wu2-30/+35
* changes: Bugfix: Correct the path in setup and entry points Ansible related commands in its own module.
2016-11-17Merge "Need to go one level up to reach project/root directory for listing ↵Yujun Zhang1-1/+1
purposes."
2016-11-17Bugfix: Correct the path in setup and entry pointslinux_geek1-30/+6
JIRA: QTIP-154 Change-Id: I00320818e2d2e633c901b126775cbeb5a721f6fd Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-11-17Ansible related commands in its own module.linux_geek1-0/+29
JIRA: QTIP-154 JIRA: QTIP-150 Change-Id: I1bdd8d74d8978fd86ea659dae914f12874b6687d Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-11-16Merge "CLI-Installation Frame work."Yujun Zhang1-0/+54
2016-11-16CLI-Installation Frame work.linux_geek1-0/+54
JIRA: QTIP-151 Change-Id: I7ab5240e2d5b85bd98e6059717d20a812b466e4d Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-11-14Need to go one level up to reach project/root directory for listing purposes.linux_geek1-1/+1
JIRA: QTIP-154 Change-Id: Ia567a847beb86919ab7118bce54f0265d587c9ac Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-11-13Rename command files.linux_geek3-0/+0
Change-Id: I5bae535e9c6c81903b91e08396a020f9a0b3132b Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-11-10Adjust folder structureYujun Zhang8-0/+210
Note: this patchset may break existing features, but it will help to accelerate the refactoring work. JIRA: QTIP-131 Change-Id: Ie0cd9d185e6b02316878daef905e26f4e533a66b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>