diff options
author | Boris Pavlovic <boris@pavlovic.me> | 2013-05-04 23:38:51 +0400 |
---|---|---|
committer | Boris Pavlovic <boris@pavlovic.me> | 2013-05-08 17:16:46 +0400 |
commit | 2e35d7177830e16abd3e919510437f48c6691d51 (patch) | |
tree | 393dfffefaf8a80f41de02a67de63194b3dbc35a /nova/utils.py | |
parent | 4ce8f2a6a9d4644153b4ba532ca1b78665507d6a (diff) | |
download | nova-2e35d7177830e16abd3e919510437f48c6691d51.tar.gz nova-2e35d7177830e16abd3e919510437f48c6691d51.tar.xz nova-2e35d7177830e16abd3e919510437f48c6691d51.zip |
Session cleanup for db.floating_ip_* methods
Session objects shouldn't be used in public db.api methods
because db.api should be independent of db implementation.
Remove session parameter from:
floating_ip_create
floating_ip_get_by_fixed_ip_id
I didn't remove session parameter from floating_ip_count_by_project
because it causes changes in nova.quota. So it will be done in
separated patch.
Cleanup test for floating_ip_count_by_project removed 3rd
parameter (it should be session, but it is not required).
blueprint db-session-cleanup
Change-Id: Ifdf9edb17746a8e5b486317c917ea69016a2b99d
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions