Package ganeti :: Package rapi :: Module rlib2 :: Class R_2_info
[hide private]
[frames] | no frames]

Class R_2_info

source code


/2/info resource.

Nested Classes [hide private]
  GET_OPCODE
Set this to a class derived from opcodes.OpCode to automatically generate a GET handler submitting the opcode

Inherited from baserlib.OpcodeResource: __metaclass__

Instance Methods [hide private]
 
GET(self)
Returns cluster information.
source code

Inherited from baserlib.ResourceBase: GetAuthReason, GetClient, SubmitJob, __init__, dryRun, getBodyParameter, useBulk, useForce, useLocking

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  GET_ALIASES = {"volume_group_name": "vg_name", "drbd_usermode_...
Set this to duplicate return values in GET results (see baserlib.GetHandler)

Inherited from baserlib.OpcodeResource: DELETE_FORBIDDEN, DELETE_OPCODE, DELETE_RENAME, GET_FORBIDDEN, GET_RENAME, POST_FORBIDDEN, POST_OPCODE, POST_RENAME, PUT_FORBIDDEN, PUT_OPCODE, PUT_RENAME

Inherited from baserlib.ResourceBase: DELETE_ACCESS, GET_ACCESS, POST_ACCESS, PUT_ACCESS, request_body

Instance Variables [hide private]

Inherited from baserlib.OpcodeResource: GetDeleteOpInput, GetGetOpInput, GetPostOpInput, GetPutOpInput

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

GET_ALIASES

Set this to duplicate return values in GET results (see baserlib.GetHandler)
Value:
{"volume_group_name": "vg_name", "drbd_usermode_helper": "drbd_helper"\
,}