Script ganeti_rapi
[hide private]
[frames] | no frames]

Script ganeti_rapi

Ganeti Remote API master script.

Classes [hide private]
  RemoteApiRequestContext
Data structure for Remote API requests.
  JsonErrorRequestExecutor
Custom Request Executor class that formats HTTP errors in JSON.
  RemoteApiHttpServer
REST Request Handler Class.
Functions [hide private]
 
CheckRapi(options, args)
Initial checks whether to run or exit with a failure.
 
ExecRapi(options, _)
Main remote API function, executed with the PID file held.
 
main()
Main function.

Imports: logging, optparse, sys, os, constants, http, daemon, ssconf, luxi, serializer, connector, ganeti