Revision 2fd11a01 snf-common/synnefo/lib/quotaholder/api/quotaholder.py
b/snf-common/synnefo/lib/quotaholder/api/quotaholder.py | ||
---|---|---|
92 | 92 |
regex = '(ACCEPT|REJECT):.*', |
93 | 93 |
maxlen = 128 ) |
94 | 94 |
|
95 |
Bool = Integer(classname='Bool') |
|
96 |
|
|
97 | 95 |
class QuotaholderAPI(Specificator): |
98 | 96 |
|
99 | 97 |
def create_entity ( |
... | ... | |
248 | 246 |
rejected = ListOf(Entity, Resource) |
249 | 247 |
return rejected |
250 | 248 |
|
251 |
def ack_serial (
|
|
249 |
def query_serials (
|
|
252 | 250 |
self, |
253 | 251 |
context = Context, |
254 | 252 |
clientkey = ClientKey, |
255 |
serial = Serial, |
|
256 |
fetch_args = Bool |
|
253 |
serials = ListOf(Serial) |
|
254 |
): |
|
255 |
return ListOf(Serial) |
|
256 |
|
|
257 |
def ack_serials ( |
|
258 |
self, |
|
259 |
context = Context, |
|
260 |
clientkey = ClientKey, |
|
261 |
serials = ListOf(Serial) |
|
257 | 262 |
): |
258 |
return ListOf(Entity, Resource)
|
|
263 |
return Nothing
|
|
259 | 264 |
|
260 | 265 |
def issue_commission ( |
261 | 266 |
self, |
Also available in: Unified diff