]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
NSX: fix error when creating VM ports on subnets without dhcp
authorarmando-migliaccio <armamig@gmail.com>
Tue, 6 May 2014 01:39:55 +0000 (18:39 -0700)
committerThomas Goirand <thomas@goirand.fr>
Mon, 9 Jun 2014 15:06:54 +0000 (23:06 +0800)
commitb035fa6538e945cd19d2c9d5eb85cb01c0b4d42f
treec304491e7ac21f8716c86db8f4ee7ce82755a765
parent7e9cd643e4a3f864299e206a00d7f0f6dba936e3
NSX: fix error when creating VM ports on subnets without dhcp

The error was caused by a missing LSN port (which is created when
the subnet is setup with dhcp enabled). Therefore, check the port
is in place before proceeding with the setup.

Change-Id: I658ead0c324a24ad3f061844ecac13cd3359d341
Closes-bug: 1316365
(cherry picked from commit 7458427a0018437f4c7cac127bcd03c93cccfe70)
neutron/plugins/vmware/dhcp_meta/lsnmanager.py
neutron/tests/unit/vmware/test_dhcpmeta.py