]> 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)
committerArmando Migliaccio <armamig@gmail.com>
Mon, 19 May 2014 14:50:26 +0000 (14:50 +0000)
commit7458427a0018437f4c7cac127bcd03c93cccfe70
tree61df40d5a33a0d39d4b5b0c9866370f882a93bd7
parentc6a567a3e56a78f892254546d11cbdb50aa4dfb5
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
neutron/plugins/vmware/dhcp_meta/lsnmanager.py
neutron/tests/unit/vmware/test_dhcpmeta.py