From d204d0bad3dc4b641882e91ec09896cc0cbd3ffc Mon Sep 17 00:00:00 2001 From: Boden R Date: Thu, 11 May 2017 06:21:53 -0600 Subject: [PATCH] use is_port_trusted from neutron-lib neutron-lib 1.6.0 is out and among other things contains the rehomed is_port_trusted function. This patch switches usage of that function from neutron to neutron-lib. Change-Id: I452a4887b4b53485fd5bfe3d0b250d1f23d69eea --- vmware_nsx/db/extended_security_group.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmware_nsx/db/extended_security_group.py b/vmware_nsx/db/extended_security_group.py index 7e6a49c635..6d99f46b8e 100644 --- a/vmware_nsx/db/extended_security_group.py +++ b/vmware_nsx/db/extended_security_group.py @@ -21,7 +21,6 @@ from sqlalchemy.orm import exc from sqlalchemy import sql from neutron.api.v2 import attributes -from neutron.common import utils as n_utils from neutron.db import _resource_extend as resource_extend from neutron.db import api as db_api from neutron.db.models import securitygroup as securitygroups_db @@ -33,6 +32,7 @@ from neutron_lib.callbacks import resources from neutron_lib import constants as n_constants from neutron_lib.db import model_base from neutron_lib.utils import helpers +from neutron_lib.utils import net as n_utils from vmware_nsx.extensions import providersecuritygroup as provider_sg from vmware_nsx.extensions import securitygrouplogging as sg_logging