Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-470

Update EC2 address calls with VPC support

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Compute
    • Labels:
      None

      Description

      AWS elastic IP addresses for VPC work a tad differently than EC2.

      Add a new class EC2ElasticIpAddress which will store all attributes listed in the documentation: http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-DescribeAddresses.html.

      Update ex_describe_addresses to return a list of EC2ElasticIpAddress objects

      Update ex_release_address to include the allocation id as a keyword argument. This is required to release a VPC address.

      Update ex_allocate_address with a domain keyword argument to support allocating addresses within VPCs.

      Update ex_disassociate_address with a association_id keyword argument to support disassociating VPC addresses from an instance inside of a VPC network.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit f44c3648119f8a1e9e3f190bca1bc8e52a2012a3 in branch refs/heads/trunk from Chris DeRamus
        [ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=f44c364 ]

        Issue LIBCLOUD-470: Add VPC Elastic IP support. This not only adds full EIP
        support for EC2-Classic/VPC, but also adds a new ElasticIP abstraction
        that will make future promotion into the base API much easier. New tests
        were added to validate VPC association/disassociation/release calls work
        as expected.

        Closes #220.

        Signed-off-by: Tomaz Muraus <tomaz@apache.org>

        Show
        jira-bot ASF subversion and git services added a comment - Commit f44c3648119f8a1e9e3f190bca1bc8e52a2012a3 in branch refs/heads/trunk from Chris DeRamus [ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=f44c364 ] Issue LIBCLOUD-470 : Add VPC Elastic IP support. This not only adds full EIP support for EC2-Classic/VPC, but also adds a new ElasticIP abstraction that will make future promotion into the base API much easier. New tests were added to validate VPC association/disassociation/release calls work as expected. Closes #220. Signed-off-by: Tomaz Muraus <tomaz@apache.org>
        Show
        kami Tomaz Muraus added a comment - Corresponding Github pull requests: https://github.com/apache/libcloud/pull/208 https://github.com/apache/libcloud/pull/220
        Hide
        kami Tomaz Muraus added a comment -

        Merged into trunk, thanks!

        Show
        kami Tomaz Muraus added a comment - Merged into trunk, thanks!

          People

          • Assignee:
            Unassigned
            Reporter:
            cderamus Chris DeRamus
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 24h
              24h
              Remaining:
              Remaining Estimate - 24h
              24h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development