On 19/06/13 00:32, David Sutton wrote:
David,
Glad you can make tomorrow. I can't alas. I believe the reason why
xendomains is failing for sxp format is because under 4.2.2 it
appears that xl list -l is returning domid of -1 for all domU's for
some bizarre reason. I have a 4.1.x system and that is working
correctly so that would appear as a regression.
In terms of it running under JSON, I just think the regex needs a
bit of a tweak, although it's not happening (the tweak!) for me
right now. It looks to me like it's not properly picking up the {
which is equivalent to the (domain part in sxp format. So I think
it's not clearing the name and id at the start of the domain data,
so you briefly end up with previous domain name and the current
domID combination which causes the foul-up.
If it is just a regex tweak and there was to be another RC for 4.3
it would be nice to get this in. Xendomains seems to have been
broken for so long now at least for xl, it would have been nice to
have it working in a release and that's were I thought we were,
alas.
A re-write would also be nice but tbh the only metadata it seems to
need is name and id (and probably actually only needs id). Being
dependant on formats of other commands isn't great though, IMHO.
Cheers,
Ian M.
|