Method names in api/neutron should be consistent

Bug #1261283 reported by Akihiro Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Akihiro Motoki

Bug Description

In api/neutron.py, method names vary across neutron services. These method names should be consistent.

[xxx-update]
<singular>_modify
<singular>_update

[xxx-list]
<plural>_get
<plural>_list
<singular>_list

When looking other projects, it seems <singular>_update and <singular>_list are common.

Tags: neutron
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

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

Reviewed: https://review.openstack.org/62299
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=821ce1c3f42ceb85bafabe0b615283688667afc8
Submitter: Jenkins
Branch: master

commit 821ce1c3f42ceb85bafabe0b615283688667afc8
Author: Akihiro MOTOKI <email address hidden>
Date: Thu Nov 21 04:48:13 2013 +0900

    Make Neutron API name consistent

    Previously several types of name are used for same type operations
    in Neutron releated API method names.

    * XXXX_modify -> XXXX_update
    * <plural>_get -> <singular>_list
    * <plural>_list -> <singular>_list

    Closes-Bug: #1261283
    Change-Id: I95c268822d1a55ea0440b44ea2c7993979ee4c36

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-2 → 2014.1
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.