nova-manage: Deprecate 'cell' commands

The Cells v1 feature is deprecated, meaning we can also deprecate the
respective commands in nova-manage. Do this.

Change-Id: I6db62a16272c74215944db164830515b774f5085
This commit is contained in:
Stephen Finucane 2017-08-23 17:06:53 +01:00
parent 5b35802244
commit dcef0aa666
2 changed files with 14 additions and 1 deletions

View File

@ -1028,7 +1028,13 @@ class GetLogCommands(object):
class CellCommands(object):
"""Commands for managing cells."""
"""Commands for managing cells v1 functionality."""
# TODO(stephenfin): Remove this when cells v1 is removed
description = ('DEPRECATED: The cell commands, which configure cells v1 '
'functionality, are deprecated as Cells v1 itself has '
'been deprecated. They will be removed in an upcoming '
'release.')
def _create_transport_hosts(self, username, password,
broker_hosts=None, hostname=None, port=None):

View File

@ -0,0 +1,7 @@
---
deprecations:
- |
The `nova-manage cell` command has been deprecated. This command
configures various aspects of the Cells v1 functionality. Cells v1 has
been deprecated, thus, this command is also deprecated. It will be removed
in its entirety when Cells v1 is removed.