255340c596
In this update: - fixed tests - fixed exception handling, params on ports - fixed to_dict for a number of cases - replaced use of request.DATA with request.GET for GET methods - added handling of HTTP error raised with no status/code attr - removed check for network_id in subnets as it's not required - fix to_dict for Network with Subnets Supercedes https://review.openstack.org/#/c/152243 https://review.openstack.org/#/c/151313 Partially Implements: blueprint launch-instance-redesign Co-Authored-By: Aaron Sahlin <asahlin@us.ibm.com> Co-Authored-By: Michael Hagedorn <mike.hagedorn@hp.com> Co-Authored-By: Richard Jones <r1chardj0n3s@gmail.com> Change-Id: Ia40fde6d66720a03a531b516a6a53a2e86ec0d8f
33 lines
1.2 KiB
Python
33 lines
1.2 KiB
Python
# Copyright 2014, Rackspace, US, Inc.
|
|
#
|
|
# 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.
|
|
"""This package holds the REST API that supports the Horizon dashboard
|
|
Javascript code.
|
|
|
|
It is not intended to be used outside of Horizon, and makes no promises of
|
|
stability or fitness for purpose outside of that scope.
|
|
|
|
It does not promise to adhere to the general OpenStack API Guidelines set out
|
|
in https://wiki.openstack.org/wiki/APIChangeGuidelines.
|
|
"""
|
|
|
|
# import REST API modules here
|
|
import cinder #flake8: noqa
|
|
import config #flake8: noqa
|
|
import glance #flake8: noqa
|
|
import keystone #flake8: noqa
|
|
import network #flake8: noqa
|
|
import neutron #flake8: noqa
|
|
import nova #flake8: noqa
|
|
import policy #flake8: noqa
|