From 70524bb62f26c109fc7bac18be2b27f333063643 Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Wed, 14 Jun 2017 16:06:56 +0100 Subject: [PATCH] Add OVS_DATAPATH_TYPE in portbindings constants Added OVS_DATAPATH_TYPE constant in portbindings. This parameter will be added to OVS backend VIF_DETAILS. This string parameter is used to define if the bridge uses kernel or userspace datapath. Change-Id: Ie523c821995c046c7f77783a34e75053fc0abb3d Related-Bug: #1632372 --- neutron_lib/api/definitions/portbindings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neutron_lib/api/definitions/portbindings.py b/neutron_lib/api/definitions/portbindings.py index 1149461..80880d3 100644 --- a/neutron_lib/api/definitions/portbindings.py +++ b/neutron_lib/api/definitions/portbindings.py @@ -52,6 +52,10 @@ VIF_DETAILS_MACVTAP_MODE = 'macvtap_mode' VIF_DETAILS_PHYSICAL_INTERFACE = 'physical_interface' VIF_DETAILS_BRIDGE_NAME = 'bridge_name' +# OVS bridge datapath type: String value used to define if the bridge uses +# kernel or userspace datapath. +OVS_DATAPATH_TYPE = 'datapath_type' + # The keys below are used in the VIF_DETAILS attribute to convey # information related to the configuration of the vhost-user VIF driver.