Class TroveUtils
java.lang.Object
org.jclouds.openstack.trove.v1.utils.TroveUtils
Helper methods for dealing with instances that get created with errors.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetWorkingInstance
(String region) This will return a small working instance.getWorkingInstance
(String region, String name, String flavorId, int size) Create an ACTIVE operational instance.
-
Field Details
-
logger
-
-
Constructor Details
-
TroveUtils
-
-
Method Details
-
getWorkingInstance
Create an ACTIVE operational instance.- Parameters:
region
- The instance region.name
- Instance name.flavorId
- Id of the flavor to be used when creating the instance.size
- Size of the instance.- Returns:
- Instance object in active state or NULL.
- See Also:
-
getWorkingInstance
This will return a small working instance.- Parameters:
region
- The region where the instance should be created.- Returns:
- A working database instance.
-