Merge "Document how to disable notifications" into stable/queens

This commit is contained in:
Zuul 2018-04-19 12:44:35 +00:00 committed by Gerrit Code Review
commit c9f641b23a
2 changed files with 12 additions and 1 deletions

View File

@ -29,6 +29,14 @@ following::
"payload": <json serialized dict, defined by the sender>
}
Notifications can be completely disabled by setting the following in
your nova configuration file:
.. code-block:: ini
[oslo_messaging_notifications]
driver = noop
There are two types of notifications in Nova: legacy notifications which have
an unversioned payload and newer notifications which have a versioned payload.

View File

@ -94,7 +94,10 @@ Specifies which notification format shall be used by nova.
The default value is fine for most deployments and rarely needs to be changed.
This value can be set to 'versioned' once the infrastructure moves closer to
consuming the newer format of notifications. After this occurs, this option
will be removed (possibly in the "P" release).
will be removed.
Note that notifications can be completely disabled by setting ``driver=noop``
in the ``[oslo_messaging_notifications]`` group.
Possible values:
* unversioned: Only the legacy unversioned notifications are emitted.