7 Commits

Author SHA1 Message Date
Alessio Ababilov
c9fc9b5b8f Make ManagerWithFind abstract and fix its descendants
ManagerWithFind requires list() method in its descendants.
Make it abstract and fix its improper descendants that do
not implement list() (SecurityGroupRuleManager and many others).

Fixes: bug #1180393
Change-Id: Ic8b466a57554018092c31c6d6b3ea62f181d7000
2013-05-15 21:47:05 +03:00
gtt116
dccdd02e48 Cleanup unused import
Change-Id: Id7d110110f238077630c9b9ee4d643654844dd3e
2013-04-17 13:51:37 +00:00
Mitsuhiko Yamazaki
328805f2bb Add coverage-reset command to reset Nova coverage data.
Add a new command coverage-reset to enable users to reset
coverage data.
This also adds unit tests on coverage-reset command.

Fixes bug: 1164331

Change-Id: I101e38165206224927d8ce32c8663a8d9403450b
2013-04-10 19:04:26 +09:00
Kurt Taylor
20ede68ede Fix IBM copyright strings
Update IBM copyright strings to one consistant format

Change-Id: Iabd059132cc3092b6dbbaa6c1f19fb93acee0a30
2013-04-02 18:37:27 -04:00
Mitsuhiko Yamazaki
cda7f7a505 Fix default format of 'nova coverage-report'
'nova coverage-report' returns an error because nova server returns
error if the format is HTML and combine is False.
And 'nova coverage-start' and 'nova coverage-report' do it now.

After applying this patch, we can avoid this problem and text format
report is created when we use 'nova coverage-report'

Fixes bug 1110972

Change-Id: Ib3d05453de638157152a50ea814e44e6cbc19348
2013-02-01 12:57:15 +09:00
Matthew Treinish
6f580661f6 Update functionality of coverage extension.
Change If1aa25fc7237e9bb5100d2a4a8e560f0a68eba61 adds additional
functionality to the coverage extension. Mainly returning the
data file path for the 'stop' action and adding support for
generating html reports. This commit adds support for this new
functionality.

Change-Id: Icd147350d5c038f6b9c8063e77a75370eb8422e9
2013-01-14 10:27:06 -05:00
Matthew Treinish
c59de35be2 Add support for the coverage extension.
This adds support for the coverage extension and also adds 3
CLI commands to interact with coverage:

nova coverage-start

nova coverage-stop

nova coverage-report

'nova coverage-report' has a required '--filename' argument
which gives the filename for the generated report files.

Change-Id: I9cb002b0e32cfe5572878d2c8436270663c0ae96
2012-12-19 10:08:34 -05:00