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 authored and Yuvaraja Mariappan committed Nov 28, 2016
1 parent 508d20a commit 93688fd
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 @@ -2166,7 +2166,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

if ip_obj.get_service_health_check_ip():
Expand Down

0 comments on commit 93688fd

Please sign in to comment.