Revision 24683dda
b/snf-cyclades-app/synnefo/logic/management/commands/backend-list.py | ||
---|---|---|
54 | 54 |
|
55 | 55 |
backends = Backend.objects.order_by('id') |
56 | 56 |
|
57 |
labels = ('id', 'clustername', 'port', 'username', "vm's", 'drained',
|
|
57 |
labels = ('id', 'clustername', 'port', 'username', "VMs", 'drained',
|
|
58 | 58 |
'offline') |
59 | 59 |
columns = (3, 50, 5, 10, 4, 6, 6) |
60 | 60 |
|
b/snf-cyclades-app/synnefo/logic/management/commands/reconcile.py | ||
---|---|---|
170 | 170 |
|
171 | 171 |
unsynced_nics = reconciliation.unsynced_nics(DBNics, GNics) |
172 | 172 |
if len(unsynced_nics) > 0: |
173 |
print >> sys.stderr, "The nics of servers with the folloing ID's "\
|
|
173 |
print >> sys.stderr, "The NICs of servers with the folloing IDs "\
|
|
174 | 174 |
"are unsynced:" |
175 | 175 |
for id, nics in unsynced_nics.items(): |
176 | 176 |
print ''.ljust(2) + '%6d:' % id |
Also available in: Unified diff