Udara Liyanage created JCLOUDS-682:
--------------------------------------

             Summary: Specifying network interface when associating a floating 
IP
                 Key: JCLOUDS-682
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-682
             Project: jclouds
          Issue Type: Bug
          Components: jclouds-compute
    Affects Versions: 1.8.0
            Reporter: Udara Liyanage


In a scenario where an instance has multiple network interfaces, associating a 
floating ip associate the IP to the first interface(et0) always. There is no 
way of specifying the nic where the IP should be allocated to.  I started a 
discussion on the user list. Please refer to the email with the subject 
"Associate floating ip to a specified network interface".

I tried this using Openstack commandline and seems it is working.

neutron floatingip-create ext
neutron floatingip-associate floating_ip-id port-id
However I could not find a way to associate a floating ip to a port using 
Jclouds also.

Then starting the instance with the port-id.

Alternatively I tried below which also worked [1]
nova floating-ip-associate --fixed-address=FIXED_IP_ADDRESS INSTANCE_NAME_OR_ID 
FLOATING_IP_ADDRESS 

I guess there is no counterpart for this in Jclouds also

According to the comment for [2], Jclods does not support this feature yet.

My concern,

Is this feature is in road map of the Jclods development, if yes is there a 
specific Jclouds version this will be fixed.
Further if someone could point me to the location of the code to look at, I 
could give a try patching this.


[1] http://docs.openstack.org/user-guide/content/floating_ip_allocate.html
[2] 
http://stackoverflow.com/questions/25410830/jclouds-neutron-specify-a-nic-when-associating-a-floating-ip




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to