vmware-nsx/neutron/db
Aaron Rosen d9832282cf Remove DHCP lease logic
Previously neutron was keeping track of dhcp lease time in order
to ensure it didn't hand out an ip address that was already leased.
This patch removes that logic and instead leverages the dhcp_release
utility. This allows us to reuse ip addresses immediately after a port
is deleted. This patch also bumps the lease time to 24 hours instead
of 2 minutes with reduces the amount of dhcp traffic.

DocImpact

There is a DocImpact for this bug related to the upgrade path. One should
first upgrade their dhcp-agents. Then wait till the dhcp_lease time has
expired. Lastly, update neutron-server in order to avoid the case where
an instance is deleted and the dnsmasq process has not released the lease
and neturon allocates that ip to a new port.

Fixes bug: 1202392
Implements blueprint: remove-dhcp-lease

Change-Id: Ifcb4f093c92904ceb896438987d53e692eb7fb26
2013-08-12 16:55:48 -07:00
..
firewall Followup fixes to FWaaS API patch 2013-07-31 23:29:20 -07:00
loadbalancer Remove status* fields from HealthMonitor model 2013-08-02 23:47:09 +04:00
migration Remove DHCP lease logic 2013-08-12 16:55:48 -07:00
vpn VPNaaS datamodel IKEPolicy lifetime unit typo 2013-08-02 07:02:12 -07:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
agents_db.py Add agent scheduling for LBaaS namespace agent 2013-07-19 13:25:04 +04:00
agentschedulers_db.py Add agent scheduling for LBaaS namespace agent 2013-07-19 13:25:04 +04:00
api.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
db_base_plugin_v2.py Remove DHCP lease logic 2013-08-12 16:55:48 -07:00
dhcp_rpc_base.py Remove DHCP lease logic 2013-08-12 16:55:48 -07:00
extraroute_db.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
l3_db.py Improve l3-agent performance and prevent races in it. 2013-07-16 06:05:17 -07:00
l3_gwmode_db.py Nicira NVP plugin support for l3_ext_gw_mode extension 2013-07-15 22:42:42 +02:00
l3_rpc_base.py Fix argument name mismatch in L3-RPC sync_routers 2013-07-16 23:22:17 -04:00
model_base.py Apply Oslo ModelBase to NeutronBase 2013-07-08 10:14:26 +08:00
models_v2.py Remove DHCP lease logic 2013-08-12 16:55:48 -07:00
portbindings_base.py refactor port binding codes 2013-07-26 23:04:51 +08:00
portbindings_db.py refactor port binding codes 2013-07-26 23:04:51 +08:00
portsecurity_db.py Avoid performing extra query for fetching port security binding 2013-07-31 02:10:35 -07:00
quota_db.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
routedserviceinsertion_db.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
routerservicetype_db.py Service Type Framework refactoring 2013-07-25 21:47:30 +04:00
securitygroups_db.py Avoid performing extra query for fetching port security binding 2013-07-31 02:10:35 -07:00
securitygroups_rpc_base.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
servicetype_db.py Service Type Framework refactoring 2013-07-25 21:47:30 +04:00
sqlalchemyutils.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00