endpoint list should support filtering by region v3
Bug #1281888 reported by
Takahiro Shida
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://
Endpoint also has a region information, so it should be filtered by region as same as interface and service_id.
Changed in keystone: | |
importance: | Undecided → Wishlist |
status: | New → Incomplete |
summary: |
- endpoint list should support filtering by region + endpoint list should support filtering by region v3 |
Changed in python-openstackclient: | |
assignee: | nobody → wanghong (w-wanghong) |
Changed in python-openstackclient: | |
milestone: | none → m5 |
Changed in python-openstackclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.