Revision bac6ed1e
b/snf-cyclades-app/synnefo/logic/backend.py | ||
---|---|---|
834 | 834 |
# network with a dummy network subnet, and make Cyclades connect instances |
835 | 835 |
# to such networks, with address=None. |
836 | 836 |
if subnet is None: |
837 |
subnet = "10.0.0.0/24"
|
|
837 |
subnet = "10.0.0.0/30"
|
|
838 | 838 |
|
839 | 839 |
try: |
840 | 840 |
bn = BackendNetwork.objects.get(network=network, backend=backend) |
b/snf-cyclades-app/synnefo/management/pprint.py | ||
---|---|---|
117 | 117 |
pprint_table(stdout, g_net.items(), None, |
118 | 118 |
title="State of network in backend: %s" % |
119 | 119 |
backend.clustername) |
120 |
pprint_pool(None, ip_map, 80, stdout) |
|
120 |
if network.subnet4 is not None: |
|
121 |
pprint_pool(None, ip_map, 80, stdout) |
|
121 | 122 |
except GanetiApiError as e: |
122 | 123 |
if e.code == 404: |
123 | 124 |
stdout.write('Network does not exist in backend %s\n' % |
Also available in: Unified diff