From 75d89c02cb1349908d7c43bc94a667aa0b5b1e9c Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Thu, 24 Jul 2014 17:41:38 -0700 Subject: [PATCH] Add definition for new VIF type The type VIF_TYPE_DVS is added. This indicates that the port will be added to a VMware distributed virtual switch. This is for blueprint vsphere-neutron. Change-Id: I1b5df837734af9a3f7d48b60de120592b11e392e --- neutron/extensions/portbindings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neutron/extensions/portbindings.py b/neutron/extensions/portbindings.py index 97574a1bf..d2805f60d 100644 --- a/neutron/extensions/portbindings.py +++ b/neutron/extensions/portbindings.py @@ -52,6 +52,7 @@ VIF_TYPE_BINDING_FAILED = 'binding_failed' VIF_TYPE_IOVISOR = 'iovisor' VIF_TYPE_OVS = 'ovs' VIF_TYPE_IVS = 'ivs' +VIF_TYPE_DVS = 'dvs' VIF_TYPE_BRIDGE = 'bridge' VIF_TYPE_802_QBG = '802.1qbg' VIF_TYPE_802_QBH = '802.1qbh' @@ -65,7 +66,7 @@ VIF_TYPES = [VIF_TYPE_UNBOUND, VIF_TYPE_BINDING_FAILED, VIF_TYPE_OVS, VIF_TYPE_IVS, VIF_TYPE_BRIDGE, VIF_TYPE_802_QBG, VIF_TYPE_802_QBH, VIF_TYPE_HYPERV, VIF_TYPE_MIDONET, VIF_TYPE_MLNX_DIRECT, VIF_TYPE_MLNX_HOSTDEV, VIF_TYPE_HW_VEB, - VIF_TYPE_OTHER] + VIF_TYPE_DVS, VIF_TYPE_OTHER] VNIC_NORMAL = 'normal' VNIC_DIRECT = 'direct' -- 2.45.2