Skip to contentSkip to conversation

.xend.domains vs xend.domains_with_state

DISCUSSION jd 1 participant 1 message Jan 11, 2008

lore
Share & tools
lore

jd

author
#0 lore raw

Hi
CentOS 5.1 is showing xen 3.1 (in xm info) and but
does not have xend.domains_with_State.

While SLES 10 SP1 is showing Xen 3.0.4 (in xm info)
but it has the domains_with_state xml-rpc call.

The xend.domains does not return paused VMs. as it used to earlier. This means if the xend.domains_with_state is available, it needs to be used (with 'all' parameter).

How can I determine if the code should use first api
or second. (without making an RPC and checking for failure.)

Thanks
/Jd

      ____________________________________________________________________________________

Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping