146 Commits

Author SHA1 Message Date
Ifat Afek
fc9f3edc3a Added a version to Vitrage templates
Added a new "version" field to the metadata section of Vitrage templates, in order to support future enhancements that are not backward-compatible. The default version is 1.
Version 2 will be added in anther change (with execute-mistral changes), together with a mechanism for running the correct validator and loader per-version.

Change-Id: I25a7bf50a2ab7277f5bbdc551bf676c62dfd6fdc
Implements: blueprint refactor-execute-mistral-definition
2017-12-03 10:07:17 +00:00
guoshuaijie
7e76cbbe9b correct the installation procedure
Change-Id: I73c76efb92cdb381808d429a87d56161eb7b97a8
2017-11-29 17:08:30 +08:00
Eyal
8600b13d2a add note to doc
Change-Id: I34abe2dfb9154d7a64839c9e06fb9cd7c43a9f47
2017-11-28 07:28:15 +00:00
Eyal
9e8b16f0f8 fix api doc
Change-Id: Ic7f17039e4037cca3a8f9b28aa8ec6faa7224291
2017-11-27 13:55:25 +02:00
Zuul
e525801ff5 Merge "Register default policies in code" 2017-11-20 03:24:06 +00:00
Eyal
2a859d6a86 fic api doc
Change-Id: Ic875a9c6cb8de4593e920d254becf06d9a6cbb01
2017-11-15 15:45:16 +02:00
Eyal
4dd2a0dfba fix py charm warnings and doc
fix trust id although not used
fix api doc

Change-Id: I7f6b25617be16de4391499c402d2831057390e1c
2017-11-14 07:47:42 +00:00
Lance Bragstad
d3ae72dd00 Register default policies in code
This commit attempts to move default policies from a policy.json
file into oslo.policy objects. This is an effort to make policy
easier to maintain for operators and is a community-wide goal for
the Queens release.

For more information on this initiative, please see:

  https://governance.openstack.org/tc/goals/queens/policy-in-code.html

Co-authored-By: Hieu LE <hieulq@vn.fujitsu.com>
bp policy-and-docs-in-code

Change-Id: I8ce4fc45447b41930736d6fcf85e6d35cfbe9d56
2017-11-12 09:30:12 +00:00
Eyal
0b7c37fbe0 fix documentation
we use '==' not '=' in query
depth instead of limit

Change-Id: Iac056ddd580ca008e141f2a3f517bcebdea3748c
2017-11-08 10:43:45 +02:00
Niv Oppenhaim
c4afc57ffc Added support and documentation for regular expressions in template entity definitions
Implements: blueprint entity-regex-definition

Change-Id: I5ac81912a88d9a38dc08b23d93e79042f0c62200
2017-10-26 12:01:38 +00:00
Yujun Zhang
53fc5657d1 cardinality_for should be be chosen from source/target
It is easier to implement and understand to use key instead of value

Change-Id: If33f5c316393c48a0555a0fd1c92bd0ccf13f7a2
2017-10-17 10:50:09 +08:00
Jenkins
31606acdf9 Merge "Documentation for template configuration" 2017-09-10 08:48:22 +00:00
Jenkins
50f0e4416f Merge "machine learning rst" 2017-09-07 16:06:27 +00:00
Eyal
34e9e3cc16 misc typo and docstring fix
Change-Id: I80819413759b4ffdda75a87beddc5dab1adc6bd3
2017-09-05 11:34:33 +03:00
rajat29
b50f2b69e3 Removes unnecessary utf-8 encoding
This patches removes unnecessary utf-8 encoding in doc/source/conf.py

Change-Id: Ia07e73dd4b5945e44454e1dcbf0e90f87f430d90
2017-08-29 15:16:39 +05:30
Anna
a9966a5d46 machine learning rst
Change-Id: I0eb7f709ac5f44c40b34271def2bf5a69283d48e
2017-08-28 13:35:33 +00:00
Niv Oppenhaim
dfd9c3168d Documentation for template configuration
Change-Id: Ic9fff2af0cc32b0d640c37808a3b74feee607d57
2017-08-21 08:29:19 +00:00
Ifat Afek
074ea94471 Update Vitrage architecture diagram
Added Vitrage Machine Learning and the notifications to Mistral

Change-Id: I127097546d649ff6ceff939432a6acbac5f2a0f8
2017-08-16 07:39:13 +00:00
Jenkins
555ec3d8b0 Merge "Update profiler configuration with redis backend" 2017-08-16 06:08:31 +00:00
Yujun Zhang
4ade92d95f Update profiler configuration with redis backend
Change-Id: If961adee875699c5cb07f90951064b9701c52642
2017-08-14 14:37:30 +08:00
Jenkins
e8217d87cf Merge "Implements alarm counts API" 2017-08-14 06:37:15 +00:00
Ifat Afek
d015afde1e Support the integration with Mistral
This change contains the code without the tempest test. I will push the tempest test in a different change.

Implements: blueprint integration-with-mistral
Change-Id: Ie892482f1dede7487fbd690aff85febb17d17462
2017-08-08 19:41:45 +00:00
Jenkins
37c837687f Merge "Missing starting command for vitrage-collector" 2017-08-08 07:05:17 +00:00
Yujun Zhang
b6e4b293fd Missing starting command for vitrage-collector
Change-Id: I3970727500df4475db0d3f58bc613a9c1d729db0
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-08 10:57:44 +08:00
Ifat Afek
fa1db5ecc5 Auto-generate Vitrage config options
Change-Id: I44704211bef51d8269a5edcf30b57a2c06638262
2017-08-07 12:09:53 +00:00
Tyler Smith
17b0322679 Implements alarm counts API
This change is to introduce a new rest api (v1/alarm/count) to
vitrage to provide counts of any alarms present in the system.
- It can optionally provide counts of alarms for all_tenants
  similarly to the alarm api
- The rest api doc has been updated
- Unit test were added to test the api with and without
  all_tenants as well as noauth

Change-Id: I6061b63c068580dcd25df5c624d9b3bd88f30cca
Implements: blueprint alarm-counts-api
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
2017-08-03 13:50:41 -04:00
Eyal
ceb8d85d78 add keycloak configuration doc
Change-Id: I920b6b85183720e7a5437415edb80d5f074679b2
2017-08-03 15:36:13 +03:00
Ifat Afek
b27a29fde3 Some documentation changes
- Added missing documentation of Nova notifier
- Moved osprofiler doc under contributor folder
- Marked the static-physical datasource as obsolete
- Removed a link to Aodh notifier (the document was deleted, as it was just a POC)

Depends-On: Ifcde995130486c859e6a9ce23e47a89910187732
Change-Id: Ib2b7880d65d4c6edd7cfd1f831da9da7af5e114c
2017-07-30 11:58:32 +00:00
Ifat Afek
5d40367bef Doc Migration: move the developer guide documents under the "contributor" folder
Changed files:
- index.rst
- contributor/index.rst
- installation-and-configuration - split to devstack-installation.rst and configuration.rst

Change-Id: I4683a213e2a530d2088c4f232b9c2508fc25ba68
2017-07-27 07:05:18 +00:00
Jenkins
465f5f6e6f Merge "Add document about how configure and use profiler in vitrage" 2017-07-25 14:10:57 +00:00
Yujun Zhang
9b9e53d0a6 Add document about how configure and use profiler in vitrage
Change-Id: I9e14d3846ac97412a2811f363b343d920d944b93
Implements: blueprint osprofiler-support
2017-07-25 14:55:36 +08:00
Jenkins
a54d1425b8 Merge "Create a folder for the contributor docs" 2017-07-25 01:28:05 +00:00
Ifat Afek
9d3c811176 Create a folder for the contributor docs
Change-Id: Ia16492a19db1b46921d31e960c4ffb799b456f29
2017-07-24 15:11:35 +00:00
Ifat Afek
df289c2933 Add template validations, to handle the case of actions that don't have an action_target
Two new validations are added:
1. A condition can not be only "negative". For example, instead of: "not alarm_on_instance" one should use "instance and not_alarm_on_instance"
2. There should be an entity that is common to all parts of an "or" condition.  For example, this is illegal: "alarm1_on_host or alarm2_on_instance"

Change-Id: I209155ade48ba740642670891c11aeef0868197c
Implements: blueprint support-external-actions
2017-07-24 13:28:57 +00:00
Jenkins
98806ade0d Merge "Aligning install guide with the Pike doc structure" 2017-07-05 11:33:51 +00:00
Ifat Afek
5057c96f5e Introduce the execute-mistral action. This patch includes validating the action, and converting it to a general-purpose ExecuteExternal step.
The following will be done in the *next* patches:

* Implementation of the ExternalExecute step
* Implementation of the Mistral notifier
* Documentation of the new action

Change-Id: I571861149e51bca85cb024969b8595ae85655b25
Implements: blueprint integration-with-mistral
2017-07-03 12:53:25 +00:00
csatari
c9ea8ea4a1 Aligning install guide with the Pike doc structure
In Pike OpenStack documentation is changed in a way that the project repos
contain most of the documentation material [1]. This affcects how the doc
folder shall be strucutred inside the project repo. With this change I
align the install guide to the new structure and correct the warnings
during the document generation. The overall work is tracked in [2].

[1]: http://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html
[2]: https://etherpad.openstack.org/p/doc-migration-tracking

Change-Id: Ib5400247d2ba5f8dac80ef68a43d06868bd42f1c
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
Signed-off-by: csatari <gergely.csatari@nokia.com>
2017-07-03 13:22:52 +02:00
Ifat Afek
cffda41a10 Describe the Vitrage HA and history vision.
I wrote it here and not as a blueprint, since it is a very wide scope and several blueprints can be created in the future for supporting this vision.

Change-Id: I9d32d7e2a45a146c5923604b0591f8a7d609f616
2017-06-14 11:45:42 +03:00
Alexey Weyl
3b1de001ec Vertex Properties refactoring
Rename vitrage properties to start with the vitrage prefix
so it will be easier work with and to recognize.

Change-Id: Ia8afaa1a13897927984a9c8d8d9b85343ef69c01
2017-06-12 09:34:38 +00:00
Jenkins
3a5045a1fd Merge "Add links to design documents" 2017-06-11 11:34:27 +00:00
Ifat Afek
a0ce352658 Add links to design documents
Change-Id: I0880c3fc49b274df99587a2a5b88b5458f4ca422
2017-06-07 14:49:22 +03:00
wingwj
6ab76a516a Fix a broken link in the installation doc
Fix a broken link for 'Vitrage-dashboard manual installation'
in the vitrage installation doc.

Change-Id: I5aa224db7c0e2adae51708fcac464ea82942a4c7
Closes-Bug: #1696055
2017-06-06 14:57:21 +08:00
Yujun Zhang
2cb1fafe2b Add support for building equivalent scenario
TemplateData is refactored to make it possible

- split SubGraph and ScenarioData from TemplateData
- build entity index and relationship index in TemplateData
- delay variable extraction to subgraph build
- simplify the process of adding scenario to repository

Implement: blueprint entity-equivalence
Change-Id: I7192e3a82880dc3c3995000c029af4e0aabd8d6c
2017-06-04 18:11:24 +08:00
Yujun Zhang
86691304c8 Add document about implementation details of template loading
- add strict tests in template data verification to help understand
- add traceback in scenario evaluator design document
- rename example templates with a more meaningful name

Change-Id: Ie5a9c34fcd6fdac3bf9d4552a0c92fb569c075fc
2017-05-17 15:57:45 +08:00
Jenkins
61720c68e9 Merge "Minor fixes in the static datasource documentation" 2017-05-15 06:39:41 +00:00
Ifat Afek
3be6a0187b Updated the Vitrage architecture diagram
Change-Id: Ib03a69805b14388c9acf03856ca96d5dd2be2b7e
2017-04-25 15:21:56 +00:00
dongwenjuan
a7c7be7936 add the resource related APIs' description
Change-Id: If279db45e6cf929bffadc43fbdc907c631effc01
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-04-25 09:55:03 +08:00
Ifat Afek
b242baccc3 Minor fixes in the static datasource documentation
Change-Id: Id27759fc74ae9287368ae677c7761d8aa006a319
2017-04-13 12:53:12 +00:00
Jenkins
cf2620d1ae Merge "make a supplementary of API document" 2017-03-29 08:34:12 +00:00
Jenkins
697067e425 Merge "snmp notifier support" 2017-03-29 07:35:00 +00:00