Commit Graph

5 Commits

Author SHA1 Message Date
Spencer Yu ff8a2b2b35 [1/3]Replace six.iteritems() with .items()
1.As mentioned in [1], we should avoid using
six.iteritems to achieve iterators. We can
use dict.items instead, as it will return
iterators in PY3 as well. And dict.items/keys
will more readable. 2.In py2, the performance
about list should be negligible, see the link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

The patch list:
    API.

Partial-Implements: blueprint replace-iteritems-with-items

Change-Id: I63dceea8a83c1193af737d5615c32a42a9594a53
2016-12-22 02:43:12 +00:00
Sean Dague 4461cdf4c4 don't report network limits after 2.35
We correctly stopped reporting the limits for things like security
groups and floating ips after mv 2.35. We completely missed that
limits are modified by the used_limits extension, and hilarity
ensued. We were reporting no maxSecurityGroups over the wire, but we
were reporting totalSecurityGroups through the magic of extensions.

Change-Id: I85b2b41d919ed6987d4c9288905ccce49c10c81f
Closes-Bug: #1614133
2016-08-18 23:55:58 +08:00
Claudiu Belu 955c921b33 policy: Replaces 'authorize' in nova-api (part 5)
Change-Id: I52d3d9a25009833bada9f13986d00614d146ce42
Partially-Implements: bp policy-in-code
2016-06-29 12:11:42 -07:00
EdLeafe 55e04230ad Rename classes containing 'v3' to 'v21'
This part of the ongoing v3 cleanup effort.

Partial-Bug: #1462901
Change-Id: I5d9b43503629cc3f5a566f7bfa23cc5d0d14d985
2015-08-18 15:25:46 +08:00
EdLeafe 003c868da7 Move v2.1 code to the main compute directory - remove v3 step3
Move all the plugins/v3 code to the main compute directory.

Partial-Bug: #1462901
Change-Id: I7df413b76ff0a6610ccd3cb90137ec99b372d5ab
2015-08-13 09:58:47 +08:00