diff options
| author | Michael Still <mikal@stillhq.com> | 2012-09-03 22:23:24 +1000 |
|---|---|---|
| committer | Michael Still <mikal@stillhq.com> | 2012-09-04 21:33:06 +1000 |
| commit | 0bd4a04afb35d7e60b34b8a1aaab45b7805cad15 (patch) | |
| tree | a4893c05cf54883eaa4b7af96a1eefd78454effe /nova/openstack | |
| parent | 0318efe625682ee8703b91f363a966200503782f (diff) | |
| download | nova-0bd4a04afb35d7e60b34b8a1aaab45b7805cad15.tar.gz nova-0bd4a04afb35d7e60b34b8a1aaab45b7805cad15.tar.xz nova-0bd4a04afb35d7e60b34b8a1aaab45b7805cad15.zip | |
Speed up creating floating ips.
Previously, we would make two separate DB calls for each floating ip
we created in floating_ip_bulk_create. This was just a little slow
(several hours to create a /16). This patch speeds up floating ip
creation just a little:
$ time bin/nova-manage floating create --ip_range=10.250.0.0/16
real 0m48.766s
user 0m34.342s
sys 0m1.984s
Resolves bug 1023560.
Change-Id: Ie3663440d414b102111178899db0c571769edba8
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
