flame/flameclient/tests/fixtures/openstackcloud/routers.py

46 lines
1.7 KiB
Python

# -*- coding: utf-8 -*-
# This software is released under the MIT License.
#
# Copyright (c) 2018 Orange Cloud for Business / Cloudwatt
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
NAME = 'network.routers'
FIXTURES = [{'admin_state_up': True,
'availability_zone_hints': None,
'availability_zones': None,
'created_at': None,
'description': None,
'distributed': None,
'external_gateway_info': {'enable_snat': True,
'network_id': '6ea98324-0f14-49f6-97c0-885d1b8dc517'},
'flavor_id': None,
'ha': None,
'id': 'ebc6dd0c-a276-4368-8084-bd37c587cc24',
'name': 'tellurium_router',
'revision': None,
'routes': None,
'status': 'ACTIVE',
'tags': [],
'tenant_id': '9824a7403a1b411d8d207d26218597ce',
'updated_at': None}]