GitHub user kyle-long opened a pull request:

    https://github.com/apache/libcloud/pull/590

    ec2 driver support for assigning a public ip

    These changes add ex_assign_public_ip parameter to ec2 compute drivers 
create_node method.
    
    The biggest thing to note (which is also in the comments) is that since the 
public ip takes a few seconds to get assigned, the node object returned will 
not have a public ip set on it.  A user could always use wait_until_running in 
the base compute driver.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kyle-long/libcloud trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/libcloud/pull/590.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #590
    
----
commit 8b9de60c77aad00079238826815af13d6d340fd1
Author: Kyle Long <[email protected]>
Date:   2015-09-30T16:56:10Z

    adding ex_assign_public_id to create_node
    
    One important thing to note is that the node returned will not
    have a public_ip assigned since it takes a few seconds for amazon
    to assign the public_ip (or at least for it to get returned
    through the API).

commit 5f6d8e843142e7a0f88d953a253e6541d206d7ef
Author: Kyle Long <[email protected]>
Date:   2015-09-30T17:16:32Z

    adding my change

commit 4ec2a05ca7808c3a6d671fba725c3f56cd89c360
Author: Kyle Long <[email protected]>
Date:   2015-09-30T17:36:12Z

    updating ips to be in TEST-NET-1 block
    
    https://tools.ietf.org/html/rfc5737

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to