Debian Codegraph @

releasenotes/notes/agent-notification-signature-status-6a9b9dbce9cb9740.yaml

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