1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/hp
Paul Thornthwaite 0e1daf3ddd [GH-2711] Replace Fog::Connection with XML shim
Unlike last attempt this replaces Fog::Connection with
Fog::XML::Connection which should be directly compatible.

Fog::Connection is there for old PRs but should be removed real soon.

Providers using JSON should be able to replace "XML" with "Core" within
their code to cut down on the dependency.

If I get the time I may attempt to clean up some but testing with Mock
will mean that is mostly educated guesswork.
2014-02-27 00:54:17 +00:00
..
articles [hp] Fix links in some documentation pages. 2013-11-19 20:29:15 -05:00
docs Remove trailing whitespace 2014-02-19 12:30:59 +00:00
examples Remove trailing whitespace 2014-02-19 12:30:59 +00:00
models Remove trailing whitespace 2014-02-19 12:30:59 +00:00
requests Remove trailing whitespace 2014-02-19 12:30:59 +00:00
block_storage.rb [GH-2711] Replace Fog::Connection with XML shim 2014-02-27 00:54:17 +00:00
block_storage_v2.rb [GH-2711] Replace Fog::Connection with XML shim 2014-02-27 00:54:17 +00:00
cdn.rb [GH-2711] Replace Fog::Connection with XML shim 2014-02-27 00:54:17 +00:00
CHANGELOG.hp [hp] Bump version and update changelog. 2013-10-30 19:02:53 -04:00
compute.rb [GH-2711] Replace Fog::Connection with XML shim 2014-02-27 00:54:17 +00:00
compute_v2.rb [GH-2711] Replace Fog::Connection with XML shim 2014-02-27 00:54:17 +00:00
core.rb [GH-2711] Replace Fog::Connection with XML shim 2014-02-27 00:54:17 +00:00
dns.rb [GH-2711] Replace Fog::Connection with XML shim 2014-02-27 00:54:17 +00:00
lb.rb [GH-2711] Replace Fog::Connection with XML shim 2014-02-27 00:54:17 +00:00
network.rb [GH-2711] Replace Fog::Connection with XML shim 2014-02-27 00:54:17 +00:00
README.md Remove trailing whitespace 2014-02-19 12:30:59 +00:00
simple_http_instrumentor.rb Remove trailing whitespace 2014-02-19 12:30:59 +00:00
storage.rb [GH-2711] Replace Fog::Connection with XML shim 2014-02-27 00:54:17 +00:00

Getting Started with HP Cloud Extensions to Ruby Fog Bindings

HP Cloud has been creating and contributing bindings so that developers can work with Ruby Fog and the HP Cloud services based on OpenStack. By using the HP Cloud Extensions to Fog, developers can write applications using Ruby that interacts with the HP Cloud Services without having to deal with the underlying REST API or JSON/XML document formats. We have officially turned these bindings over to the Ruby Fog community where you can contribute and develop additional functionality around these bindings.

This section of documentation provides information, examples and articles for working with the different HP Cloud services such as Compute, Object Storage and others.

Please note that HP Cloud recently released version 13.5 which updates and adds functionality provided by OpenStack Havana. Some of our HP Ruby Fog examples are developed to work with earlier versions so please take note which HP Cloud version you are working with.

Note: The Networking service examples only work with version 13.5.

Installation

To install and use HP Cloud Ruby bindings for Fog, please install the latest release of Fog.

Then follow the installation instructions for the operating system you are using and connect to the service:

Requirements

For working with the HP Cloud Extension to Fog, the following pre-requisites are needed:

  • HP Cloud Services account. If you have not already signed up, please sign up for your free trial.
  • Ruby version 1.8.x or 1.9.x
  • fog gem

Examples

Apart from the overall Fog documentation, we have HP Cloud specific examples that will help you in using the Ruby Fog bindings with HP Cloud services.

Examples for using Fog with HP Cloud Services

Articles

In addition to the examples we have provided, for Compute, Object Storage, and other HP Cloud services, we wanted to give you a few additional tips and "how-tos' to make using your Ruby Fog bindings even easier. Take a look at the articles listed below to find out more!

Additional Resources

Support and Feedback

Your feedback is essential to the maturity of the bindings and is highly appreciated! If you have specific issues with the HP Cloud Extensions to Fog bindings, please file an issue via Github.