> +         return null;
> +      }
> +      logger.trace(">> searching for image with id=%s", id);
> +      Image image = pbApi.imagesApi().getImage(id);
> +      logger.trace("<< found image [%s].", image.getImageName());
> +      return image;
> +   }
> +
> +   @Override
> +   public Iterable<Hardware> listHardwareProfiles() {
> +      logger.trace("listing of Hardware Profiles doesn't implemented yet. 
> Return empty iterable collection");
> +      return ImmutableSet.of(new HardwareBuilder()
> +              .id("fake")
> +              .processor(new Processor(2, 0))
> +              .ram(1024)
> +              .build()); // TODO tmp workaround. PB doesn't provide 
> predefined hardware profiles

There are several providers such as ElasticHosts or CloudSigma that don't have 
the concept of Hardware Profiles. Instead of returning just one could you do 
something similar to what those providers do? (At least until 
[JCLOUDS-482](https://issues.apache.org/jira/browse/JCLOUDS-482) is fixed).

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/72/files#r17228980

Reply via email to