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
This commit is contained in:
Boden R 2017-05-11 06:21:53 -06:00 committed by Adit Sarfaty
parent 2cdab3af8c
commit d204d0bad3

View File

@ -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