Hi all, Jclouds do support volume management in Openstack environment, via org.jclouds.openstack.nova.v2_0.extensions.VolumeApi extentions, by invoking REST services exposed in Openstack.
We are planning to use that API to provide Volume management functionality in our Cartridge based architecture. Basic way of using the API is as follows.. RestContext<NovaApi, NovaAsyncApi> novaContext; // Obtain a novaContext String zone = Iterables.getLast(novaContext.getApi().getConfiguredZones(), "nova"); // Get the zone Optional<VolumeApi> volumeOption = novaContext.getApi().getVolumeExtensionForZone(zone); // Get volumeOptions volumeOption.get().createVolume ( Args.... ) // Creates volumes volumeOption.get().attachVolumeToServerAsDevice( Args...) // Attache a volume to an instance -- Thanks, * * *Sajith Kariyawasam* *Senior Software Engineer; WSO2, Inc.; http://wso2.com*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
