Statistics
| Branch: | Tag: | Revision:

root / lib / rapi @ 808cb0ee

Name Size
__init__.py 958 Bytes
baserlib.py 21.9 kB
client.py 72.5 kB
client_utils.py 2.5 kB
connector.py 9.2 kB
rlib2.py 40.3 kB
testutils.py 10 kB

Latest revisions

# Date Author Comment
36b6d149 05/22/2014 02:18 pm Thomas Thrainer

Merge branch 'stable-2.11' into stable-2.12

  • stable-2.11
    (no commits)
  • stable-2.10
    tiered allocation: try canonical search path first
    Add QA config flag for all performance tests
    build-bash-completion: reduce branches
    Convert all the classes to new-style classes...
98da4d04 05/22/2014 01:58 pm Thomas Thrainer

Merge branch 'stable-2.10' into stable-2.11

  • stable-2.10
    tiered allocation: try canonical search path first
    Add QA config flag for all performance tests
    build-bash-completion: reduce branches
    Convert all the classes to new-style classes

Signed-off-by: Thomas Thrainer <>...

876fb142 05/22/2014 11:13 am Helga Velroyen

Convert all the classes to new-style classes

... to make lint shut up.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Jose Lopes <>

63324095 05/16/2014 02:21 pm Petr Pudlak

Use Luxid for querying cluster tags instead of SSConf

Not only there is no reason to use SSConf for that.
Using it caused problems and failed tests as the query didn't get the
latest information due to distribution delays.

Signed-off-by: Petr Pudlak <>...

14a31771 05/13/2014 11:36 am Hrvoje Ribicic

Forbid the compression tools from being set over RAPI

Although we impose restrictions on what can be input as a compression
tool, someone with RAPI credentials could choose and execute a number
of commands by first setting the custom tools and then executing them....

83a5fb86 05/13/2014 11:36 am Hrvoje Ribicic

Fix minor RAPI forbidden parameter handler error

The forbidden parameter functionality did not work if renames were not
present due to a missing default. This patch fixes the issue.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

a9994091 04/11/2014 07:23 pm Hrvoje Ribicic

Add docstrings for <method>_FORBIDDEN usage

This patch expands the docstrings of the RAPI metaclass with
information on the new FORBIDDEN parameter definitions.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Klaus Aehlig <>

1443e76b 04/11/2014 07:23 pm Hrvoje Ribicic

Add refusal of requests with forbidden parameters

This patch provides the meat of the patch series by wrapping method
handlers in a function which examines parameters, and determines if
any of them are forbidden, whether specific values or in general.

Signed-off-by: Hrvoje Ribicic <>...

54352d1e 04/11/2014 07:23 pm Hrvoje Ribicic

Minor preparations for forbidden params in RAPI handlers

This patch prepares the way for defining forbidden parameters in RAPI
handler classes as is done with renames and the like. No implementation
of the logic is present here, just the expansion of expected...

14047f60 04/11/2014 07:23 pm Hrvoje Ribicic

Make RAPI opcode attributes use a class and not a tuple

The tuple approach to storing opcode attributes might have worked when
there were four possible modifiers per method, but with aliases this
number has been pushed to five, and with forbidden parameters it will...

View revisions

Also available in: Atom