deb-heat/contrib/rackspace
Pavlo Shchelokovskyy 3d65dba163 Improve mocking in HeatTestCase
As the mock lib is going to be used more actively, there is a need
to improve our boilerplate code in respect to mock.

Changes in this patch include:
* `patchobject` now accepts kwargs and passes them to `mock.patch.object`;
* added `patch` method that uses mock.patch (similar to `patchobject`)
  - NOTE: this shadows `testtools.TestCase.patch` method that uses
    simple monkey-patching in favor of mock-based patching,
    relevant comment added in the code;
* test code changed accordingly where needed.

Change-Id: I779cab63249d5eb1962e9ec388cd31f3df4a4189
2014-08-07 11:41:47 +03:00
..
rackspace Improve mocking in HeatTestCase 2014-08-07 11:41:47 +03:00
README.md Rename Openstack to OpenStack 2014-02-13 15:14:46 +08:00
requirements.txt Update to latest version of pyrax and add Swift support 2014-06-19 15:33:18 -05:00

Heat resources for working with the Rackspace Cloud

The resources and configuration in this module are for using Heat with the Rackspace Cloud. These resources either allow using Rackspace services that don't have equivalent services in OpenStack or account for differences between a generic OpenStack deployment and Rackspace Cloud.

Resources

The following resources are provided for compatibility:

  • Rackspace::Cloud::Server:

Provide compatibility with OS::Nova::Server and allow for working user_data and Metadata. This is deprecated and should be replaced with OS::Nova::Server once service compatibility is implemented by Rackspace.

  • Rackspace::Cloud::LoadBalancer:

Use the Rackspace Cloud Loadbalancer service; not compatible with OS::Neutron::LoadBalancer.

  • Rackspace::Cloud::DatabaseInstance:

Use the Rackspace implementation of Trove. This is deprecated and should eventually be replaced with OS::Trove::Instance or similar.

Usage

Templates

Configuration