neutron-lib/neutron_lib/exceptions/vlantransparent.py
Boden R 039cacc754 rehome vlantransparent api def
This patch rehomes the vlantransparent extension's API definition.
A release note and unit tests are also included.

Change-Id: I78c3e0c0b74dd154b6133963dfc8b65f9527bd2c
2017-12-05 09:53:11 -07:00

22 lines
902 B
Python

# Copyright (c) 2015 Cisco Systems, 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._i18n import _
from neutron_lib import exceptions
class VlanTransparencyDriverError(exceptions.NeutronException):
"""Vlan Transparency not supported by all mechanism drivers."""
message = _("Backend does not support VLAN Transparency.")