From cdb0a8549091acae220a46200d1c858b2356fd52 Mon Sep 17 00:00:00 2001 From: liujingzte Date: Thu, 7 Jul 2016 15:33:44 +0800 Subject: [PATCH] Modify the help of connection-limit In lbaasv2,connection-limit belongs to listener instead of vip, and it limits the service with certain protocol,ip and port. So the older help is not suitable. help=_('The maximum number of connections per second allowed for ' 'the vip. Change-Id: Id48be6823c2c3466f59c79b5683366c254c89564 Closes-Bug: 1579312 --- neutronclient/neutron/v2_0/lb/v2/listener.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neutronclient/neutron/v2_0/lb/v2/listener.py b/neutronclient/neutron/v2_0/lb/v2/listener.py index 1adac97..481943e 100644 --- a/neutronclient/neutron/v2_0/lb/v2/listener.py +++ b/neutronclient/neutron/v2_0/lb/v2/listener.py @@ -45,7 +45,8 @@ def _add_common_args(parser): '--connection-limit', type=int, help=_('The maximum number of connections per second allowed for ' - 'the vip. Positive integer or -1 for unlimited (default).')) + 'the listener. Positive integer or -1 ' + 'for unlimited (default).')) parser.add_argument( '--default-pool', help=_('Default pool for the listener.'))