> +
> + @Override
> + public Server getNode(String id) {
> + checkNotNull(id, "id");
> + if (pbApi.serversApi() == null) {
> + return null;
> + }
> + logger.trace(">> searching for server with id=%s", id);
> + Server server = pbApi.serversApi().getServer(id);
> + logger.trace(">> found server [%s]", server.getServerName());
> + return server;
> + }
> +
> + @Override
> + public Iterable<Server> listNodesByIds(Iterable<String> ids) {
> + throw new UnsupportedOperationException("Isn't implemented yet");
You can implement this by calling the existing getNode(id) method if there is
no way in the API to get a set of servers given a set of ids.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/72/files#r17229029