Michael Johnson c9069d5872 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 18:24:55 +00:00
2020-02-06 18:24:55 +00:00
2019-02-19 17:05:54 +08:00
2019-01-10 16:06:52 -08:00
2019-04-19 19:44:32 +00:00
2018-04-05 14:19:42 +09:00
2018-02-06 00:44:44 +08:00
2018-04-05 14:19:42 +09:00
2017-06-06 01:57:57 +00:00

Team and repository tags

image

python-octaviaclient

Octavia client for OpenStack Load Balancing

This is an OpenStack Client (OSC) plugin for Octavia, an OpenStack Load Balancing project.

For more information about Octavia see: https://docs.openstack.org/octavia/latest/

For more information about the OpenStack Client see: https://docs.openstack.org/python-openstackclient/latest/

Getting Started

Note

This is an OpenStack Client plugin. The python-openstackclient project should be installed to use this plugin.

Octavia client can be installed from PyPI using pip:

pip install python-octaviaclient

If you want to make changes to the Octavia client for testing and contribution, make any changes and then run:

python setup.py develop

or:

pip install -e .
Description
Client components for Octavia
Readme 4.4 MiB
Languages
Python 99.7%
Shell 0.3%