[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,

--
~Randy

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

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