On Fri, Aug 3, 2012 at 6:35 AM, Nirmal Fernando <[email protected]> wrote:

> I'm quoting JClouds' dev:
>
> "I've noticed that the jclouds API has changed so that it no longer has
> getPrivateAddresses() and getPublicAddresses() methods.  It now has just a
> getAddresses() method which returns a multimap of vlan names and IP
> addresses.  This makes sense because it supports a wider variety of network
> topologies.  Also, I've seen some Essex installations use the vlan name
> "fixed" or "novanet"; I'm not sure why."
>
> Chamith,
>
> Is it a good practice to distinguish public and private IP addresses using
> the private IP address ranges below and do a string matching?
>
>    - 10.0.0.0 ... 10.255.255.255
>    - 172.16.0.0 ... 172.31.255.255
>    - 192.168.0.0 ... 192.168.255.255
>
>
>
And further, may be we could try to connect to the IP (found from 'string
matching') within our java code and see whether that IP is accessible and
then only select it?

>
> --
>
> Thanks & regards,
> Nirmal
>
> Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>



-- 

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to