[ 
https://issues.apache.org/jira/browse/STRATOS-895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255481#comment-14255481
 ] 

Rajkumar Rajaratnam commented on STRATOS-895:
---------------------------------------------

Fixed in 
    2f93602e587619d3ad61d5ab7359a7afdf5a4e8f
    91232ed9270ee72f30b614f27acdd45cf6574242
    9a355d9a0061364c3689d479a072f72ddd4b0893

> Stratos only includes max of one private IP and one public IP in topology 
> events
> --------------------------------------------------------------------------------
>
>                 Key: STRATOS-895
>                 URL: https://issues.apache.org/jira/browse/STRATOS-895
>             Project: Stratos
>          Issue Type: Bug
>          Components: Cloud Controller
>    Affects Versions: 4.0.0
>         Environment: Stratos 4.0.0, Openstack
>            Reporter: Jeffrey Nguyen
>            Assignee: Rajkumar Rajaratnam
>
> Currently, Stratos supports multiple private IPs. It currently only support 
> one public IP but that is another problem. Topology events currently only 
> support a max of one private IP and one public IP. The events need to include 
> all the IPs provisioned to the instance.
> Please see code snippet below from CloudControllerServiceImpl.java.
>                     // public ip 
>                     if (node.getPublicAddresses() != null && 
>                         node.getPublicAddresses().iterator().hasNext()) { 
>                         ip = node.getPublicAddresses().iterator().next(); 
>                         publicIp = ip; 
>                         memberContext.setPublicIpAddress(ip); 
>                         log.info("Retrieving Public IP Address : " + 
> memberContext.toString()); 
>                     } 
>                     // private IP 
>                     if (node.getPrivateAddresses() != null && 
>                         node.getPrivateAddresses().iterator().hasNext()) { 
>                         ip = node.getPrivateAddresses().iterator().next(); 
>                         memberContext.setPrivateIpAddress(ip); 
>                         log.info("Retrieving Private IP Address. " + 
> memberContext.toString()); 
>                     } 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to