org.jclouds.trystack.nova
Class TryStackNovaServiceAdapter

java.lang.Object
  extended by org.jclouds.openstack.nova.v2_0.compute.NovaComputeServiceAdapter
      extended by org.jclouds.trystack.nova.TryStackNovaServiceAdapter
All Implemented Interfaces:
ComputeServiceAdapter<ServerInZone,FlavorInZone,ImageInZone,Location>

public class TryStackNovaServiceAdapter
extends NovaComputeServiceAdapter

Author:
Adrian Cole

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jclouds.compute.ComputeServiceAdapter
ComputeServiceAdapter.NodeAndInitialCredentials<N>
 
Field Summary
 
Fields inherited from class org.jclouds.openstack.nova.v2_0.compute.NovaComputeServiceAdapter
keyPairCache, logger, novaApi, removeFloatingIpFromNodeAndDeallocate, zoneIds
 
Constructor Summary
TryStackNovaServiceAdapter(NovaApi novaApi, com.google.common.base.Supplier<Set<String>> zoneIds, RemoveFloatingIpFromNodeAndDeallocate removeFloatingIpFromNodeAndDeallocate, com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> keyPairCache)
           
 
Method Summary
 Iterable<ImageInZone> listImages()
          Images are the available configured operating systems that someone can run a node with.
 
Methods inherited from class org.jclouds.openstack.nova.v2_0.compute.NovaComputeServiceAdapter
createNodeWithGroupEncodedIntoName, destroyNode, getImage, getNode, listHardwareProfiles, listLocations, listNodes, rebootNode, resumeNode, suspendNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TryStackNovaServiceAdapter

@Inject
public TryStackNovaServiceAdapter(NovaApi novaApi,
                                         com.google.common.base.Supplier<Set<String>> zoneIds,
                                         RemoveFloatingIpFromNodeAndDeallocate removeFloatingIpFromNodeAndDeallocate,
                                         com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> keyPairCache)
Method Detail

listImages

public Iterable<ImageInZone> listImages()
Description copied from interface: ComputeServiceAdapter
Images are the available configured operating systems that someone can run a node with.

To implement this method, return the library native images available to the user. These will be used to launch nodes as a part of the template.

Specified by:
listImages in interface ComputeServiceAdapter<ServerInZone,FlavorInZone,ImageInZone,Location>
Overrides:
listImages in class NovaComputeServiceAdapter
Returns:
a non-null iterable of available images.
See Also:
ComputeService.listImages()


Copyright © 2009-2012 jclouds. All Rights Reserved.