Skip to content

Commit

Permalink
rename cli prefix for the ulb to load balancer
Browse files Browse the repository at this point in the history
  • Loading branch information
gtema committed Apr 16, 2018
1 parent 290e060 commit 28f8a54
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 46 deletions.
38 changes: 19 additions & 19 deletions doc/source/cli/load_balancer.rst
Original file line number Diff line number Diff line change
@@ -1,76 +1,76 @@
==============================================
LoadBalancer service (ULB) command-line client
==============================================
========================================
LoadBalancer service command-line client
========================================

The ULB client is the command-line interface (CLI) for
The load_balancer client is the command-line interface (CLI) for
the native Neutron/Octavia LoadBalancer service (load_balancer) API.

For help on a specific `ulb` command, enter:
For help on a specific `load balancer` command, enter:

.. code-block:: console
$ openstack ulb help SUBCOMMAND
$ openstack load balancer help SUBCOMMAND
.. _load_balancer:

Load Balancer operations
------------------------

.. autoprogram-cliff:: openstack.load_balancer.v1
:command: ulb list
:command: load balancer list

.. autoprogram-cliff:: openstack.load_balancer.v1
:command: ulb show
:command: load balancer show

.. autoprogram-cliff:: openstack.load_balancer.v1
:command: ulb create
:command: load balancer create

.. autoprogram-cliff:: openstack.load_balancer.v1
:command: ulb update
:command: load balancer update

.. autoprogram-cliff:: openstack.load_balancer.v1
:command: ulb delete
:command: load balancer delete

.. _listener:

Listeners operations
--------------------

.. autoprogram-cliff:: openstack.load_balancer.v1
:command: ulb listener *
:command: load balancer listener *

.. _pool:

Pools operations
----------------

.. autoprogram-cliff:: openstack.load_balancer.v1
:command: ulb pool list
:command: load balancer pool list

.. autoprogram-cliff:: openstack.load_balancer.v1
:command: ulb pool show
:command: load balancer pool show

.. autoprogram-cliff:: openstack.load_balancer.v1
:command: ulb pool create
:command: load balancer pool create

.. autoprogram-cliff:: openstack.load_balancer.v1
:command: ulb pool update
:command: load balancer pool update

.. autoprogram-cliff:: openstack.load_balancer.v1
:command: ulb pool delete
:command: load balancer pool delete

.. _pool_member:

Pool Members operations
-----------------------

.. autoprogram-cliff:: openstack.load_balancer.v1
:command: ulb pool member *
:command: load balancer pool member *

.. _hm:

Health Monitor operations
-------------------------

.. autoprogram-cliff:: openstack.load_balancer.v1
:command: ulb health monitor *
:command: load balancer health monitor *
4 changes: 2 additions & 2 deletions otcextensions/osclient/load_balancer/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
LOG = logging.getLogger(__name__)

DEFAULT_API_VERSION = '1.0'
API_VERSION_OPTION = 'os_lb_api_version'
API_NAME = "lb"
API_VERSION_OPTION = 'os_load_balancer_api_version'
API_NAME = "load_balancer"
API_VERSIONS = {
"1.0": "openstack.connection.Connection",
"1": "openstack.connection.Connection",
Expand Down
50 changes: 25 additions & 25 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -115,31 +115,31 @@ openstack.cce.v1 =
cce_cluster_delete = otcextensions.osclient.cce.v1.cluster:DeleteCCECluster

openstack.load_balancer.v1 =
ulb_list = otcextensions.osclient.load_balancer.v1.load_balancer:ListLoadBalancer
ulb_show = otcextensions.osclient.load_balancer.v1.load_balancer:ShowLoadBalancer
ulb_create = otcextensions.osclient.load_balancer.v1.load_balancer:CreateLoadBalancer
ulb_update = otcextensions.osclient.load_balancer.v1.load_balancer:UpdateLoadBalancer
ulb_delete = otcextensions.osclient.load_balancer.v1.load_balancer:DeleteLoadBalancer
ulb_listener_list = otcextensions.osclient.load_balancer.v1.listener:ListListener
ulb_listener_show = otcextensions.osclient.load_balancer.v1.listener:ShowListener
ulb_listener_create = otcextensions.osclient.load_balancer.v1.listener:CreateListener
ulb_listener_update = otcextensions.osclient.load_balancer.v1.listener:UpdateListener
ulb_listener_delete = otcextensions.osclient.load_balancer.v1.listener:DeleteListener
ulb_pool_list = otcextensions.osclient.load_balancer.v1.pool:ListPool
ulb_pool_show = otcextensions.osclient.load_balancer.v1.pool:ShowPool
ulb_pool_create = otcextensions.osclient.load_balancer.v1.pool:CreatePool
ulb_pool_update = otcextensions.osclient.load_balancer.v1.pool:UpdatePool
ulb_pool_delete = otcextensions.osclient.load_balancer.v1.pool:DeletePool
ulb_pool_member_list = otcextensions.osclient.load_balancer.v1.pool_member:ListPoolMember
ulb_pool_member_show = otcextensions.osclient.load_balancer.v1.pool_member:ShowPoolMember
ulb_pool_member_create = otcextensions.osclient.load_balancer.v1.pool_member:CreatePoolMember
ulb_pool_member_update = otcextensions.osclient.load_balancer.v1.pool_member:UpdatePoolMember
ulb_pool_member_delete = otcextensions.osclient.load_balancer.v1.pool_member:DeletePoolMember
ulb_health_monitor_list = otcextensions.osclient.load_balancer.v1.health_monitor:ListHealthMonitor
ulb_health_monitor_show = otcextensions.osclient.load_balancer.v1.health_monitor:ShowHealthMonitor
ulb_health_monitor_create = otcextensions.osclient.load_balancer.v1.health_monitor:CreateHealthMonitor
ulb_health_monitor_update = otcextensions.osclient.load_balancer.v1.health_monitor:UpdateHealthMonitor
ulb_health_monitor_delete = otcextensions.osclient.load_balancer.v1.health_monitor:DeleteHealthMonitor
load_balancer_list = otcextensions.osclient.load_balancer.v1.load_balancer:ListLoadBalancer
load_balancer_show = otcextensions.osclient.load_balancer.v1.load_balancer:ShowLoadBalancer
load_balancer_create = otcextensions.osclient.load_balancer.v1.load_balancer:CreateLoadBalancer
load_balancer_update = otcextensions.osclient.load_balancer.v1.load_balancer:UpdateLoadBalancer
load_balancer_delete = otcextensions.osclient.load_balancer.v1.load_balancer:DeleteLoadBalancer
load_balancer_listener_list = otcextensions.osclient.load_balancer.v1.listener:ListListener
load_balancer_listener_show = otcextensions.osclient.load_balancer.v1.listener:ShowListener
load_balancer_listener_create = otcextensions.osclient.load_balancer.v1.listener:CreateListener
load_balancer_listener_update = otcextensions.osclient.load_balancer.v1.listener:UpdateListener
load_balancer_listener_delete = otcextensions.osclient.load_balancer.v1.listener:DeleteListener
load_balancer_pool_list = otcextensions.osclient.load_balancer.v1.pool:ListPool
load_balancer_pool_show = otcextensions.osclient.load_balancer.v1.pool:ShowPool
load_balancer_pool_create = otcextensions.osclient.load_balancer.v1.pool:CreatePool
load_balancer_pool_update = otcextensions.osclient.load_balancer.v1.pool:UpdatePool
load_balancer_pool_delete = otcextensions.osclient.load_balancer.v1.pool:DeletePool
load_balancer_pool_member_list = otcextensions.osclient.load_balancer.v1.pool_member:ListPoolMember
load_balancer_pool_member_show = otcextensions.osclient.load_balancer.v1.pool_member:ShowPoolMember
load_balancer_pool_member_create = otcextensions.osclient.load_balancer.v1.pool_member:CreatePoolMember
load_balancer_pool_member_update = otcextensions.osclient.load_balancer.v1.pool_member:UpdatePoolMember
load_balancer_pool_member_delete = otcextensions.osclient.load_balancer.v1.pool_member:DeletePoolMember
load_balancer_health_monitor_list = otcextensions.osclient.load_balancer.v1.health_monitor:ListHealthMonitor
load_balancer_health_monitor_show = otcextensions.osclient.load_balancer.v1.health_monitor:ShowHealthMonitor
load_balancer_health_monitor_create = otcextensions.osclient.load_balancer.v1.health_monitor:CreateHealthMonitor
load_balancer_health_monitor_update = otcextensions.osclient.load_balancer.v1.health_monitor:UpdateHealthMonitor
load_balancer_health_monitor_delete = otcextensions.osclient.load_balancer.v1.health_monitor:DeleteHealthMonitor

[pbr]
api_doc_dir = contributor/api
Expand Down

0 comments on commit 28f8a54

Please sign in to comment.