From eafd4613f329cb5aab5cb911ad7dd44a403c79b4 Mon Sep 17 00:00:00 2001 From: Rudra Rugge Date: Sun, 28 Feb 2016 22:11:46 -0800 Subject: [PATCH] Service chain ip only for internal use Set service chain ip for internal use only and not return the ip address as part of neutron/nova queries. Only the non service-chain ips should be used for booting up the VM. Change-Id: Ic3b5d70cb8b70a1db0d550b2074383a0208316fd Closes-Bug: #1548942 --- src/config/vnc_openstack/vnc_openstack/neutron_plugin_db.py | 3 +++ 1 file changed, 3 insertions(+) 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 839439d8e16..63b2e02e902 100644 --- a/src/config/vnc_openstack/vnc_openstack/neutron_plugin_db.py +++ b/src/config/vnc_openstack/vnc_openstack/neutron_plugin_db.py @@ -2067,6 +2067,9 @@ def _port_vnc_to_neutron(self, port_obj, port_req_memo=None): except NoIdError: continue + if ip_obj.get_service_instance_ip(): + continue + ip_addr = ip_obj.get_instance_ip_address() ip_q_dict = {}