10 Commits

Author SHA1 Message Date
Eyal
24300ee09e some exceptions refactoring
* rename the file from exc to exceptions
* move CommandException to exceptions and change it to CommandError
* use argparse required=True instead of checking in the code

Change-Id: I67450ff0acb317fa1ab3996a094e871023f5383f
2017-07-19 17:45:44 +03:00
Yujun Zhang
5fd2815577 Add option --profile to trigger profiling
Implements: blueprint osprofiler-support
Change-Id: Ia47981d6036b5425c880fc3daefb67389e99a5ec
2017-07-05 15:58:04 +08:00
Eyal
471cc55dcd add validation for topology and post event for cli
* check that limit is a positive number in 'vitrage topology show'
* check that time is an iso8601 timestamp in 'vitrage event post'
* add tests to check this

Change-Id: If5c4b26578f865c68709027b6e815376e4ee9e1e
2017-06-27 15:18:50 +03:00
Luong Anh Tuan
664905565f Make method import_versioned_module work
Update function import_versioned_module in Oslo.utils 3.17
This patch update to meet new version. For more information:
http://docs.openstack.org/developer/oslo.utils/history.html

Change-Id: I9c3ba7acc9b04e766ae4e55f817a5c876a0e8752
Closes-Bug: #1627313
2016-12-25 12:44:54 +00:00
Eyal
5a8dca2264 make the import more readable
Change-Id: I04abd35735838cce1a38ece7d6af2cf9590d20cf
2016-02-21 15:01:53 +02:00
Eyal
680457faa5 fix client to work
add default conversion for exceptions
move the default headers
change the VersionInfo name

Change-Id: Icd74efdc32cd90e89f2321b0ec8da29d3555629a
Implements: blueprint vitrage-cli
2015-12-01 16:20:09 +02:00
Eyal
ae3935d7a5 add more api
added topology show and topology list

Implements: blueprint vitrage-cli
Change-Id: Id630e19c240fef95692260235e67e36b970120c6
2015-11-19 15:33:53 +02:00
Eyal
37dbb2051b add more boilerplate files
Implements: blueprint vitrage-cli
Change-Id: I1390ad4dfa40fcbddebaee628d8d928f5aa2bd49
2015-11-17 16:19:25 +02:00
Eyal
287aa41c50 add initial files for shell
Implements: blueprint vitrage-cli
Change-Id: I555152c53f4b27d95a215cea0fedf782daa446cf
2015-11-16 17:13:18 +02:00
Eyal
021c848fbd initial skeleton
Change-Id: I3739597ef0dacad87a9313db819ad7c5cb9558f9
2015-11-15 17:05:23 +02:00