python-octaviaclient/octaviaclient
Michael Johnson b5397ea3e4 Fix long CLI error messages
The python-octaviaclient plugin was using "choices" for validating
port numbers and weights. The cliff "choices" parameter will output
an error that includes every valid "choice". For port numbers, this
is 65,000+ valid options.
This patch changes this to produce a more user friendly error
message.

This patch also fixes the listener protocol-port type validation.

Change-Id: I4cb32bcc4681bd99f178d31547af37a7c582d210
Story: 2007218
Task: 38470
(cherry picked from commit cc3e82d5de)
2020-02-06 10:23:40 -08:00
..
api Wrap several show api calls with correct_return_codes 2019-09-13 19:05:57 +00:00
hacking Fix coverage and set a minimum 2019-01-10 16:06:52 -08:00
osc Fix long CLI error messages 2020-02-06 10:23:40 -08:00
tests Fix long CLI error messages 2020-02-06 10:23:40 -08:00
__init__.py Version name correction to allow installing 2017-04-28 22:29:43 +09:00