4
4
import com.eucalyptus.cluster.Clusters;
5
5
import com.google.common.collect.Lists;
11
12
List<NodeComponentInfoType> nodeInfoList = Lists.newArrayList( );
12
13
for( Cluster c : Clusters.getInstance( ).listValues( ) ) {
13
14
for( String nodeTag : c.getNodeTags( ) ) {
14
15
NodeComponentInfoType nodeInfo = new NodeComponentInfoType( new URL(nodeTag).getHost( ), c.getName() );
16
18
if( nodeTag.equals( vm.getServiceTag() ) ) {
17
19
nodeInfo.getInstances().add( vm.getInstanceId() );