168 Commits

Author SHA1 Message Date
zhangzs
6530b2e014 Fix spelling error
Change-Id: I1fa977a40b9fffca84c3b7f9f142df08f167e172
2018-02-06 15:12:05 +08:00
Ifat Afek
fe7ecc172c Remove the static_physical datasource from the recommended 'types' list
We should deprecate the static_physical datasource in Rocky. In the
meantime, remove it from the 'types' list in the documentation.
Also removed nagios, which is still supported but was not tested for a
long time.

Change-Id: Ifa2d3f9b4af9be9ac02cc303acd6074f168a1462
2018-01-30 10:08:59 +00:00
Ifat Afek
9cf1751c1d Remove from the documentation references to /etc/vitrage/templates
Change-Id: I3bdb0a77573dd6ae77aba0b7e90fca839e741185
Implements: blueprint crud-templates
2018-01-25 11:16:49 +00:00
Zuul
ea6fd06820 Merge "Replace curly quotes with straight quotes" 2018-01-25 10:57:21 +00:00
gaofei
14c4b8bc71 Replace curly quotes with straight quotes
Curly quotes usually input from Chinese input method.
When read from english context, it makes some confusion.

Change-Id: I653631f5eb0d2024d7457d576d7dfd9b38543d20
2018-01-25 03:41:59 +00:00
OpenStack Proposal Bot
2a52f51282 Updated from global requirements
Change-Id: Ie8502ff4ae49696361de6dc0257d218641d900a0
2018-01-24 01:41:11 +00:00
idan kinory
d7a1488150 Add template delete and add to api description
Change-Id: I02fad5f271ffe73fa28ca0a28da1ecf674bb9a93
2018-01-23 21:05:42 +00:00
Ifat Afek
3f7b5a70e1 Add type property to the template metadata
In order to better support validation and loading of different template
types, a mandatory 'type' property was added to the metadata section
(in version 2)

Change-Id: Iebd3eae2db14266a1cfc9cdd11ad9ee24ab9ff4c
2018-01-23 09:26:43 +00:00
Zuul
8883c3f03b Merge "add support for webhooks" 2018-01-22 20:54:34 +00:00
Zuul
82d565edfb Merge "Modify SNMP parsing config file" 2018-01-22 16:55:57 +00:00
xupeipei
04adf8667d Modify SNMP parsing config file
also add guide of how to support processing snmp events 
in alarm datasources

Change-Id: I74bb1f292938b42a70de5b22377d646e30802120
Implements: blueprint snmp-support
Signed-off-by: xupeipei <xu.peipei1@zte.com.cn>
2018-01-22 11:03:20 +00:00
Niv Oppenhaim
274c5b71bf add support for webhooks
Implements: blueprint configurable-notifications
Change-Id: I0c808c5e44f9d6092d113bb277c8ab8cf0d69716
2018-01-22 10:15:40 +00:00
Ifat Afek
8a35b62a33 Update the documentation of Vitrage architecture in Queens
Change-Id: Iaeb3985a640645050b4e0223096d2b3cb1dea87a
2018-01-21 13:10:27 +00:00
OpenStack Proposal Bot
fc1f0f2c13 Updated from global requirements
Change-Id: I62ff13c3fc8becedc67a0b8cff848444f968d59b
2018-01-18 03:38:59 +00:00
Ifat Afek
20600dfae9 Support template functions
Support functions in version 2 of Vitrage templates. The first supported
function is get_attr(entity, attr_name), and it can be used only in
execute_mistral action.

Change-Id: I89ad0c7b7efcd07f1b49fc5603b0854d7f6730e6
Implements: blueprint refactor-execute-mistral-definition
2018-01-16 13:04:42 +00:00
Idan Hefetz
fe3d05cf80 Add alarm show to vitrage api documentation
Change-Id: Ica980c2b85761fd17b1c92bfd2d81d0d6d17cac9
2018-01-07 08:44:12 +00:00
Ifat Afek
4576523641 Support per-version template loading + change execute_mistral structure
This change contains refactoring of the template validation and loading,
in order to allow different validators and loaders for execute_mistral
action in versions 1 and 2.

* template_versions.py contains all supported versions, including their
  validators and loaders (and in the future - functions like get_attr())
* template_version_factory.py allows getting the right template version
  instance
* validators and loaders are retrieved only from the template-version
  instance, and are no longer created directly
* All content validators and loaders were moved under v1 and v2 packages

In addition, the structure of execute_mistral has changed, so now all
the input parameters of the workflow must reside under an 'input' section.

Change-Id: I8eebc79b0885eab9c013fafdc17ae8378c7bcedf
2018-01-01 09:59:07 +00:00
OpenStack Proposal Bot
9bcb70f3bc Updated from global requirements
Change-Id: I594d6676440c3189ae98dd23e715c0a34ace723f
2017-12-27 03:21:45 +00:00
Yujun Zhang
de26e6afde Update docs build job for new documentation PTI jobs
openstack infra use a new way for building documents[1]

[1]:See http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html for details

Change-Id: I8bdaa16706d0f4040b9c2e8ece639a59ffc52305
2017-12-20 14:19:51 +08:00
Zuul
307461c6f2 Merge "Update template validation status codes doc" 2017-12-17 13:49:33 +00:00
guoshuaijie
4d222edfd9 renew the installation document.
Change-Id: I164e71e80ca175806ff7059c713d265b1d94a9d4
2017-12-11 08:36:20 +08:00
Ifat Afek
87d5a2bccd Update template validation status codes doc
Update the documentation according to status_messages.py

Change-Id: Iac44437bb3b1a55e002c421cc72cdb6ddddbd057
2017-12-10 07:39:13 +00:00
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