Commit Graph

104 Commits

Author SHA1 Message Date
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
Yujun Zhang
f967bd6513 Add documentation for static datasource
Change-Id: I04a6d84b53ad58d72ca761e22d073ca941bd9689
2017-03-24 14:56:59 +08:00
Alexey Weyl
8f327e3662 support for not operator in templates condition
Change-Id: I434b1967ee0cb91b54ab93e680a2a11bab3f8c3e
2017-03-22 15:33:47 +00:00
Anna Reznikov
961fc9d52c snmp notifier support
Change-Id: I7717f9815b1791ca61f0c91d873f2f5a30bb11f8
2017-03-22 08:48:15 +00:00
dongwenjuan
6ec312f1ad make a supplementary of API document
Change-Id: I50736771bc05c0655d3ba197568eb0c515f907f8
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-03-21 14:38:38 +08:00
Alexey Weyl
e025a0acf7 fix for running nosetests locally on devstack
Change-Id: Icf6fa3352826fc6c3f826dfbdbacf10d60637037
2017-03-14 13:16:01 +00:00
Jenkins
e7d4e53613 Merge "Typo fix: Remove redundant quote mark" 2017-02-28 21:48:07 +00:00
Ifat Afek
0e0621bc5c Added manual installation documentation
Change-Id: I18e1b706dfa95614bafca8c2ed13d279befe46f9
2017-02-16 08:52:58 +00:00
Anh Tran
b8cd6311e6 Typo fix: Remove redundant quote mark
Change-Id: I82059975368007733de3087ea29903c5febb1881
2017-02-08 16:17:56 +07:00
Ifat Afek
180d557eb1 Updated Vitrage documentation and architecture diagram
Change-Id: If710046523d42cf904bf09254bfab9cb41fe03bf
Implements: blueprint support-inspector-sb-api
2017-01-17 09:06:23 +00:00
Alexey Weyl
aac14c51a2 rename internal vitrage properties
1. vitrage_sync_mode to vitrage_action_type
2. vitrage_sync_type to vitrage_entity_type

Change-Id: Icd60d8f6f6c5658449028bcec9688f61b8da7c62
2016-11-27 15:33:15 +02:00
Tovin Seven
e2b21d516d Beautify, correct URLs in documentation files
- Beautify, re-indent, format code in a lot of doc files
- Use relative URLs instead of absolute github URLs
- Some absolute github urls are not corrected yet:
    + URL for enabling vitrage in devstack
    + URL for enabling vitrage in horizon
- Update year number in doc/source/config.py from 2013 to 2016

My thought: We should have a blueprint
    to create more concise and easy to access like other project
    (nova: http://docs.openstack.org/developer/nova/).
    Currently, that site for vitrage has not existed yet.

Notes: Change github URLs to relative URLs
    (or absolute URLs in docs.openstack.org/developers)
    will not work correctly
    if we do not have official documentation site.
    Hence, other people cannot follow the link to html page
    if they read vitrage documentation in github mirror.

Change-Id: Ifff8355c7e5291f68a7592d1617644053d790d5e
2016-11-18 04:34:55 +00:00
Yujun Zhang
1cfa87f19d Fix warnings in PyCharm
Change-Id: I7e009ba19c5fc045f9bf61d6328a50c535b312f0
L52: Title length must match the title line
2016-11-14 15:47:55 +08:00
Jenkins
0f9d08adcf Merge "fix the parameter type of input and output" 2016-11-13 10:06:56 +00:00
Tovin Seven
985cc1838f Add notice to nagios devstack installation
Install devstack with vitrage before install nagios via omd
to avoid apache2 pid issue.

Reason:
    - omd manages apache2 by itself
    - horizon and keystone are sites of apache2
    - stop apache2 via service will fail beacause of omd

When using devstack, remember to stop omd apache2's sites

Change-Id: If8c1dd9dfcb5ff7819db10c1cfa3d67c021a2feb
Closes-Bug: #1629811
2016-11-08 08:34:03 +00:00
dongwenjuan
eab6a2ec8c fix the parameter type of input and output
Change-Id: Ie6dda854d808abddc7380610f5f1e157c520166e
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-11-07 13:08:54 +08:00
Alexey Weyl
4f06e3a515 Multi tenancy for topology, alarms and rca apis.
Change-Id: I2ce82e755d22784df1ddefabef738a27b7c2316f
2016-10-27 13:09:38 +03:00
Ifat Afek
07dcbc343c Fixed some diagrams
Change-Id: If921a275d156dde01fe5bc132125c4baf9f00a8b
2016-10-27 00:21:59 +00:00
Tovin Seven
7667274833 Add details to config nagios GUI, re-indent lines
TrivialFix

Change-Id: Idde311968da72db909ca5a91b1d847b63bbb949a
2016-10-20 10:25:56 +07:00
Tovin Seven
184d885eed Clarify zabbix with vitrage installation guide
- Add notice about docker image
- Add notice to install oslo.messaging, oslo.config
- Hint about default devstack rabbitmq username and password
- Correct the order of zabbix configure action
- Add url to create triggers in zabbix
- Add vitrage configuration section for zabbix
    + Data sources in vitrage.conf
    + Zabbix section in vitrage.conf
    + Mapping resource name and resource type in zabbix_conf.yaml

Change-Id: I1d1ffcdf1f8cbdd9c57e0f92eb08c866533e1517
2016-10-20 02:53:18 +00:00
dongwenjuan
d38d7ee159 fix the error URL in nagios-devstack-installation.rst
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>

Change-Id: I73da711568f7450c418b46b1786951dad98e8551
2016-10-13 16:23:07 +08:00
Jenkins
6eae7d0221 Merge "Correct installation file name stack -> stack.sh" 2016-10-05 06:30:43 +00:00
Tovin Seven
104c06f94c Correct installation file name stack -> stack.sh
TrivialFix

Change-Id: I60b920b3ef3812ae2e19909ebc37e9332e832072
2016-09-30 14:21:31 +07:00
Ifat Afek
5e05d161fb Documentation updates
Change-Id: I6729b73ab5fdcc07ebe37732ddaf0ed2d619af35
2016-09-29 09:21:27 +00:00
dongwenjuan
5142636240 fix some syntax error
Change-Id: Ic6902b9706786ad5f7137d9ba8652186b917f56a
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-09-07 16:23:48 +08:00
Alexey Weyl
f5da3a5cd3 add new datasource documentation
Change-Id: I993032d87e86622d9185274468bbaf64408043a7
2016-09-06 13:20:24 +03:00
Yujun Zhang
70c4f3307e Fix template validation status code reference.
Keep consistency with code

Change-Id: I006dd9f009dc0f1d609bc08ac2c55b3efcabf086
2016-09-01 14:03:16 +08:00
Jenkins
a177cc6a08 Merge "Fix typo in docs/notitier-aodh-plugin" 2016-08-22 13:06:45 +00:00
Yujun Zhang
fed08e1f2b Fix typo in docs/notitier-aodh-plugin
Change-Id: Id4e85d3d708a20f88c7fd1adc412871389bc330e
2016-08-22 14:34:47 +08:00
Jenkins
9fd04689d5 Merge "change api syntax for alarms list" 2016-08-21 22:06:09 +00:00
Jenkins
7853604ef3 Merge "template show api documentation" 2016-08-21 21:09:21 +00:00
Eyal
ce317f16b0 change api syntax for alarms list
change for 'alarms list' to 'alarm list'

Change-Id: Ieecec4a0f654a91f80c15a0fd1f0dae74b07de02
2016-08-21 09:13:52 +03:00
Jenkins
0394185caa Merge "mark down is used for host" 2016-08-12 06:39:07 +00:00
Jenkins
5e10f7c332 Merge "use name not id in template" 2016-08-12 05:46:40 +00:00
Jenkins
0213a374de Merge "Remove redundant method + Zabbix fix" 2016-08-11 12:13:50 +00:00
dongwenjuan
232c2fc6da mark down is used for host
When `action_type` is `mark down`, the target only can be a nova.host,
not instance

Change-Id: I8fdd6eca07b7bff9ed329c020ff6107635a43358
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-08-11 09:31:01 +08:00
dongwenjuan
0cbc5918ed use name not id in template
use `name` not `id` in template metadate section

Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>

Change-Id: I717a0ae790a2d23f2df21d6d3a8e89be98646d1a
2016-08-11 09:21:55 +08:00
Noam Bloom
59eecf30e7 Remove redundant method + Zabbix fix
1. Removed redundant method from drivers -
   get_update_method as it is accessible via
   configuration and there's no need for adding
   such a function.
2. Fixed zabbix get_all bug, zabbix alarms key is
   now comprised of the alarm's host name, raw text
   description and the trigger id.

Change-Id: I2f885a1f4e12f69db15a819b62359b3290054364
2016-08-10 13:59:31 +00:00
Yujun Zhang
7c1d07cfd2 Fix typo in template
The keyword is case-sensitive

Change-Id: I790ffe78823170c532f74be7dc3b71b4d62c3da9
2016-08-10 16:05:32 +08:00
Noam Bloom
6bc84c97f3 Datasource configurable update Method
Each datasource had a configurable field
update_method in the vitrage configuration file
where you can set it to update via:
none: don't update i.e. update only via the
periodic changes
pull: updates via polling the datasource every
configurable [changes_interval] seconds
push: updates via the datasource's push notifications

Change-Id: Iab884a357ae7235e137600c95b0a23052cdee064
Closes-Bug: #1606834
2016-08-07 12:02:27 +00:00
Noam Bloom
b5458fccb8 Zabbix to Vitrage notifications
Change-Id: Ifff3c49b3dd38e9196ac96bb45ae93477334e321
2016-07-27 08:53:57 +00:00
yudupi
7c769e6fa9 Typo commit fixed a spelling in the documentation
Change-Id: If9db5831b2e13ad4fa1646b8a622efcc387b2bf1
2016-07-12 12:42:18 -07:00
Idan Hefetz
827737278c Add mark-down action
Change-Id: I483e623989286a8059042dc6f2fff46dd99dc19a
2016-07-11 11:11:17 +00:00