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

Class R_root

source code


/ resource.

Instance Methods [hide private]

Inherited from baserlib.R_Generic: __init__, dryRun, getBodyParameter, useBulk, useForce, useLocking

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

Class Methods [hide private]
 
GET(cls)
Show the list of mapped resources.
source code
Class Variables [hide private]
  _ROOT_PATTERN = re.compile("^R_([a-zA-Z0-9]+)$")

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

GET(cls)
Class Method

source code 

Show the list of mapped resources.

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