Revision 2feecf12
b/daemons/ganeti-masterd | ||
---|---|---|
53 | 53 |
from ganeti import workerpool |
54 | 54 |
from ganeti import rpc |
55 | 55 |
from ganeti import bootstrap |
56 |
from ganeti import serializer |
|
57 | 56 |
|
58 | 57 |
|
59 | 58 |
CLIENT_REQUEST_WORKERS = 16 |
b/lib/rapi/baserlib.py | ||
---|---|---|
234 | 234 |
self.queryargs = queryargs |
235 | 235 |
self._req = req |
236 | 236 |
|
237 |
request_body = property(fget=lambda self: self._req.private.body_data) |
|
237 |
def _GetRequestBody(self): |
|
238 |
"""Returns the body data. |
|
239 |
|
|
240 |
""" |
|
241 |
return self._req.private.body_data |
|
242 |
|
|
243 |
request_body = property(fget=_GetRequestBody) |
|
238 | 244 |
|
239 | 245 |
def _checkIntVariable(self, name, default=0): |
240 | 246 |
"""Return the parsed value of an int argument. |
Also available in: Unified diff