neutron/releasenotes/notes/agent-notification-signature-status-6a9b9dbce9cb9740.yaml
Bence Romsics 8bd5ecd4fc notification: Add 'status' to agent after_create/update
Make the same status information available to notification consumers
(resource==agent, event==after_create/after_update) as it was already
available where the notification is sent in class AgentDbMixin.

Change-Id: Ie74091da934c7e49fd29ae4c6f930a7eb47e14b2
Partial-Bug: #1578989
See-Also: https://review.openstack.org/502306 (nova spec)
See-Also: https://review.openstack.org/508149 (neutron spec)
2018-10-25 15:34:06 +02:00

13 lines
612 B
YAML

---
deprecations:
- |
The signature of notifications for resource ``agent`` for events
``after_create`` and ``after_update`` was extended. A new keyword
argument was added: ``status``. This is to make the same status
information available to notification consumers as it was available
already where the notification is sent in class ``AgentDbMixin``.
Valid status values are defined in ``neutron_lib.agent.constants``.
Consuming notifications by the old signature is deprecated. Unless
processing arguments as ``**kwargs``, out-of-tree notification
consumers need to adapt.