From e142733577229e62917f66d4dbed6f6c5c3b7e0c Mon Sep 17 00:00:00 2001 From: Yuvaraja Mariappan Date: Mon, 5 Dec 2016 17:46:52 -0800 Subject: [PATCH] fix for the dhcp issue when multiple ips are associated with vmi neutron has to omit if the ip is secondary ip or service_health_check_ip. Fix is added to take care of the above condition Change-Id: Ie84d2d75dfd125588d69ae46db5b3b5950f3b27c Closes-bug: 1645414 --- src/config/vnc_openstack/vnc_openstack/neutron_plugin_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/vnc_openstack/vnc_openstack/neutron_plugin_db.py b/src/config/vnc_openstack/vnc_openstack/neutron_plugin_db.py index fbd14429b23..d35b0cecafc 100644 --- a/src/config/vnc_openstack/vnc_openstack/neutron_plugin_db.py +++ b/src/config/vnc_openstack/vnc_openstack/neutron_plugin_db.py @@ -2246,7 +2246,7 @@ 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_health_check_ip():