alibazlamit commented on this pull request.
> +import org.jclouds.compute.domain.internal.TemplateBuilderImpl;
+import org.jclouds.domain.Location;
+import static org.jclouds.util.Predicates2.retry;
+
+public class OneAndOneComputeServiceContextModule extends
+ ComputeServiceAdapterContextModule<Server, HardwareFlavour,
org.apache.jclouds.oneandone.rest.domain.Image, Location> {
+
+ @SuppressWarnings("unchecked")
+ @Override
+ protected void configure() {
+ super.configure();
+
+ bind(new TypeLiteral<ComputeServiceAdapter<Server, HardwareFlavour,
org.apache.jclouds.oneandone.rest.domain.Image, Location>>() {
+ }).to(OneandoneComputeServiceAdapter.class);
+
+
bind(TemplateBuilderImpl.class).to(ArbitraryCpuRamTemplateBuilderImpl.class);
Yes users can set custom CPU/RAM values.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/338