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
This commit is contained in:
gongysh 2018-03-13 18:08:36 +08:00
parent e3b3d7e50c
commit a325233647

View File

@ -14,6 +14,8 @@
# under the License. # under the License.
# #
from sys import stderr
from cliff import command from cliff import command
@ -23,6 +25,8 @@ class OpenStackCommand(command.Command):
api = None api = None
def run(self, parsed_args): 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: if not self.api:
return return
else: else: