neutron/neutron/extensions/routerservicetype.py
Boden R 75b27212c4 use router service type api def from neutron-lib
The router service type extension's API definition was rehomed into
neutron-lib with If9f7dfd246dded780761bcad83537985d0a22b52
This patch consumes it by removing the rehomed code and using the
API definition with the APIExtensionDescriptor parent class.

NeutronLibImpact

Change-Id: I6a87dc5ce3e3891001a3f571b4676f5befbaabbb
2018-02-22 10:57:39 -07:00

23 lines
883 B
Python

# Copyright 2013 VMware, Inc. 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 routerservicetype as apidef
from neutron_lib.api import extensions
class Routerservicetype(extensions.APIExtensionDescriptor):
"""Extension class supporting router service type."""
api_definition = apidef