You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Zack Shoylev (JIRA)" <ji...@apache.org> on 2014/04/03 22:41:19 UTC
[jira] [Commented] (JCLOUDS-487) Return ordered IP addresses from
server details
[ https://issues.apache.org/jira/browse/JCLOUDS-487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959185#comment-13959185 ]
Zack Shoylev commented on JCLOUDS-487:
--------------------------------------
Alright, here is some neutron code that can accomplish figuring out what IPs belong to what network ids:
{code}
Set<? extends Port> ports = api.getPortApiForZone(zone).listInDetail().concat().toSet();
for (Port port : ports) {
System.out.println(port.getNetworkId() + ":");
for(IP fixedIP: port.getFixedIps()) {
System.out.println(fixedIP);
}
}
{code}
> Return ordered IP addresses from server details
> -----------------------------------------------
>
> Key: JCLOUDS-487
> URL: https://issues.apache.org/jira/browse/JCLOUDS-487
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-compute
> Affects Versions: 1.8.0, 1.7.1
> Reporter: Zack Shoylev
> Assignee: Zack Shoylev
> Fix For: 1.8.0
>
>
> NodeMetadata.getPrivateAddresses() returns a list of addresses in random order. These should be returned in a particular order (as listed by the service).
--
This message was sent by Atlassian JIRA
(v6.2#6252)