Client library should leverage "detail" actions

Bug #834017 reported by Salvatore Orlando on 2011-08-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Medium
Madhav Puri

Bug Description

Currently the client library, used by CLI, batch_config, and the GUI does not leverage the 'detail' actions for ports and networks.

There is no function in this library which executes these API operations.
Having them will be very useful.

Changed in quantum:
importance: Undecided → Medium
milestone: none → diablo-rbp

And, as a side effect, these operations should be exposed through the CLI

Do we have a taker for rbp? Otherwise we should consider postponing it to Essex.

dan wendlandt (danwent) wrote :

was agreed at least tuesday's meeting that this branch would not be targeted for diablo.

Changed in quantum:
milestone: diablo-rbp → none
Changed in quantum:
assignee: nobody → Madhav Puri (madhav-puri)

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

Changed in quantum:
status: New → In Progress
dan wendlandt (danwent) wrote :

we're very close to getting this in. targeting for rc1.

Changed in quantum:
milestone: none → essex-rc1

Reviewed: https://review.openstack.org/4580
Committed: http://github.com/openstack/python-quantumclient/commit/8e5453e0ba164f30eec21ddfdad2504b1596fb53
Submitter: Jenkins
Branch: master

commit 8e5453e0ba164f30eec21ddfdad2504b1596fb53
Author: Madhav Puri <email address hidden>
Date: Sat Feb 25 03:15:55 2012 -0800

    Adds client side functions for quantum 'detail' actions.

    Fixes bug 834017. This commit:
    1. Adds library functions to exercise the 'detail' actions
       for quantum ports and networks.
    2. Modifies client function 'show_port_details()' to invoke
       'detail' action. And added 'show_port()' function to do the
       regular call without 'detail'.
    3. Adds CLIs to exercise the new client function calls. The CLIs
       options that end with '_detail' invoke equivalent 'detail' action.
       Note that with this change the previous CLI 'show_port' shall now
       show concise info about a port ie. only ID and state, while
       'show_port_detail' can be used to list the detailed information about
       a port viz. ID, state and its attachment.
    4. Modifies OutputTemplate class to add support for templates with 3 or more
       level attributes (eg. "Port interface: %(port.attachment.id)s) and
       templates containing list of multilevel-attributes (eg. "Ports:
       %(network.ports|ID: %(id)s\t\tinterface: %(attachment.id)s)s")
    5. Added respective unit tests and verified them.

    Change-Id: I464824abea5ef0c99c466b71c1e883b492d60d62

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-03-19
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in quantum:
milestone: essex-rc1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers