HAProxy uses milliseconds for its timeout values.

Match the cli docs to the reality of the implementation.

Closes-Bug: 1600326
Change-Id: I1aa1d5a9f66f4b7d0866ddb98265a6e46ac25a4c
This commit is contained in:
Jesse Proudman 2016-07-08 09:19:03 -07:00
parent 3832d5342f
commit 6ba4f31fbf

View File

@ -66,7 +66,8 @@ class CreateHealthMonitor(neutronV20.CreateCommand):
parser.add_argument( parser.add_argument(
'--delay', '--delay',
required=True, required=True,
help=_('The time in seconds between sending probes to members.')) help=_('The time in milliseconds between sending probes to '
'members.'))
parser.add_argument( parser.add_argument(
'--max-retries', '--max-retries',
required=True, required=True,
@ -75,8 +76,8 @@ class CreateHealthMonitor(neutronV20.CreateCommand):
parser.add_argument( parser.add_argument(
'--timeout', '--timeout',
required=True, required=True,
help=_('Maximum number of seconds for a monitor to wait for a ' help=_('Maximum number of milliseconds for a monitor to wait for '
'connection to be established before it times out. The ' 'a connection to be established before it times out. The '
'value must be less than the delay value.')) 'value must be less than the delay value.'))
parser.add_argument( parser.add_argument(
'--type', '--type',