Revision d443e1dd snf-cyclades-app/synnefo/api/management/commands/network-list.py
b/snf-cyclades-app/synnefo/api/management/commands/network-list.py | ||
---|---|---|
128 | 128 |
else: |
129 | 129 |
headers.extend(['IPv4 Subnet', 'IPv4 Gateway']) |
130 | 130 |
|
131 |
uuids = list(set([network.userid for network in networks])) |
|
132 |
ucache.fetch_names(uuids) |
|
131 |
if displayname: |
|
132 |
uuids = list(set([network.userid for network in networks])) |
|
133 |
ucache.fetch_names(uuids) |
|
133 | 134 |
|
134 | 135 |
table = [] |
135 | 136 |
for network in networks.order_by("id"): |
Also available in: Unified diff