1. 13 Feb, 2014 1 commit
  2. 17 Dec, 2013 1 commit
  3. 16 Dec, 2013 1 commit
  4. 04 Dec, 2013 2 commits
  5. 02 Dec, 2013 1 commit
    • Christos Stavrakakis's avatar
      cyclades: Fix wrong state of deleted networks · 6849b899
      Christos Stavrakakis authored
      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.
      6849b899
  6. 06 Nov, 2013 3 commits
  7. 04 Nov, 2013 2 commits
    • Christos Stavrakakis's avatar
      cyclades: Forbid new ports no deleting network · 395f0023
      Christos Stavrakakis authored
      Do not allow creation of new ports and reservation of floating IPs on
      network that are being deleted. Currently the state of the network
      changes only when the network gets deleted from all backends. So we
      check if a network is being deleted by checking if the action of the
      network is 'DESTROY'.
      395f0023
    • Christos Stavrakakis's avatar
      cyclades: Series of fixes regarding networks & ips · eea48fa9
      Christos Stavrakakis authored
      * Do not delete the network from the DB if it has associated floating
        IPs. This should never be the case because a check is made before
        deleting the network, however this check is added for safety.
      * Do not allow deleting a network if there are still ports configured on
        on that network. Until now this check was for machines, but there may
        be ports that are not connected to any machine.
      * Delete subnet IP pools when network is deleted.
      * Get network in locked mode in network-remove cmd.
      * Log error if trying to release an IPv4 address that does not belong to
        any of the IP pools of the associated subnet.
      * Excluded deleted IPv4 addresses when reconciling IP pools.
      * Do not set the network action to destroy when removing network from
        some backend.
      eea48fa9
  8. 29 Oct, 2013 2 commits
  9. 14 Oct, 2013 1 commit
  10. 10 Oct, 2013 2 commits
  11. 06 Aug, 2013 3 commits
  12. 25 Jul, 2013 1 commit
  13. 24 Jul, 2013 2 commits
  14. 17 Jul, 2013 2 commits
  15. 02 Jul, 2013 1 commit