« Previous | Next » 

Revision 9031ee8e

ID9031ee8eef9887bfe9a5a331e1eb42c1600a63aa

Added by Iustin Pop over 15 years ago

rapi: cleanup and update to latest 2.0 API

This patch cleans up and updates the RAPI interface:
- queries are changes to luxi queries instead of jobs, where possible
- since we changed the API version, we remove the old-style attributes
(sda_size, ip, etc.) and replace them with 2.0 style
- a small optimization in the instance and node list, don't query
twice the names in bulk output
- switch the instance and node lists to no locking

Reviewed-by: imsnah

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences