Skip to content

Commit

Permalink
fix for the dhcp issue when multiple ips are associated with vmi
Browse files Browse the repository at this point in the history
neutron has to omit if the ip is secondary ip or service_instance_ip
or service_health_check_ip.
Fix is added to take care of the above condition

Change-Id: I97d07011f4289468e79cb7e8d67db5beaff0a7ea
Closes-bug: 1645414
  • Loading branch information
ymariappan committed Nov 28, 2016
1 parent 7824396 commit f72a548
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/config/vnc_openstack/vnc_openstack/neutron_plugin_db.py
Expand Up @@ -2111,7 +2111,10 @@ def _port_vnc_to_neutron(self, port_obj, port_req_memo=None):
except NoIdError:
continue

if ip_obj.get_service_instance_ip() and ip_obj.get_instance_ip_secondary():
if ip_obj.get_instance_ip_secondary():
continue

if ip_obj.get_service_instance_ip():
continue

ip_addr = ip_obj.get_instance_ip_address()
Expand Down

0 comments on commit f72a548

Please sign in to comment.