Remove deprecated 'host' option for cinder-volume

The cinder-volume command has a 'host' option that has been
deprecated for over 3 years. This finally removes it.

Not including release note as this is old code and this command
isn't really something an end user would likey care about. Mentioning
it in a release note may just cause confusion at this point.

Change-Id: I70f6876ff36e63d572e587cd3cb00b70cf434ca4
This commit is contained in:
Sean McGinnis 2017-03-24 08:05:57 -05:00
parent ce775446ce
commit 725510b87e
1 changed files with 1 additions and 3 deletions

View File

@ -54,9 +54,7 @@ from cinder import version
CONF = cfg.CONF
deprecated_host_opt = cfg.DeprecatedOpt('host')
host_opt = cfg.StrOpt('backend_host', help='Backend override of host value.',
deprecated_opts=[deprecated_host_opt])
host_opt = cfg.StrOpt('backend_host', help='Backend override of host value.')
CONF.register_cli_opt(host_opt)
# TODO(geguileo): Once we complete the work on A-A update the option's help.