Remove snapshot.update events as they are not sent

snapshot.update events are not emitted by cinder. So we
dont really need this code until cinder emits this
topic

Change-Id: Ie438642d072237f5c7e1d6741a1cbb2f2b55ddb1
Closes-bug: #1449104
This commit is contained in:
Pradeep Kilambi 2015-05-11 18:02:10 -04:00
parent 6405e63c2c
commit 254c0d549d
2 changed files with 0 additions and 25 deletions

View File

@ -195,22 +195,6 @@ NOTIFICATION_SNAPSHOT_DELETE_END = {
"payload": SNAPSHOT_META,
"timestamp": NOW}
NOTIFICATION_SNAPSHOT_UPDATE_START = {
"message_id": "1d2944f9-f8e9-4b2b-8df1-465f759a63e8",
"publisher_id": "snapshots.example.com",
"event_type": "snapshot.update.start",
"priority": "info",
"payload": SNAPSHOT_META,
"timestamp": NOW}
NOTIFICATION_SNAPSHOT_UPDATE_END = {
"message_id": "1d2944f9-f8e9-4b2b-8df1-465f759a63e8",
"publisher_id": "snapshots.example.com",
"event_type": "snapshot.update.end",
"priority": "info",
"payload": SNAPSHOT_META,
"timestamp": NOW}
class TestNotifications(base.BaseTestCase):
@ -349,21 +333,13 @@ class TestSnapshotNotifications(TestNotifications):
NOTIFICATION_SNAPSHOT_DELETE_START, 'snapshot.delete.start')
self._check_crud(
NOTIFICATION_SNAPSHOT_DELETE_END, 'snapshot.delete.end')
self._check_crud(
NOTIFICATION_SNAPSHOT_UPDATE_START, 'snapshot.update.start')
self._check_crud(
NOTIFICATION_SNAPSHOT_UPDATE_END, 'snapshot.update.end')
self._check(NOTIFICATION_SNAPSHOT_EXISTS)
self._check(NOTIFICATION_SNAPSHOT_CREATE_START)
self._check(NOTIFICATION_SNAPSHOT_CREATE_END)
self._check(NOTIFICATION_SNAPSHOT_DELETE_START)
self._check(NOTIFICATION_SNAPSHOT_DELETE_END)
self._check(NOTIFICATION_SNAPSHOT_UPDATE_START)
self._check(NOTIFICATION_SNAPSHOT_UPDATE_END)
self._check_size(NOTIFICATION_SNAPSHOT_EXISTS)
self._check_size(NOTIFICATION_SNAPSHOT_CREATE_START)
self._check_size(NOTIFICATION_SNAPSHOT_CREATE_END)
self._check_size(NOTIFICATION_SNAPSHOT_DELETE_START)
self._check_size(NOTIFICATION_SNAPSHOT_DELETE_END)
self._check_size(NOTIFICATION_SNAPSHOT_UPDATE_START)
self._check_size(NOTIFICATION_SNAPSHOT_UPDATE_END)

View File

@ -107,7 +107,6 @@ class SnapshotCRUDBase(VolumeBase):
'snapshot.exists',
'snapshot.create.*',
'snapshot.delete.*',
'snapshot.update.*'
]