RHEV API - do you prefer Python or Curl?

Latest response

My work thus far has been with the Web Admin Portal and I am not attempting to become more effecient by using the API for repeatable tasks.

I am wondering which method you use to manage your RHEV environment from the command line?  And why.

Using curl with XML files seems reasonably straight-forward, but whenever I am attempting to do something outside of the scope of the basic documentation I have found, I find it challenging to figure out the syntax.  For example, I have figured out how to create a new VM based on a template (using curl and an XML file) - however, I am now struggling to figure out how to attach an existing ISO to the VM.  When I research how to attach an ISO, I find a bunch of Python examples.

 

Thanks in advance!

Responses