Package ganeti :: Package server :: Module rapi
[hide private]
[frames] | no frames]

Module rapi

source code

Ganeti Remote API master script.

Classes [hide private]
  RemoteApiRequestContext
Data structure for Remote API requests.
  RemoteApiHandler
REST Request Handler Class.
Functions [hide private]
 
CheckRapi(options, args)
Initial checks whether to run or exit with a failure.
source code
 
PrepRapi(options, _)
Prep remote API function, executed with the PID file held.
source code
 
ExecRapi(options, args, prep_data)
Main remote API function, executed with the PID file held.
source code
 
Main()
Main function.
source code

Imports: logging, optparse, sys, constants, http, daemon, ssconf, rpcerr, serializer, pathutils, connector, baserlib, basic_auth, pam, ganeti