Two small updates to the site: we removed that rusty old Aggregator RPM we had on the site and instead pointed the visitors to the source code.
Secondly, the documentation page about our CLI client was brought to the 21st century.
From: Tomas Sedovic tsedovic@redhat.com
This fixes some outdated function calls and renames flavors to hardware profiles. --- docs/client-ruby.mdown | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/docs/client-ruby.mdown b/docs/client-ruby.mdown index a586529..5324062 100644 --- a/docs/client-ruby.mdown +++ b/docs/client-ruby.mdown @@ -11,7 +11,7 @@ object model is possible. For example
puts instance.image.name - puts instance.flavor.architecture + puts instance.hardware_profile.architecture
## Basics
@@ -23,18 +23,18 @@ To use the client, you must require `deltacloud`.
require 'deltacloud'
- api_url = 'http://fancycloudprovider.com/api' - api_name = 'larry' - api_password = 'swordfish' + api_url = 'http://localhost:3001/api' + api_name = 'mockuser' + api_password = 'mockpassword'
- client = DeltaCloud.new( api_url, api_name, api_password ) + client = DeltaCloud.new( api_name, api_password, api_url )
# work with client here
In addition to creating a client, operations may occur within a block included on the initialization
- DeltaCloud.new( api_url, api_name, api_password ) do |client| + DeltaCloud.new( api_name, api_password, api_url ) do |client| # work with client here end
@@ -51,20 +51,20 @@ You may retrieve a specific realm by its identifier
realm = client.realm( 'us' )
-## Listing flavors +## Listing hardware profiles
-You may retrieve a complete list of flavors available for launching +You may retrieve a complete list of hardware profiles available for launching machines
- flavors = client.flavors + hwp = client.hardware_profiles
-You may filter flavors by architecture +You may filter hardware profiles by architecture
- flavors = client.flavors( :architecture=>'x86_64' ) + flavors = client.hardware_profiles( :architecture=>'x86_64' )
-You may retrieve a specific flavor by its identifier +You may retrieve a specific hardware profile by its identifier
- flavor = client.flavor( 'm1-small' ) + flavor = client.hardware_profile( 'm1-small' )
## Listing images
@@ -111,9 +111,9 @@ Optionally, a flavor or realm may be specified
Given an instance, depending on its state, various actions _may_ be available.
-To determine what's available, the `instance#available_actions` method may be used. +To determine what's available, the `instance#actions` method may be used.
- instance.available_actions # [ 'reboot', 'stop' ] + instance.actions # [ 'reboot', 'stop' ]
For a valid action, the method matching the action with an exclamation point may be called.
From: Tomas Sedovic tsedovic@redhat.com
Drop the old aggregator releases, point visitors to the Contributing page. --- deltacloud.org/content/download.mdown | 15 +++------------ 1 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/deltacloud.org/content/download.mdown b/deltacloud.org/content/download.mdown index 0cb6ea6..ecfc062 100644 --- a/deltacloud.org/content/download.mdown +++ b/deltacloud.org/content/download.mdown @@ -22,19 +22,10 @@ We plan to release RPM version for Fedora soon. Deltacloud Aggregator provides a web-based user interface for managing your cloud instances.
-Download the current release: +We're working on releasing a downloadable package soon. In the meantime, you +can get the source code on our [Contribute page][Contribute].
-* [deltacloud-portal-0.0.1-1.fc11.noarch.rpm][aggregator-rpm] -* [deltacloud-portal-0.0.1.tar.gz][aggregator-tgz] - -[aggregator-rpm]: https://fedorahosted.org/released/deltacloud/deltacloud-portal-0.0.1-1.fc11.... -[aggregator-tgz]: https://fedorahosted.org/released/deltacloud/deltacloud-portal-0.0.1.tar.gz - -You can access all Deltacloud releases on our Fedora Hosted repository: https://fedorahosted.org/released/deltacloud/ - -To get the latest source code, visit our [Contribute] page. - -[Contribute]: /contribute.html +[Contribute]: ./contribute.html
Additional Tools ----------------
On Tue, 2010-06-22 at 17:48 +0200, tsedovic@redhat.com wrote:
Two small updates to the site: we removed that rusty old Aggregator RPM we had on the site and instead pointed the visitors to the source code.
Secondly, the documentation page about our CLI client was brought to the 21st century. _______________________________________________ deltacloud-devel mailing list deltacloud-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/deltacloud-devel
ACK, these both look like good improvements to me
-j
deltacloud-devel@lists.fedorahosted.org