b5397ea3e4
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
|
||
---|---|---|
.. | ||
api | ||
hacking | ||
osc | ||
tests | ||
__init__.py |