lbaas v2 pool's name should not be required and should not accept healthmonitor_id

Bug #1426246 reported by Brandon Logan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
High
Brandon Logan

Bug Description

LBaaS v2 Create a pool.

positional arguments:
  NAME The name of the pool.

optional arguments:
  -h, --help show this help message and exit
  --request-format {json,xml}
                        The XML or JSON request format.
  --tenant-id TENANT_ID
                        The owner tenant ID.
  --admin-state-down Set admin state up to false.
  --description DESCRIPTION
                        Description of the pool.
  --healthmonitor-id HEALTHMONITOR_ID
                        ID of the health monitor to use.
  --session-persistence TYPE:VALUE
                        The type of session persistence to use.
  --lb-algorithm {ROUND_ROBIN,LEAST_CONNECTIONS,SOURCE_IP}
                        The algorithm used to distribute load between the
                        members of the pool.
  --listener LISTENER The listener to associate with the pool
  --protocol {HTTP,HTTPS,TCP}
                        Protocol for balancing.

NAME should be an optional argument and not positional
healthmonitor-id should not even be available

Tags: lbaas
Changed in python-neutronclient:
assignee: nobody → Brandon Logan (brandon-logan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-neutronclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/159743

Changed in python-neutronclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

Reviewed: https://review.openstack.org/159743
Committed: https://git.openstack.org/cgit/openstack/python-neutronclient/commit/?id=aa0c39fe2d2b1cd6d83987644928fe5c8811789e
Submitter: Jenkins
Branch: master

commit aa0c39fe2d2b1cd6d83987644928fe5c8811789e
Author: Brandon Logan <email address hidden>
Date: Fri Feb 27 02:10:10 2015 -0600

    Fixed pool and health monitor create bugs

    lbaas-pool-create now accepts --name as an optional argument and no longer lists
    healthmonitor_id as an acceptable argument. lbaas-create-healthmonitor
    now accepts --pool as an argument so a healthmonitor can be added
    to a pool.

    Change-Id: I7c5ae61a5278119bf5c3999f4b295bd8a291d777
    Closes-Bug: #1426246
    Closes-Bug: #1426253

Changed in python-neutronclient:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in python-neutronclient:
importance: Undecided → High
milestone: none → 2.3.12
Kyle Mestery (mestery)
Changed in python-neutronclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.