On Fri, Aug 3, 2012 at 6:45 AM, Lahiru Sandaruwan <[email protected]> wrote:

>
>
> 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?
>>
> I also had the same idea when we get select the public ip of instances
> created for Cartridges.
>
> OR we can differentiate the ips on the order(starting with private ips
> then public or something), if the order is consistence. Is it?
>
> I doubt it.


>
>
>>    - 10.0.0.0 ... 10.255.255.255
>>    - 172.16.0.0 ... 172.31.255.255
>>    - 192.168.0.0 ... 192.168.255.255
>>
>>
>>
>> --
>>
>> 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
>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Cloud Team,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: [email protected] cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>



-- 

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