neutron/neutron/extensions/default_subnetpools.py
Boden R 2c52a790a4 use default subnetpool api def from lib
The default subnetpools extension's API definition was added to
neutron-lib with Ib841f3727e758c0c19c9a4a0acd221ecb4081313. This patch
consumes the API definition from lib.

NeutronLibImpact

Change-Id: I48a1a637e9c45499916ade61cc9f38de3278e67e
2017-10-20 14:44:10 -06:00

21 lines
836 B
Python

#
# 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 default_subnetpools as api_def
from neutron_lib.api import extensions
class Default_subnetpools(extensions.APIExtensionDescriptor):
"""Extension class supporting default subnetpools."""
api_definition = api_def