[one-users] interpreting XML output

Shantanu Pavgi pavgi at uab.edu
Tue Mar 27 08:01:22 PDT 2012


I am looking for documentation to interpret XML format returned by 'onehost show -x' command. For example consider following XML with 'onehost show': 

{{{
<HOST>
  <ID>0</ID>
  <NAME>cloud-03</NAME>
  <STATE>2</STATE>
  …
  …
…
…
</HOST>
}}}

How do I interpret STATE code to return it's literal meaning - enabled, disabled, error etc.? Any pointers will be really helpful. 

--
Thanks,
Shantanu 


More information about the Users mailing list