9329762d3e
Enables a user to specify router-size while creating an exclusive router for creating a load-balancer service Change-Id: If03b51ce0bc61a8e2aa46de4f1b5869306e1bd7e
38 lines
1009 B
Python
38 lines
1009 B
Python
# Copyright 2014 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.
|
|
|
|
# Edge size
|
|
COMPACT = 'compact'
|
|
LARGE = 'large'
|
|
XLARGE = 'xlarge'
|
|
QUADLARGE = 'quadlarge'
|
|
|
|
|
|
SHARED = "shared"
|
|
EXCLUSIVE = "exclusive"
|
|
|
|
# Edge type
|
|
SERVICE_EDGE = 'service'
|
|
VDR_EDGE = 'vdr'
|
|
|
|
# Internal element purpose
|
|
INTER_EDGE_PURPOSE = 'inter_edge_net'
|
|
|
|
# etc
|
|
INTERNAL_TENANT_ID = 'a1b2c3d4-e5f6-eeff-ffee-6f5e4d3c2b1a'
|
|
|
|
# L2 gateway edge name prefix
|
|
L2_GATEWAY_EDGE = 'L2 bridging'
|