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
This commit is contained in:
Adit Sarfaty 2018-06-12 15:34:51 +03:00
parent fd1747a41c
commit 8d06a9f1f3

View File

@ -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,