python-octaviaclient/octaviaclient/osc
Michael Johnson 96343bd979 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 1c9fd5ba80)
2020-02-06 13:09:46 -08:00
..
v2 Fix long CLI error messages 2020-02-06 13:09:46 -08:00
__init__.py Initialize plugin for OSC 2017-04-06 18:07:10 -05:00
plugin.py Complement Octavia client with a set of features 2017-12-06 10:53:39 -08:00