On 01/08/2014 02:08 PM, Shu Ming wrote:
2014/1/8 13:05, Sheldon:
> We have discuss this before.
>
> We will support several API to support vms filter.
> such as:
> /vms?network='net1'
Though I prefer filter like "/vms?network='net1", I think we had
discussed to filter vms by network interfaces like
/vms?nifaces="virtbr0" or "/networks/virbr0/vms".
sure, the network is not a attribute of VMs
the interfaces is a attribute of VMs
network is just on kind of interfaces
need more discussion.
> /vms?status='running'
>
> anymore?
>
>
>
--
Thanks and best regards!
Sheldon Feng(冯少合)<shaohef(a)linux.vnet.ibm.com>
IBM Linux Technology Center