hpcloud volume operations supput in jclouds

11 views
Skip to first unread message

Tomer Mevorach

unread,
Oct 11, 2012, 12:54:17 PM10/11/12
to jcl...@googlegroups.com
Hi,
Is there a way to perform volume operations on hpcloud using jcloud?
How can I get an implementation of VolumeApi?
I am using v. 1.5.1

Thanks,
Tomer

Hans Hrasna

unread,
Oct 11, 2012, 1:24:54 PM10/11/12
to Tomer Mevorach, jcl...@googlegroups.com
Hi Tomer,

basically from the NovaApi you do this:

Optional<? extends VolumeApi> volumeOption =
api.getVolumeExtensionForZone(zone);

You can see complete code examples in the class
org.jclouds.openstack.nova.v2_0.extensions.VolumeClientLiveTest.java

regards,
Hans
> --
> You received this message because you are subscribed to the Google
> Groups "jclouds" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/jclouds/-/Ger8_tKOC-sJ.
> To post to this group, send email to jcl...@googlegroups.com.
> To unsubscribe from this group, send email to
> jclouds+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/jclouds?hl=en.


--
Hans Hrasna
Senior Architect
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
Office: 781-357-3087
Cell: 978-549-4865

Reply all
Reply to author
Forward
0 new messages