summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Scheuring <andreas.scheuring@de.ibm.com>2017-04-10 17:35:45 +0200
committerAndreas Scheuring <andreas.scheuring@de.ibm.com>2017-04-10 17:38:36 +0200
commit68fbd14331ed8e792a105c6e6d6c2300530bdbd7 (patch)
treed58066a98e34ab24f0bf0bf761395eda637bd077
parent17841a8e684ea55cc6ba4df779ec1eecdd601ef6 (diff)
Import constant from neutron-lib
The constant CAP_PORT_FILTER has been moved from Neutron to neutron-lib. Patch [1] removed the constant from Neutron. This patch adapts the import accordingly. [1] https://review.openstack.org/#/c/422210/ Change-Id: I66d973bc668b2ffc37c43c4c47bdd3b516ed89b2 Closes-Bug: #1681487
Notes
Notes (review): Code-Review+2: Sreeram Vancheeswaran <sreeram.vancheeswaran@in.ibm.com> Code-Review+1: ShangXiao <shangxiaobj@inspur.com> Code-Review+1: Prabhat Ranjan <pranjank@in.ibm.com> Code-Review+2: Markus Zoeller (markus_z) <mzoeller@linux.vnet.ibm.com> Workflow+1: Markus Zoeller (markus_z) <mzoeller@linux.vnet.ibm.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 11 Apr 2017 06:13:47 +0000 Reviewed-on: https://review.openstack.org/455366 Project: openstack/networking-dpm Branch: refs/heads/master
-rw-r--r--networking_dpm/ml2/mech_dpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking_dpm/ml2/mech_dpm.py b/networking_dpm/ml2/mech_dpm.py
index ca02312..2ba5cf9 100644
--- a/networking_dpm/ml2/mech_dpm.py
+++ b/networking_dpm/ml2/mech_dpm.py
@@ -14,10 +14,10 @@
14# License for the specific language governing permissions and limitations 14# License for the specific language governing permissions and limitations
15# under the License. 15# under the License.
16 16
17from neutron_lib.api.definitions import portbindings
17from oslo_log import log 18from oslo_log import log
18 19
19from neutron._i18n import _LW 20from neutron._i18n import _LW
20from neutron.extensions import portbindings
21from neutron.plugins.common import constants as p_constants 21from neutron.plugins.common import constants as p_constants
22from neutron.plugins.ml2 import driver_api as api 22from neutron.plugins.ml2 import driver_api as api
23from neutron.plugins.ml2.drivers import mech_agent 23from neutron.plugins.ml2.drivers import mech_agent