Sync enabled_provider_drivers config help message

Update the help message to match the same help message in octavia.conf.
Users were confused because the example was in Python dictionary format.

Change-Id: Ic3f620dcf02c756395da760f8b73874b40318cb6
This commit is contained in:
Carlos Goncalves 2019-07-25 19:31:52 +02:00
parent b6fb3d1993
commit decfc35aa8
1 changed files with 6 additions and 5 deletions

View File

@ -102,12 +102,13 @@ OctaviaGroup = [
'default RBAC tests. "owner_or_admin" runs the legacy ' 'default RBAC tests. "owner_or_admin" runs the legacy '
'owner or admin tests. "none" disables the RBAC tests.'), 'owner or admin tests. "none" disables the RBAC tests.'),
cfg.DictOpt('enabled_provider_drivers', cfg.DictOpt('enabled_provider_drivers',
help=('List of enabled provider drivers and description ' help=('A comma separated list of dictionaries of the '
'dictionaries. Must match the driver name in the ' 'enabled provider driver names and descriptions. '
'Must match the driver name in the '
'octavia.api.drivers entrypoint. Example: ' 'octavia.api.drivers entrypoint. Example: '
'{\'amphora\': \'The Octavia Amphora driver.\', ' 'amphora:The Octavia Amphora driver.,'
'\'octavia\': \'Deprecated alias of the Octavia ' 'octavia:Deprecated alias of the Octavia '
'Amphora driver.\'}'), 'Amphora driver.'),
default={'amphora': 'The Octavia Amphora driver.', default={'amphora': 'The Octavia Amphora driver.',
'octavia': 'Deprecated alias of the Octavia Amphora ' 'octavia': 'Deprecated alias of the Octavia Amphora '
'driver.'}), 'driver.'}),