]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
NSX: fix migration for networks without a subnet
authorarmando-migliaccio <armamig@gmail.com>
Tue, 29 Apr 2014 03:24:18 +0000 (20:24 -0700)
committerThomas Goirand <thomas@goirand.fr>
Mon, 9 Jun 2014 15:06:54 +0000 (23:06 +0800)
commit41883dc5fb7dfe8939aa4cc55bd590ef1b239d72
tree5313f1d472f86b59b86e422f1e2de1927d8d6005
parentff9846a51a59f5788377285725fce26e66b6945d
NSX: fix migration for networks without a subnet

In case the network is without a subnet, calling the validation
logic during the report phase leads to an error because the LSN
would have been already allocated during the migration phase.

Bypass the issue by calling the plugin directly, which is what
the validation logic does in the first place.

Closes-bug: #1313997

Change-Id: I14f77ae3b0cc147c4ea1c79e56bdd809de7c76a0
(cherry picked from commit 47e51e7521784f6a2edcfbf71a9aac0237e76e42)
neutron/plugins/vmware/dhcp_meta/migration.py
neutron/tests/unit/vmware/test_dhcpmeta.py