Revision 3f18f035 snf-cyclades-app/synnefo/logic/networks.py

b/snf-cyclades-app/synnefo/logic/networks.py
160 160
        raise faults.Conflict(msg)
161 161

  
162 162
    network.action = "DESTROY"
163
    # Mark network as drained to prevent automatic allocation of
164
    # public/floating IPs while the network is being deleted
165
    network.drained = True
163 166
    network.save()
164 167

  
165 168
    # Delete network to all backends that exists

Also available in: Unified diff