> @@ -267,7 +267,22 @@ public boolean apply(NodeMetadata nodeMetadata) {
>
> @Override
> public String toString() {
> - return "TERMINATED";
> + return Status.TERMINATED.toString();
> + }
> + };
> +
> + /**
> + * Match nodes with State == SUSPENDED
> + */
> + public static final Predicate<NodeMetadata> SUSPENDED = new
> Predicate<NodeMetadata>() {
We are using it here locally (rackspace/openstack) to test if a set of VM's is
up or down. Only made sense to push it back upstream.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/405/files#r13749452