From b2c6a0126512cd8d641552ebd6e04939059bac8a Mon Sep 17 00:00:00 2001 From: gordon chung Date: Tue, 15 Sep 2015 09:21:34 -0400 Subject: [PATCH] deprecate cadf_only http dispatcher cadf_only functionality is designed to handle notifications generated by pycadf audit middleware. this functionality was moved to keystone and has been deprecated since kilo. additionally, liberty requirements for pycadf are restricted to versions which do not have middleware. Change-Id: I43af46af2f953f4d695f47e4595f9f085e62b55c Closes-Bug: #1465729 --- ceilometer/dispatcher/http.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ceilometer/dispatcher/http.py b/ceilometer/dispatcher/http.py index b9476514..f26c358a 100644 --- a/ceilometer/dispatcher/http.py +++ b/ceilometer/dispatcher/http.py @@ -36,8 +36,11 @@ http_dispatcher_opts = [ 'to same as Sample target.'), cfg.BoolOpt('cadf_only', default=False, + deprecated_for_removal=True, help='The flag that indicates if only cadf message should ' - 'be posted. If false, all meters will be posted.'), + 'be posted. If false, all meters will be posted. This is ' + 'deprecated in favor of keystonemiddleware\'s audit ' + 'middleware functionality'), cfg.IntOpt('timeout', default=5, help='The max time in seconds to wait for a request to '