vmware-nsx/vmware_nsx_tempest/common/constants.py
Devang Doshi c12b31ee03 Tempest: Added L2GW API tests
- Restructured function to reuse some of the function in various module
- Move pass and fail test verification within the test functions.
- Added L2GW connection API tests
- Added negative test cases

Change-Id: I9ac67b8ae0473dfc5b855744d2a4ca429b0045a6
2016-04-19 20:01:47 +00:00

28 lines
908 B
Python

# Copyright 2016 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 oslo_log import log
LOG = log.getLogger(__name__)
# L2GW constants.
L2GW = "l2_gateway"
L2GWS = L2GW + "s"
L2_GWS_BASE_URI = "/l2-gateways"
EXPECTED_HTTP_RESPONSE_200 = "200"
EXPECTED_HTTP_RESPONSE_201 = "201"
EXPECTED_HTTP_RESPONSE_204 = "204"
L2GWC = "l2_gateway_connection"