20 Commits

Author SHA1 Message Date
Prashanth Hari
6fbcfc794a Add goal_id, strategy_id and host_aggregate CLI options to audit
Add goal_id, strategy_id and host_aggregate CLI options to audit
so that an audit doesn't lose important information when an audit
template is deleted. Also, user can input a specific strategy to
accomplish a goal for an audit.

Partially-Implements: blueprint persistent-audit-parameters
Depends-On: I7b3eae4d0752a11208f5f92ee13ab1018d8521ad
Change-Id: Ied1da980f358343316ee726b0781188107bfba8d
2016-08-04 14:09:44 +00:00
Tomasz Kaczynski
7b55f92e11 Add scoring engine commands
Scoring Module is exposing information about scoring engines
through API. Additional commands make them available in CLI as well.

Partially-Implements: blueprint scoring-module
Change-Id: I6dae5617fdbd6917ce35741e62a2217e19dce510
Depends-On: I32168adeaf34fd12a731204c5b58fe68434ad087
2016-08-01 14:22:34 +00:00
Vladimir Ostroverkhov
918d2f0bbd Add support continuously-optimization
This patch set adds support for interval
field to python-watcherclient

Depends-On: I5f4ec97b2082c8a6b3ccebe36b2a343fa4a67d19
Implements: blueprint continuously-optimization

Change-Id: I1152c9c6d9379e250ba46adbc58789d8b13bfd5a
2016-07-12 07:20:28 +00:00
Edwin Zhai
bde259e38c Enable strategy parameter
Print strategy parameter spec and add new cmd line for parameters
input

Partially-implements: optimization-threshold

Change-Id: If2b8976c6d504754d9db46bb77d3c4ce04b1e2cf
2016-07-07 11:14:56 +02:00
digambar
75dd8dc561 Fix field type to audit_type
There's a number of places where a field of an object is named "type",
which isn't good thing. Actually type is keyword in python, so wherever
I found type used in models/api/object/test, I have fixed it to
audit_type in the audit files

Change-Id: Ic09458b455820787f5483e48aed940a2196b297e
Closes-Bug: #1533392
2016-07-06 21:55:53 +05:30
Edwin Zhai
f9fb0875e0 Revert "Add support continuously-optimization"
This reverts commit 888a58fd2a62628d970e7088d4f74e4642bacc17.
Will restore it once related changes in watcher get merged.

Change-Id: Icdde1678598867c5e1ce68c8bd4c189f7a37bedc
Closes-Bug: #1595368
2016-06-23 02:36:39 +00:00
Vladimir Ostroverkhov
d36d835d08 Replaced UUID of goal with name
This patch updated the CLI to display the name of the goal
associated to an strategy (instead UUID).
Related-Bug: #1590416.

Change-Id: Ia8bd0c18d63461da2336a690364f034d0f7f2343
2016-06-20 11:24:34 +03:00
Jenkins
20931e2ce7 Merge "Updated CLI to display efficacy related fields" 2016-06-15 08:59:32 +00:00
Jenkins
fb84ae9b25 Merge "Add support continuously-optimization" 2016-06-13 12:05:08 +00:00
Vincent Francoise
f9aac4fc9f Updated CLI to display efficacy related fields
In this changeset, I updated the CLI as followed:

- The 'efficacy_specification' field is now shown by the
  'goal list --detail' and the 'goal show <goal>' subcommands.
- Both the 'global_efficacy' and the 'efficacy_indicators' fields
  are now displayed when issuing 'actionplan list --detail' or
  'actionplan show <action_plan_uuid>'.

Change-Id: I47462d0af92318773ec9284828180b62166ca936
Partially-Implements: blueprint efficacy-indicator
2016-06-08 15:03:17 +02:00
Vladimir Ostroverkhov
888a58fd2a Add support continuously-optimization
This patch set adds support for period
field to python-watcherclient

Change-Id: I777429f9d2d596bea506664e8614da7e78a31904
Implements: blueprint continuously-optimization
2016-05-27 18:29:21 +03:00
Vincent Francoise
bc572e70dc Replaced UUID of goal and strategy with name
In this changeset, I updated the CLI to now display the names of
the goal and strategy associated to an audit template
(instead of their UUIDs).

Change-Id: I57e83f23ed2240048d8ef07a629aec6ef13970e8
Closes-Bug: #1573582
2016-05-26 12:54:39 +02:00
Vincent Francoise
cbc578998a Tidy up
In this changeset, I do some tidy up so I can later on make it
easier to refactor the lot.

Partially Implements: blueprint openstackclient-plugin

Change-Id: I566101fb951b9489481a3e6c1a4008c80b14f6fd
2016-05-24 15:45:12 +02:00
Vincent Francoise
d2c22f0353 Support for refactored /audit_templates endpoint
In this changeset, I updated the Watcher CLI to support the new
goal_uuid and strategy_uuid fields that were introduced.

Partially Implements: blueprint get-goal-from-strategy

Change-Id: I27b239361dd7df7e18d996e31da64d9477d172cc
2016-05-12 12:02:05 +00:00
Vincent Francoise
c5a5b7dad7 Added Strategy support in Watcher CLI
In this changeset, I add the support for the /strategies endpoint.

Partially Implements: blueprint get-goal-from-strategy

Change-Id: I63dbbaefee18e7ae6db180478aae89ac4c09d2cc
2016-05-12 12:01:41 +00:00
Vincent Francoise
e6ca4e54a7 Updated CLI for new /goals API
In this changeset I added the support for the refactored /goals API.

Partially Implements: blueprint get-goal-from-strategy

Change-Id: Idbf8ced7ad9fbe6246e27791890e9b6a3ec0dc9c
2016-05-12 10:03:20 +00:00
Larry Rensing
f306a61ece Removed unused 'alarm' field
The 'alarm' field is currently unused, so it has been removed.

Change-Id: I5262dbf65f730ef6974f76186f26e26e3b69a677
Closes-Bug: #1550261
2016-04-18 15:16:00 +00:00
David.T
eb0c70d332 Sync Action resource fields
In watcher blueprint watcher-add-actions-via-conf introduce
updates of Action object. We have to synchronize watcherclient
to be able to display correctly action resource fields on console.

Change-Id: I1ace65ab85ed4422d9c8cd2846cc73d0a0b51e4d
Implements: blueprint watcher-add-actions-via-conf
2016-01-13 10:49:28 +00:00
David.T
7523cbb2bc bug and requirements fixes
Change-Id: Ibf3c8f06ce09574bc1b0e99564882513f981be91
2015-10-23 14:53:03 +02:00
David TARDIVEL
3957331e52 push initial version
Change-Id: Ifecc2c7dd6bd859ba6ef327fddd891982382df3b
2015-06-04 14:59:34 +02:00