From a32523364771d2ce91e3ae6dee09831f5bfb06e0 Mon Sep 17 00:00:00 2001 From: gongysh Date: Tue, 13 Mar 2018 18:08:36 +0800 Subject: [PATCH] Deperate tacker command lines Since openstack tacker plugins are almost done, it is time to deprecate the tacker command lines. test paste log http://paste.openstack.org/show/699593/ Closes-bug: #1755443 Change-Id: I0c233f5f3003a50a6b76d6729c4d228cbba182a7 --- tackerclient/common/command.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tackerclient/common/command.py b/tackerclient/common/command.py index 3d054074..f0ec0df1 100644 --- a/tackerclient/common/command.py +++ b/tackerclient/common/command.py @@ -14,6 +14,8 @@ # under the License. # +from sys import stderr + from cliff import command @@ -23,6 +25,8 @@ class OpenStackCommand(command.Command): api = None def run(self, parsed_args): + stderr.write("Deprecated: tacker command line is deprecated, " + "will be deleted after Rocky is released.\n") if not self.api: return else: