Browse Source

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
tags/2.0.0.0b1
Andreas Scheuring 2 years ago
parent
commit
68fbd14331
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      networking_dpm/ml2/mech_dpm.py

+ 1
- 1
networking_dpm/ml2/mech_dpm.py View File

@@ -14,10 +14,10 @@
14 14
 #    License for the specific language governing permissions and limitations
15 15
 #    under the License.
16 16
 
17
+from neutron_lib.api.definitions import portbindings
17 18
 from oslo_log import log
18 19
 
19 20
 from neutron._i18n import _LW
20
-from neutron.extensions import portbindings
21 21
 from neutron.plugins.common import constants as p_constants
22 22
 from neutron.plugins.ml2 import driver_api as api
23 23
 from neutron.plugins.ml2.drivers import mech_agent

Loading…
Cancel
Save