publisher: mark messaging topic options deprecated

Change-Id: Id652abb5b059029eff2f6fa91bc966cbe6b9a546
This commit is contained in:
Julien Danjou 2018-08-24 17:10:41 +02:00
parent 469b83ed0e
commit 56063f3262
2 changed files with 8 additions and 0 deletions

View File

@ -41,11 +41,13 @@ NOTIFIER_OPTS = [
default='metering',
help='The topic that ceilometer uses for metering '
'notifications.',
deprecated_for_removal=True,
),
cfg.StrOpt('event_topic',
default='event',
help='The topic that ceilometer uses for event '
'notifications.',
deprecated_for_removal=True,
),
cfg.StrOpt('telemetry_driver',
default='messagingv2',

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
The notifier publisher options `metering_topic` and `event_topic` are
deprecated and will be removed. Use the `topic` query parameter in the
notifier publisher URL instead.