horizon/openstack_dashboard/api
Mark Mielke aab378b627 Image list function should normalize owner filter
The api.glance.image_list_detailed() function accepts a list of
filters which it then translates into a form that is acceptable for
Glance v1 or Glance v2. These translations included support for
mapping 'is_public' to 'visibility', but did not include support for
mapping 'property-owner_id' to 'owner'.

This changes adds support for mapping 'property-owner_id' to 'owner'
for Glance v2, and mapping 'owner' to 'property-owner_id' for Glance
v1.

Before this fix, "rebuild instance" from the instances page did not
properly list project-specific images as options.  After this fix,
"rebuild instance" is working as expected.

Change-Id: Ica750f8b36bdbadd02a81aed41fd250864a49a66
Closes-Bug: 1671693
(cherry picked from commit 445117eb1f)
2017-05-08 13:58:37 +00:00
..
rest Merge "missing" quotas with nova quotas 2017-03-02 11:33:00 +00:00
__init__.py Removing deprecate ceilometer code 2016-11-17 16:52:13 -07:00
base.py wrong indentations 2017-01-30 16:51:48 +00:00
cinder.py Autogenerate container name correctly for vol backup 2017-01-23 10:39:52 -07:00
fwaas.py Wrap api calls with tracing decorators 2016-12-01 19:31:10 +00:00
glance.py Image list function should normalize owner filter 2017-05-08 13:58:37 +00:00
heat.py Replace six.iteritems(iter) with iter.items() 2016-12-14 11:13:20 +08:00
keystone.py Use the new fix_auth_url_version_prefix() call 2016-12-16 14:48:32 +03:00
network_base.py Add floating IP panel to admin dashboard 2016-08-19 12:15:55 +08:00
network.py Add floating IP panel to admin dashboard 2016-08-19 12:15:55 +08:00
neutron.py Only get detailed info for Nova servers when necessary 2017-03-02 12:30:14 +00:00
nova.py Only get detailed info for Nova servers when necessary 2017-03-02 12:30:14 +00:00
swift.py Wrap api calls with tracing decorators 2016-12-01 19:31:10 +00:00
vpn.py Wrap api calls with tracing decorators 2016-12-01 19:31:10 +00:00