summaryrefslogtreecommitdiff
path: root/nova/notifications
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2019-04-04 15:39:08 +0100
committerStephen Finucane <sfinucan@redhat.com>2019-05-20 10:29:16 +0100
commit817dcc89a941fa4e16cc5fff5f08b85ea69bf3fc (patch)
treec3e9be4847844c143b96354ff2aaf84c3f5504e8 /nova/notifications
parent59784cfa6c44d1c330842593809f15c3de3fbad4 (diff)
downloadnova-817dcc89a941fa4e16cc5fff5f08b85ea69bf3fc.tar.gz
Remove cells code
Thankfully the bulk of this is neatly organized in a single directory and can be removed, now that the bulk of the references to it have been removed. The only complicated area is the tests, though effort has been taken to minimise the diff here wherever possible. Part of blueprint remove-cells-v1 Change-Id: Ib0e0b708c46e4330e51f8f8fdfbb02d45aaf0f44 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'nova/notifications')
-rw-r--r--nova/notifications/objects/base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/notifications/objects/base.py b/nova/notifications/objects/base.py
index 3753d50da6..18485d583f 100644
--- a/nova/notifications/objects/base.py
+++ b/nova/notifications/objects/base.py
@@ -172,6 +172,8 @@ class NotificationPublisher(NotificationObject):
# 2.2: New enum for source fields added
VERSION = '2.2'
+ # TODO(stephenfin): Remove 'nova-cells' from 'NotificationSourceField' enum
+ # when bumping this object to version 3.0
fields = {
'host': fields.StringField(nullable=False),
'source': fields.NotificationSourceField(nullable=False),