Hi,
This patch will add possibility to filter instances by state.
Basic usage example:
/api/instances?state=RUNNING
Or you could use command line client:
./bin/deltacloudc instances -sRUNNING
./bin/deltacloudc instances -sSTOPPED
I added filters into some drivers which doesn't have filter_on method inside
'instances'.