]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove dupl. for get_resources in adv. services
authorPaul Michali <pcm@cisco.com>
Tue, 24 Dec 2013 21:17:02 +0000 (16:17 -0500)
committerPaul Michali <pcm@cisco.com>
Sat, 28 Dec 2013 16:38:35 +0000 (11:38 -0500)
commit18c0f0937534ee763216236728e43383b9abb51c
treea05d1c148f0487a19f948a9198d83cb4a707c23c
parent59c078f83af30bb70a62e295d98ec2796cd6bf89
Remove dupl. for get_resources in adv. services

There is duplication of logic related to creating API resources
for advanced services extensions. Extracted the common logic
out into a new module that can be used by the services.
There are already UT cases in the services that exercises
the logic, so no new tests were added.

Change-Id: Ib52e2de6f215a1755f11a382dc4451a05ce3b147
Closes-Bug: 1258656
neutron/api/v2/resource_helper.py [new file with mode: 0644]
neutron/extensions/firewall.py
neutron/extensions/l3.py
neutron/extensions/loadbalancer.py
neutron/extensions/metering.py
neutron/extensions/vpnaas.py