Uploaded image for project: 'Apache Whirr (retired)'
  1. Apache Whirr (retired)
  2. WHIRR-252

Add volume support to Java impl

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.1.0, 0.2.0, 0.3.0, 0.4.0
    • None
    • None

    Description

      It seems the python bindings to Whirr have EBS support:
      https://issues.apache.org/jira/browse/WHIRR-3

      Let's implement this in the Java implementation. While portable volume support isn't complete in jclouds, EC2 variants (aws-ec2, eucalyptus) do support EBS mappings via the Template:

      ex. from org.jclouds.ec2.compute.EC2ComputeServiceLiveTest.testMapEBS()

      template.getOptions().as(EC2TemplateOptions.class)//
      .mapEphemeralDeviceToDeviceName("/dev/sdm", "ephemeral0")//
      .mapNewVolumeToDeviceName("/dev/sdn", volumeSize, true)//
      .mapEBSSnapshotToDeviceName("/dev/sdo", snapshot.getId(), volumeSize, true);

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              adrian@jclouds.org Adrian Cole (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: