To reiterate the importance of Sang-Min's question, I think we should consider
documenting these functions (found in base_driver.rb), indicating which ones
are considered "core" and which may be optionally implemented:
# def realms(credentials, opts=nil)
#
# def images(credentials, ops)
#
# def instances(credentials, ops)
# def create_instance(credentials, image_id, opts)
# def start_instance(credentials, id)
# def stop_instance(credentials, id)
# def reboot_instance(credentials, id)
#
# def storage_volumes(credentials, ops)
#
# def storage_snapshots(credentials, ops)
#
# def buckets(credentials, opts = nil)
# def create_bucket(credentials, name, opts=nil)
# def delete_bucket(credentials, name, opts=nil)
#
# def blobs(credentials, opts = nil)
# def blob_data(credentials, bucket_id, blob_id, opts)
# def create_blob(credentials, bucket_id, blob_id, blob_data, opts=nil)
# def delete_blob(credentials, bucket_id, blob_id, opts=nil)
#
# def keys(credentials, opts)
# def create_key(credentials, opts)
# def destroy_key(credentials, opts)
When I saw the EC2 driver's extensive functionality, I asked the same question
and found this list to be comprehensive of Deltacloud's "build-in" support.
Hope this helps,
Eric W.
On Feb 21, 2011, at 3:04 PM, Sang-Min Park wrote:
> Hi all,
>
>
>
> During the fork and modification of EC2 driver into Eucalyptus driver, I
> found that there’re functions that are not listed on Deltacloud API (
> http://incubator.apache.org/deltacloud/api.html) For example, they are
> ‘keys’, ‘buckets/blobs’, ‘load balancer’, ‘storage volume’, etc.
>
>
>
> Should they be considered core APIs like the ones documented on the API
> page? Is there a guideline on the API coverage for a new driver
> implementation (like implementing some APIs is mandatory and the others are
> optional) ? If some functions could not be supported (like load balancer),
> is there a well-defined way to tell the framework that the functions are not
> supported?
>
>
>
> Thanks!
>
>
>
> -------------------------------------------------------------
>
> Sang-Min Park
>
> Software Engineer, Eucalyptus Systems, Inc.
>
> 6755 Hollister Avenue | Goleta, CA | 93117
> Office: 805-845-8000 (+9038) Cell: 434-825-4939
> email: [email protected]
>
> http://www.eucalyptus.com