module documentation
Ganeti RAPI client.
Unknown Field: attention | |
To use the RAPI client, the application must call pycurl.global_init during initialization and pycurl.global_cleanup before exiting the process. This is very important in multi-threaded programs. See curl_global_init(3) and curl_global_cleanup(3) for details. The decorator UsesRapiClient can be used. |
Class |
|
Ganeti RAPI client. |
Exception |
|
Raised when a problem is found with the SSL certificate. |
Exception |
|
Base error class for this module. |
Exception |
|
Generic error raised from Ganeti API. |
Function |
|
Return the current timestamp expressed as number of nanoseconds since the unix epoch |
Function |
|
Curl configuration function generator. |
Function |
|
Decorator for code using RAPI client to initialize pycURL. |
Constant | ECODE |
Undocumented |
Constant | ECODE |
Undocumented |
Constant | ECODE |
Undocumented |
Constant | ECODE |
Undocumented |
Constant | ECODE |
Undocumented |
Constant | ECODE |
Undocumented |
Constant | ECODE |
Undocumented |
Constant | ECODE |
Undocumented |
Constant | ECODE |
Undocumented |
Constant | ECODE |
Undocumented |
Constant | ECODE |
Undocumented |
Constant | GANETI |
Undocumented |
Constant | GANETI |
Undocumented |
Constant | HTTP |
Undocumented |
Constant | HTTP |
Undocumented |
Constant | HTTP |
Undocumented |
Constant | HTTP |
Undocumented |
Constant | HTTP |
Undocumented |
Constant | HTTP |
Undocumented |
Constant | HTTP |
Undocumented |
Constant | INST |
Undocumented |
Constant | INST |
Undocumented |
Constant | JOB |
Undocumented |
Constant | JOB |
Undocumented |
Constant | JOB |
Undocumented |
Constant | JOB |
Undocumented |
Constant | JOB |
Undocumented |
Constant | JOB |
Undocumented |
Constant | JOB |
Undocumented |
Constant | JOB |
Undocumented |
Constant | JOB |
Undocumented |
Constant | JOB |
Undocumented |
Constant | NODE |
Undocumented |
Constant | NODE |
Undocumented |
Constant | NODE |
Undocumented |
Constant | NODE |
Undocumented |
Constant | NODE |
Undocumented |
Constant | NODE |
Undocumented |
Constant | NODE |
Undocumented |
Constant | NODE |
Undocumented |
Constant | NODE |
Undocumented |
Constant | NODE |
Undocumented |
Constant | REPLACE |
Undocumented |
Constant | REPLACE |
Undocumented |
Constant | REPLACE |
Undocumented |
Constant | REPLACE |
Undocumented |
Class | _ |
Stream that lazy-allocates its buffer based on the first write's type |
Function | _ |
Appends a "dry-run" parameter if a condition evaluates to truth. |
Function | _ |
Appends a "force" parameter if a condition evaluates to truth. |
Function | _ |
Appends to a list if a condition evaluates to truth. |
Function | _ |
Appends an element to the reason trail. |
Function | _ |
Sets an item if a condition evaluates to truth. |
Constant | _CURL |
Undocumented |
Constant | _QPARAM |
Undocumented |
Constant | _QPARAM |
Undocumented |
Constant | _REQ |
Undocumented |
Return the current timestamp expressed as number of nanoseconds since the unix epoch
Returns | |
nanoseconds since the Unix epoch |
def GenericCurlConfig(verbose=False, use_signal=False, use_curl_cabundle=False, cafile=None, capath=None, proxy=None, verify_hostname=False, connect_timeout=None, timeout=None, _pycurl_version_fn=pycurl.version_info):
¶
Curl configuration function generator.
Parameters | |
verbose:bool | Whether to set cURL to verbose mode |
use | Whether to allow cURL to use signals |
use | Whether to use cURL's default CA bundle |
cafile:string | In which file we can find the certificates |
capath:string | In which directory we can find the certificates |
proxy:string | Proxy to use, None for default behaviour and empty string for disabling proxies (see curl_easy_setopt(3)) |
verify | Whether to verify the remote peer certificate's commonName |
connect | Timeout for establishing connection in seconds |
timeout:number | Timeout for complete transfer in seconds (see curl_easy_setopt(3)). |
_pycurl | Undocumented |
ECODE_ALL =
¶
Undocumented
Value |
|
JOB_STATUS_ALL =
¶
Undocumented
Value |
|
JOB_STATUS_FINALIZED =
¶
Undocumented
Value |
|
JOB_STATUS_PENDING =
¶
Undocumented
Value |
|
Appends an element to the reason trail.
If the user provided a reason, it is added to the reason trail.
_CURL_SSL_CERT_ERRORS =
¶
Undocumented
Value |
|