]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix ML2 VXLAN TypeDriver DB migration
authorKyle Mestery <kmestery@cisco.com>
Fri, 16 Aug 2013 09:19:25 +0000 (09:19 +0000)
committerKyle Mestery <kmestery@cisco.com>
Fri, 16 Aug 2013 10:46:42 +0000 (10:46 +0000)
commitf0b77aa053a2d5456d72d178d4fac8e2684cc111
treef5ed6d2809cc3b4063a473b2a25541cc711584e8
parente79cc52ee5224c2b7a0368903eb4b7fe60fd8983
Fix ML2 VXLAN TypeDriver DB migration

The migration for the ML2 VXLAN TypeDriver was incorrectly setting
primary key attributes on separate lines for 'ip_address' and
'udp_port'. Also, a primary key cannot have autoincrement set, so
add this to 'udp_port' as well.

Fixes bug 1213134

Change-Id: I0b2e2685bf524dd9c0333ac4511287ad6a5eb87e
neutron/db/migration/alembic_migrations/versions/477a4488d3f4_ml2_vxlan_type_driver.py
neutron/plugins/ml2/drivers/type_vxlan.py