neutron/neutron/extensions/security_groups_port_filtering.py
Boden R 6c9e5df5dd use security_groups_port_filtering from neutron-lib
The security_groups_port_filtering extension's API definition was
rehomed into neutron-lib with https://review.openstack.org/#/c/575243/
This patch consumes it by using the API def from neutron-lib and
removing it from neutron.

NeutronLibImpact

Change-Id: I78396846bc18a1adc550a950cf6006790ff863ed
2018-08-30 08:49:40 -06:00

23 lines
941 B
Python

# Copyright (c) 2018 Nokia. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from neutron_lib.api.definitions import security_groups_port_filtering
from neutron_lib.api import extensions
class Security_groups_port_filtering(extensions.APIExtensionDescriptor):
"""Extension class supporting filtering port depend on security group."""
api_definition = security_groups_port_filtering