rename internal vitrage properties

1. vitrage_sync_mode to vitrage_action_type
2. vitrage_sync_type to vitrage_entity_type

Change-Id: I19c73e439f03d9830364c611774d27648278b6c7
This commit is contained in:
Alexey Weyl 2016-11-27 10:49:58 +02:00
parent bd3e2ad400
commit 5e4a21661a

View File

@ -57,37 +57,37 @@ Data model impact
Nagios event will look like that: Nagios event will look like that:
+---------------+--------------------------------------+----------------------+ +-----------------------+--------------------------------------+----------------------+
| Field | Description | Examples | | Field | Description | Examples |
+===============+======================================+======================+ +=======================+======================================+======================+
| resource_name | name of Nagios host | - compute-0-0.local | | resource_name | name of Nagios host | - compute-0-0.local |
| | | - os-glance-00.local | | | | - os-glance-00.local |
| | | - ilo.node14 | | | | - ilo.node14 |
+---------------+--------------------------------------+----------------------+ +-----------------------+--------------------------------------+----------------------+
| resource_type | type of Nagios host | - nova.host | | resource_type | type of Nagios host | - nova.host |
| | | - nova.instance | | | | - nova.instance |
| | | - switch | | | | - switch |
+---------------+--------------------------------------+----------------------+ +-----------------------+--------------------------------------+----------------------+
| service | name of Nagios service (test) | - CPU load | | service | name of Nagios service (test) | - CPU load |
| | | - check_ceph_health | | | | - check_ceph_health |
+---------------+--------------------------------------+----------------------+ +-----------------------+--------------------------------------+----------------------+
| status | the status of the service | - OK | | status | the status of the service | - OK |
| | | - WARNING | | | | - WARNING |
| | | - CRITICAL | | | | - CRITICAL |
| | | - UNKNOWN | | | | - UNKNOWN |
+---------------+--------------------------------------+----------------------+ +-----------------------+--------------------------------------+----------------------+
| last_check | last time the service was checked | 2016-01-04 19:17:10 | | last_check | last time the service was checked | 2016-01-04 19:17:10 |
+---------------+--------------------------------------+----------------------+ +-----------------------+--------------------------------------+----------------------+
| duration | duration since the last status change| 1d 2h 55m 48s | | duration | duration since the last status change| 1d 2h 55m 48s |
+---------------+--------------------------------------+----------------------+ +-----------------------+--------------------------------------+----------------------+
| attempt | how many attempts were made | 1/3 | | attempt | how many attempts were made | 1/3 |
+---------------+--------------------------------------+----------------------+ +-----------------------+--------------------------------------+----------------------+
| status_info | additional information | OK - 15min load 1.66 | | status_info | additional information | OK - 15min load 1.66 |
| | | at 32 CPUs | | | | at 32 CPUs |
+---------------+--------------------------------------+----------------------+ +-----------------------+--------------------------------------+----------------------+
| sync_type | the source of information | nagios | | vitrage_entity_type | the source of information | nagios |
| | | (constant value) | | | | (constant value) |
+---------------+--------------------------------------+----------------------+ +-----------------------+--------------------------------------+----------------------+