From 8d06a9f1f3a9f0605b539c1c0e7b2b5fc94470ff Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Tue, 12 Jun 2018 15:34:51 +0300 Subject: [PATCH] NSX|V3: Add ovs_hybrid_plug flag in ports FWaaS expects OVS ports to have this flag, so the patch adds it as False to the get_port results Change-Id: Ifc1f1cddc0ee737a4c463e4e1e0f8bb6de49e71b --- vmware_nsx/plugins/nsx_v3/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vmware_nsx/plugins/nsx_v3/plugin.py b/vmware_nsx/plugins/nsx_v3/plugin.py index b9ffaae7f8..c64767e7f2 100644 --- a/vmware_nsx/plugins/nsx_v3/plugin.py +++ b/vmware_nsx/plugins/nsx_v3/plugin.py @@ -581,6 +581,7 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin, port_data[pbin.VNIC_TYPE] = pbin.VNIC_NORMAL if 'network_id' in port_data: port_data[pbin.VIF_DETAILS] = { + pbin.OVS_HYBRID_PLUG: False, # TODO(rkukura): Replace with new VIF security details pbin.CAP_PORT_FILTER: 'security-group' in self.supported_extension_aliases,