summaryrefslogtreecommitdiff
path: root/nova/tests/unit/notifications
diff options
context:
space:
mode:
authorYikun Jiang <yikunkero@gmail.com>2018-04-21 16:45:19 +0800
committerYikun Jiang <yikunkero@gmail.com>2018-07-12 10:00:05 +0800
commitc67ab38ea0816bc1f3dcdda845217bff18588c42 (patch)
tree11db171bce66b2feda36ebf493e6927aeec5ba68 /nova/tests/unit/notifications
parent8fa70e5dfc73e52d52c94ec2781ff185fdcca481 (diff)
downloadnova-c67ab38ea0816bc1f3dcdda845217bff18588c42.tar.gz
Add policy field to ServerGroup notification object
In this patch, the ServerGroupPayload is updated to include the new ``policy`` field; the ``policies`` field is deprecated for removal but still put into the notification payload for backward compatibility. Related to blueprint complex-anti-affinity-policies Change-Id: Ie739ee8dec4685cd70e735ff83f7f30bc7e95a57
Diffstat (limited to 'nova/tests/unit/notifications')
-rw-r--r--nova/tests/unit/notifications/objects/test_notification.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/unit/notifications/objects/test_notification.py b/nova/tests/unit/notifications/objects/test_notification.py
index 26a890f759..905e6a2f01 100644
--- a/nova/tests/unit/notifications/objects/test_notification.py
+++ b/nova/tests/unit/notifications/objects/test_notification.py
@@ -405,7 +405,7 @@ notification_object_data = {
'KeypairPayload': '1.0-6daebbbde0e1bf35c1556b1ecd9385c1',
'NotificationPublisher': '2.2-b6ad48126247e10b46b6b0240e52e614',
'ServerGroupNotification': '1.0-a73147b93b520ff0061865849d3dfa56',
- 'ServerGroupPayload': '1.0-eb4bd1738b4670cfe1b7c30344c143c3',
+ 'ServerGroupPayload': '1.1-4ded2997ea1b07038f7af33ef5c45f7f',
'ServiceStatusNotification': '1.0-a73147b93b520ff0061865849d3dfa56',
'ServiceStatusPayload': '1.1-7b6856bd879db7f3ecbcd0ca9f35f92f',
}