RAPI: Instance startup/shutdown resources
Reviewed-by: imsnah
RAPI: Implement an instance reboot
RAPI: Export beparams as dict. The patch also enables LUQueryInstances to accept beparams as valid field.
Reviewed-by: iustinp
RAPI: Forgoten in r1923 instance add change.
Pass request headers in to RAPI handlers.
ETag passing support.
rapi: Convert to new HTTP server class
Requests are no longer logged to a separate file.
Reviewed-by: amishchenko
RAPI: Instance add/delete implementation.
rapi: Don't throw class as an exception
Reviewed-by: ultrotter
rapi: Whitespace fixes
Get rid of httperror module
This was a leftover from the early days of the remote API in Ganeti 1.2.
Update scripts and qa config for changed hypervisor names.
RAPI Implement DELETE for tags
First write operation (add tag) for Ganeti RAPI
Add instance tag handling, improved error logging....oh, yes adopt instance listing for RAPI2!
Fix pylint-detected issues
This is mostly: - whitespace fix (space at EOL in some files, not all, broken indentation, etc) - variable names overriding others (one is a real bug in there) - too-long-lines - cleanup of most unused imports (not all)...
Move ganeti-rapi core code to daemon
All other daemons have their main code in themselves and not in a module.This patch does the same to ganeti-rapi by moving the code fromlib/rapi/RESTHTTPServer.py to daemons/ganeti-rapi.
Replace httperror module with ganeti.http
The generic HTTP server doesn't know about httperror based exceptionsand would treat them as unknown exceptions, thereby not doing the rightthing with HTTP errors.
Switch RAPI to ganeti.http module
Generalization of bulk output mapping
Simplify rapi.baserlib.MapFields()
We can use zip for simplifying this function. Actually, at this pointI'm not sure if it needs to be a separate function at all.
Put the poper RAPI baserlib
Split RAPI resources to pieces
Implement jobs resource in RAPI
Breath life in to RAPI for trunk
Initial copy of RAPI filebase to the trunk