« Previous | Next » 

Revision 6176e251

ID6176e251aa4a83e16dded2533ec096ab7495975e

Added by Christos Stavrakakis about 7 years ago

cyclades: Fix wrong state of deleted networks

Before deleting a network, the network is marked as drained to be
excluded from automatic IP allocation. The state of the network that is
exposed in the API is always 'SNF:DRAINED' if the drained flag is set.
This resulted in deleted networks to appear as 'SNF:DRAINED'. This
commit fixes this issue by clearing the 'drained' flag when deleting the
network.

Also, this commit sets the 'drained' flag only when deleting public
networks that can take part in automatic IP allocation. For private
networs setting this flag is not needed.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences