Revision 207b70d5 tools/cloud
b/tools/cloud | ||
---|---|---|
29 | 29 |
if 'values' in net: |
30 | 30 |
addr = '[%s]' % ' '.join(ip['addr'] for ip in net['values']) |
31 | 31 |
|
32 |
val = '%d/%s %s %s' % (net['id'], net['name'], net['mac'], addr)
|
|
32 |
val = '%s/%s %s %s' % (net['id'], net['name'], net['mac'], addr)
|
|
33 | 33 |
print '%s %s' % (key, val) |
34 | 34 |
|
35 | 35 |
def print_dict(d, show_empty=True): |
Also available in: Unified diff