]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Allow to specify IP address of floating ip
authorfujioka yuuichi <fujioka-yuuichi@zx.mxh.nes.nec.co.jp>
Fri, 31 Jan 2014 01:54:34 +0000 (10:54 +0900)
committerYuuichi Fujioka <fujioka.yuuichi@gmail.com>
Fri, 26 Dec 2014 02:25:00 +0000 (02:25 +0000)
commite4f5b0d986d0d8a2bb230793bb5def6105a0620c
treeed16556860325c44ae82f4dbc008b1a17e7922a7
parentc1c44fa1dfb90cc0c771927c2937ddb09e8177b6
Allow to specify IP address of floating ip

IP address of floating ip will be automatically allocated.
There are cases where users need to specify a floating IP address.
This patch addresses the problem.

The feature is limited by "create_floatingip:floating_ip_address" in
"policy.json".
By default, it needs an admin role.

DocImpact
APIImpact

Implements: blueprint allow-specific-floating-ip-address

Change-Id: Iba64a0f0a38ca5eb39c605e121a12c956637b96c
etc/policy.json
neutron/db/l3_db.py
neutron/extensions/l3.py
neutron/tests/unit/test_l3_plugin.py