neutron/neutron/extensions/extraroute.py
Boden R 5319522bff use extra route api def from lib
Commit I0425384d5fd6864f336bd7a5c9a5e70f2b3568ff rehomed the extra route
extension's API defintion to neutron-lib. This patch consumes it
updating the code to use lib's implementation.

NeutronLibImpact

Change-Id: Iae3bd4f15e12c401e615cc06358b376b81b53dc5
2017-11-02 13:11:25 -06:00

22 lines
825 B
Python

# Copyright 2013, Nachi Ueno, NTT MCL, 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 extraroute as apidef
from neutron_lib.api import extensions
class Extraroute(extensions.APIExtensionDescriptor):
api_definition = apidef