Remove unused configuration options

Cleanup the deprecated configuration options, these options
are no longer used.

Change-Id: I4d475246b7ce12adbdbc4b7f65ce9aecd92c5fb5
This commit is contained in:
junboli 2017-12-13 22:49:35 +08:00
parent 6c2b74dd7c
commit 97cfb648c4
2 changed files with 1 additions and 32 deletions

View File

@ -114,12 +114,6 @@
-
* - ``backend_url`` = ``file://$state_path``
- (String) The back end URL to use for distributed coordination.
* - ``heartbeat`` = ``1.0``
- (Floating point) Number of seconds between heartbeats for distributed coordination.
* - ``initial_reconnect_backoff`` = ``0.1``
- (Floating point) Initial number of seconds to wait after failed reconnection.
* - ``max_reconnect_backoff`` = ``60.0``
- (Floating point) Maximum number of seconds between sequential reconnection retries.
* - **[healthcheck]**
-
* - ``backends`` =

View File

@ -32,32 +32,7 @@ LOG = log.getLogger(__name__)
coordination_opts = [
cfg.StrOpt('backend_url',
default='file://$state_path',
help='The back end URL to use for distributed coordination.'),
cfg.FloatOpt('heartbeat',
default=1.0,
help='Number of seconds between heartbeats for distributed '
'coordination. No longer used since distributed '
'coordination manages its heartbeat internally.',
deprecated_for_removal=True,
deprecated_reason='This option is no longer used.',
deprecated_since='5.0.0'),
cfg.FloatOpt('initial_reconnect_backoff',
default=0.1,
help='Initial number of seconds to wait after failed '
'reconnection. No longer used since distributed '
'coordination manages its heartbeat internally.',
deprecated_for_removal=True,
deprecated_reason='This option is no longer used.',
deprecated_since='5.0.0'),
cfg.FloatOpt('max_reconnect_backoff',
default=60.0,
help='Maximum number of seconds between sequential '
'reconnection retries. No longer used since '
'distributed coordination manages its heartbeat '
'internally.',
deprecated_for_removal=True,
deprecated_reason='This option is no longer used.',
deprecated_since='5.0.0'),
help='The back end URL to use for distributed coordination.')
]
CONF = cfg.CONF