Revision 9122ffab snf-cyclades-app/synnefo/quotas/management/commands/reconcile-resources-cyclades.py
b/snf-cyclades-app/synnefo/quotas/management/commands/reconcile-resources-cyclades.py | ||
---|---|---|
31 | 31 |
# interpreted as representing official policies, either expressed |
32 | 32 |
# or implied, of GRNET S.A. |
33 | 33 |
|
34 |
from datetime import datetime |
|
34 | 35 |
from django.core.management.base import BaseCommand |
35 | 36 |
from optparse import make_option |
36 | 37 |
|
... | ... | |
123 | 124 |
request = {} |
124 | 125 |
request["force"] = options["force"] |
125 | 126 |
request["auto_accept"] = True |
126 |
request["name"] = "RECONCILE" |
|
127 |
request["name"] = \ |
|
128 |
("client: reconcile-resources-cyclades, time: %s" |
|
129 |
% datetime.now()) |
|
127 | 130 |
request["provisions"] = map(create_provision, unsynced) |
128 | 131 |
try: |
129 | 132 |
qh.issue_commission(ASTAKOS_TOKEN, request) |
Also available in: Unified diff