Hi Udara,

JClouds has FloatingIPApi in package org.jclouds.openstack.nova.v2_0.extensions.

You can get hold of FloatingIPApi (not FloatingIpAPI, mind the p in IP!) like 
below.

com.google.common.base.Optional<? extends FloatingIPApi>  
NovaApi.getFloatingIPExtensionForZone(String zone)

Hope this helps.

regards,
Ambadas Ramanna Adam

From: Udara Liyanage [mailto:[email protected]]
Sent: Wednesday, September 10, 2014 12:07 PM
To: [email protected]
Subject: How to get reference to FloatingIpAPI in Neutron

Hi,

I was able to get reference to PortAPI and NetworkAPi, but not to 
FloatingIpAPI. Any help is appriciated.

neutronApi = ContextBuilder.newBuilder(provider)
            .credentials(identity, password)
            .endpoint(endpoint)
            .modules(modules)
            .buildApi(NeutronApi.class);
I am using Jclouds 1.8.0 version.

--
Udara S.S Liyanage.
Software Engineer at WSO2.
Commiter and PPMC Member of Apache Stratos.
Blog - http://udaraliyanage.wordpress.com<http://udaraliyanage.wordpress.com/>
phone: +94 71 443 6897

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not 
to copy, disclose, or distribute this e-mail or its contents to any other 
person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken 
every reasonable precaution to minimize this risk, but is not liable for any 
damage 
you may sustain as a result of any virus in this e-mail. You should carry out 
your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this 
e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Reply via email to