stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajkumar Rajaratnam (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (STRATOS-895) Stratos only includes max of one private IP and one public IP in topology events
Date Mon, 22 Dec 2014 06:26:13 GMT

     [ https://issues.apache.org/jira/browse/STRATOS-895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rajkumar Rajaratnam resolved STRATOS-895.
-----------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.1.0 Alpha

> 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
>             Fix For: 4.1.0 Alpha
>
>
> 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)

Mime
View raw message