vmware-nsx/neutron/db/migration/alembic_migrations/versions
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
..
1b693c095aa3_quota_ext_db_grizzly.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
1c33fa3cd1a1_extra_route_config.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
1d76643bcec4_nvp_netbinding.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
2a6d0b51f4bb_cisco_plugin_cleanup.py Fix broken database migration for Cisco plugin 2013-08-09 09:48:31 -04:00
2c4af419145b_l3_support.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
3b54bf9e29f7_nec_plugin_sharednet.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
3cabb850f4a5_table_to_track_port_.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
3cb5d900c5de_security_groups.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
3cbf70257c28_nvp_mac_learning.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
5a875d0e5c_ryu.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
5ac71e65402c_ml2_initial.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
11c6e18605c8_pool_monitor_status_.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
13de305df56e_add_nec_pf_name.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
20ae61555e95_ml2_gre_type_driver.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
32b517556ec9_remove_tunnelip_mode.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
35c7c198ddea_lbaas_healthmon_del_status.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
39cf3f799352_fwaas_havana_2_model.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
48b6f43f7471_service_type.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
52c5e4a18807_lbaas_pool_scheduler.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
52ff27f7567a_support_for_vpnaas.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
54c2c487e913_lbaas.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
128e042a2b68_ext_gw_mode.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
176a85fc7d79_add_portbindings_db.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
477a4488d3f4_ml2_vxlan_type_driver.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
557edfc53098_new_service_types.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
1149d7de0cfa_port_security.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
1341ed32cc1e_nvp_netbinding_update.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
2032abe8edac_lbaas_add_status_des.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
4692d074d587_agent_scheduler.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
5918cbddab04_add_tables_for_route.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
45680af419f9_nvp_qos.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
263772d65691_cisco_db_cleanup_2.py Add support for the Nexus 1000V into the Cisco Plugin. 2013-08-09 16:56:54 -07:00
363468ac592c_nvp_network_gw.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
511471cc46b_agent_ext_model_supp.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
38335592a0dc_nvp_portmap.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
49332180ca96_ryu_plugin_update.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
b7a8863760e_rm_cisco_vlan_bindin.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
c88b6b5fea3_cisco_n1kv_tables.py Add support for the Nexus 1000V into the Cisco Plugin. 2013-08-09 16:56:54 -07:00
e6b16a30d97_cisco_provider_nets.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
f489cf14a79c_lbaas_havana.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
f9263d6df56_remove_dhcp_lease.py Remove DHCP lease logic 2013-08-12 16:55:48 -07:00
folsom_initial.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
grizzly_release.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
README Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00

This directory contains the migration scripts for the Neutron project.  Please
see the README in neutron/db/migration on how to use and generate new
migrations.