GitHub user vdloo opened a pull request:

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

    implement attach/detach floating IPs for DO

    add methods to the DigitalOcean_v2_NodeDriver to attach and detach floating 
IPs from instances uniform to the `ex_attach_floating_ip_to_node` and 
`ex_detach_floating_ip_from_node` methods from the 
[OpenStack_1_1_NodeDriver](https://github.com/apache/libcloud/blob/2b298b7cd8d17b4b1c0db20292fdb7867a512ac6/libcloud/compute/drivers/openstack.py#L2394)
    
    see 
https://developers.digitalocean.com/documentation/v2/#assign-a-floating-ip-to-a-droplet
 and 
https://developers.digitalocean.com/documentation/v2/#unassign-a-floating-ip
    
    cc @AlexanderGrooff

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

    $ git pull https://github.com/vdloo/libcloud 
implement-attach-detach-floating-ip-for-do

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

    https://github.com/apache/libcloud/pull/1191.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 #1191
    
----
commit dcb8631790a669f97eaab62dbff25b0cd95a5e72
Author: Rick van de Loo <rickvandeloo@...>
Date:   2018-03-19T14:32:44Z

    implement attach/detach floating IPs for DO
    
    add methods to the DigitalOcean_v2_NodeDriver to attach and detach floating 
IPs from instances uniform to the `ex_attach_floating_ip_to_node` and 
`ex_detach_floating_ip_from_node` methods from the 
[OpenStack_1_1_NodeDriver](https://github.com/apache/libcloud/blob/2b298b7cd8d17b4b1c0db20292fdb7867a512ac6/libcloud/compute/drivers/openstack.py#L2394)
    
    see 
https://developers.digitalocean.com/documentation/v2/#assign-a-floating-ip-to-a-droplet
 and 
https://developers.digitalocean.com/documentation/v2/#unassign-a-floating-ip

----


---

Reply via email to