endpoint list should support filtering by region v3

Bug #1281888 reported by Takahiro Shida
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Wishlist
wanghong

Bug Description

keystone endpoint-list is filtered by interface and service_id at v3 API.
http://api.openstack.org/api-ref-identity.html

Endpoint also has a region information, so it should be filtered by region as same as interface and service_id.

Tags: havana region
Dolph Mathews (dolph)
Changed in keystone:
importance: Undecided → Wishlist
status: New → Incomplete
Revision history for this message
Dolph Mathews (dolph) wrote :

The v3 keystoneclient lib already supports this with something like:

  c.endpoints.list(region='north')

Will emit a request like:

  GET /v3/endpoints?region=north

And the service should return a filtered collection accordingly.

The CLI command "keystone endpoint-list" only uses v2, though. Instead, this v3 feature is exposed by "openstack --os-identity-api-version=3 endpoint-list" (in python-openstackclient), which doesn't appear to support a --region parameter.

affects: keystone → python-openstackclient
Changed in python-openstackclient:
status: Incomplete → Confirmed
summary: - endpoint-list should be filtered by region
+ endpoint list should be filtered by region
summary: - endpoint list should be filtered by region
+ endpoint list should support filtering by region
Terry Howe (thowe-g)
summary: - endpoint list should support filtering by region
+ endpoint list should support filtering by region v3
wanghong (w-wanghong)
Changed in python-openstackclient:
assignee: nobody → wanghong (w-wanghong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

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

Changed in python-openstackclient:
status: Confirmed → In Progress
Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: none → m5
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/114910
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=181f16da8a2433809d319441d8261b908faf2dd9
Submitter: Jenkins
Branch: master

commit 181f16da8a2433809d319441d8261b908faf2dd9
Author: wanghong <email address hidden>
Date: Mon Aug 18 16:41:15 2014 +0800

    add service/interface/region filter for endpoint v3

    Change-Id: I7eac5b2ff5f5a6f3f08b22dd3a48a5ae7e2c056b
    Closes-Bug: #1281888

Changed in python-openstackclient:
status: In Progress → Fix Committed
Dean Troyer (dtroyer)
Changed in python-openstackclient:
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.