Boden R 1331fb2083 rehome plugin common constants
This patch rehomes a bulk of constants from
neutron.plugins.common.constants as they are used
by a number of our sub-projects [1].

Notable differences include:
- Service operation status constants are not defined in the
plugin constants as they are already available in
neutron_lib.constants.
- The DEFAULT_SERVICE_PLUGINS is not included. This one
appears to be neutron specific and should likely be made
private in neutron.
- The EXT_TO_SERVICE_MAPPING dict is not included. We'll
push this in a separate change so we can discuss in greater
detail.

A release note is also included.

[1] http://codesearch.openstack.org/?q=from%20neutron
%5C.plugins%5C.common%20import%20constants

Change-Id: I6e86d737064f97d82e36a4e82a9f2a22fd38febe
2017-03-31 06:18:20 -06:00

25 lines
822 B
Python

# 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.
# Well-known service type constants:
LOADBALANCER = "LOADBALANCER"
LOADBALANCERV2 = "LOADBALANCERV2"
FIREWALL = "FIREWALL"
VPN = "VPN"
METERING = "METERING"
FLAVORS = "FLAVORS"
QOS = "QOS"
CORE = 'CORE'
L3 = 'L3_ROUTER_NAT'