Revision e8234183 snf-cyclades-app/synnefo/logic/backend.py
b/snf-cyclades-app/synnefo/logic/backend.py | ||
---|---|---|
472 | 472 |
for subnet in network.subnets.all(): |
473 | 473 |
if subnet.ipversion == 4: |
474 | 474 |
subnet.ip_pools.all().delete() |
475 |
# And all the backend networks since there are useless |
|
476 |
network.backend_networks.all().delete() |
|
475 | 477 |
|
476 | 478 |
# Issue commission |
477 | 479 |
if network.userid: |
Also available in: Unified diff