From 6ba4f31fbf446a98af3d0cbfadf18e5cafc2236b Mon Sep 17 00:00:00 2001 From: Jesse Proudman Date: Fri, 8 Jul 2016 09:19:03 -0700 Subject: [PATCH] HAProxy uses milliseconds for its timeout values. Match the cli docs to the reality of the implementation. Closes-Bug: 1600326 Change-Id: I1aa1d5a9f66f4b7d0866ddb98265a6e46ac25a4c --- neutronclient/neutron/v2_0/lb/healthmonitor.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/neutronclient/neutron/v2_0/lb/healthmonitor.py b/neutronclient/neutron/v2_0/lb/healthmonitor.py index 6fea0a12a..c2bd70cc9 100644 --- a/neutronclient/neutron/v2_0/lb/healthmonitor.py +++ b/neutronclient/neutron/v2_0/lb/healthmonitor.py @@ -66,7 +66,8 @@ class CreateHealthMonitor(neutronV20.CreateCommand): parser.add_argument( '--delay', 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( '--max-retries', required=True, @@ -75,8 +76,8 @@ class CreateHealthMonitor(neutronV20.CreateCommand): parser.add_argument( '--timeout', required=True, - help=_('Maximum number of seconds for a monitor to wait for a ' - 'connection to be established before it times out. The ' + help=_('Maximum number of milliseconds for a monitor to wait for ' + 'a connection to be established before it times out. The ' 'value must be less than the delay value.')) parser.add_argument( '--type',