[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] get_all_records_where

On 02/20/2013 8:53 am, Rob Hoes wrote:
Hi Randy,

Could you try something like this:

VM.get_all_records_where('field "tags" = "(\'test2\' \'test\')"')

Thanks Rob, it works!

One more question. Suppose I want to return a VM which has 10 tags but match only 1 or 2 or 3 of them? Similar to :contains in XE, but more flexible (1 or more tags).

Thank you,


Xen-api mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.