jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bk Lau <bklau2...@gmail.com>
Subject OpenStack Cinder ViolumeAPI vs Nova VolumeAPI
Date Wed, 07 Aug 2013 16:15:57 GMT
Hi:

Currently NovaApi.class exposes the VolumeApi and VolumeAttachmentApi. I
don't see a Volume.Status.ATTACHING state.

But with the Cinder Vol/Attachment API, there is one.

My question is: How does JCloud's  NovaApi class
automatically return one over the other?.
More specifically, if Cinder is available,
would  NovaAPI.getVolumeExtensionForZone(...)
returns the Cinder version?
If not how does one determine if Cinder is supported and
get the Cinder Api in JCloud?

Thanks,

BK


[1]
http://demobox.github.io/jclouds-maven-site-1.6.1/1.6.1-incubating/jclouds/apidocs/org/jclouds/openstack/nova/v2_0/domain/Volume.Status.html

[2]
http://demobox.github.io/jclouds-maven-site-1.6.1/1.6.1-incubating/jclouds/apidocs/org/jclouds/openstack/cinder/v1/domain/Volume.Status.html

Mime
View raw message