File tree Expand file tree Collapse file tree
quantumclient/quantum/v2_0/lb Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,11 +51,6 @@ def add_known_arguments(self, parser):
5151 '--admin-state-down' ,
5252 default = True , action = 'store_false' ,
5353 help = 'set admin state up to false' )
54- parser .add_argument (
55- '--delay' ,
56- required = True ,
57- help = 'the minimum time in seconds between regular connections '
58- 'of the member.' )
5954 parser .add_argument (
6055 '--expected-codes' ,
6156 help = 'the list of HTTP status codes expected in '
@@ -68,6 +63,16 @@ def add_known_arguments(self, parser):
6863 '--http-method' ,
6964 help = 'the HTTP method used for requests by the monitor of type '
7065 'HTTP.' )
66+ parser .add_argument (
67+ '--url-path' ,
68+ help = 'the HTTP path used in the HTTP request used by the monitor'
69+ ' to test a member health. This must be a string '
70+ 'beginning with a / (forward slash)' )
71+ parser .add_argument (
72+ '--delay' ,
73+ required = True ,
74+ help = 'the minimum time in seconds between regular connections '
75+ 'of the member.' )
7176 parser .add_argument (
7277 '--max-retries' ,
7378 required = True ,
@@ -83,11 +88,6 @@ def add_known_arguments(self, parser):
8388 '--type' ,
8489 required = True ,
8590 help = 'one of predefined health monitor types, e.g. RoundRobin' )
86- parser .add_argument (
87- '--url-path' ,
88- help = 'the HTTP path used in the HTTP request used by the monitor'
89- ' to test a member health. This must be a string '
90- 'beginning with a / (forward slash)' )
9191
9292 def args2body (self , parsed_args ):
9393 body = {
Original file line number Diff line number Diff line change @@ -52,22 +52,22 @@ def add_known_arguments(self, parser):
5252 parser .add_argument (
5353 'pool_id' , metavar = 'pool' ,
5454 help = 'Pool id or name this vip belongs to' )
55- parser .add_argument (
56- '--address' ,
57- required = True ,
58- help = 'IP address of the pool member on the pool network. ' )
5955 parser .add_argument (
6056 '--admin-state-down' ,
6157 default = True , action = 'store_false' ,
6258 help = 'set admin state up to false' )
59+ parser .add_argument (
60+ '--weight' ,
61+ help = 'weight of pool member in the pool' )
62+ parser .add_argument (
63+ '--address' ,
64+ required = True ,
65+ help = 'IP address of the pool member on the pool network. ' )
6366 parser .add_argument (
6467 '--protocol-port' ,
6568 required = True ,
6669 help = 'port on which the pool member listens for requests or '
6770 'connections. ' )
68- parser .add_argument (
69- '--weight' ,
70- help = 'weight of pool member in the pool' )
7171
7272 def args2body (self , parsed_args ):
7373 _pool_id = quantumv20 .find_resourceid_by_name_or_id (
You can’t perform that action at this time.
0 commit comments