Package ganeti :: Package rapi :: Module connector :: Class R_2
[hide private]
[frames] | no frames]

Class R_2

source code


/2 resource, the root of the version 2 API.

Instance Methods [hide private]
 
GET(self)
Show the list of mapped resources.
source code

Inherited from baserlib.R_Generic: __init__, getBodyParameter, getSerialNumber, useBulk, useLocking

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

Class Variables [hide private]
  DOC_URI = "/2"

Inherited from baserlib.R_Generic: DELETE_ACCESS, GET_ACCESS, POST_ACCESS, PUT_ACCESS

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

GET(self)

source code 

Show the list of mapped resources.

Returns:
a dictionary with 'name' and 'uri' keys for each of them.