1. 07 Oct, 2013 8 commits
    • Christos Stavrakakis's avatar
      cyclades: Refactor reconciliation of pools · 33fe9eb8
      Christos Stavrakakis authored
      Move reconciliation of IP pools from 'snf-manage reconcile-networks'
      to 'snf-manage reconcile-pools'. Also change the way reconciliation
      works: Instead of reconciling the IP pools in DB with the IP pools in
      Ganeti, the new reconciliation just checks that:
      * there is no IPv4 address that is used by more than one NICs
      * the only reserved values in the pools are the ones that are currently
        used by NICs
      The reason why reconciliation of pools with Ganeti has been removed is
      that there are too many race conditions, and that it may result in
      strange incosistencies. As far as external reservations is concerned,
      the new reconciliation mechanism just checks that each IP that is
      reserved in a Ganeti backend is also reserved in the Cyclades DB.
    • Christos Stavrakakis's avatar
      cyclades: Make (network, ipv4) unique for each NIC · b7dae491
      Christos Stavrakakis authored
      Add a unique constraint to NetworkInterface model. This constraint
      asserts that the same IPv4 address from the same network will no be
      assigned to more than one NICs.
    • Christos Stavrakakis's avatar
      cyclades: Refactor network-modify command · 9ab7429a
      Christos Stavrakakis authored
      Refactor snf-manage network-modify command. Remove options that modified
      link, mac_prefix, mode, enable_dhcp or state of the network. This
      options modified only the network in DB and resulted in incosistencies
      between Cyclades DB and Ganeti.
    • Christos Stavrakakis's avatar
      cyclades: Add --action option in server-modify cmd · d14992ab
      Christos Stavrakakis authored
      Add --action option in server modify command, to start, stop or reboot
      an instance.
    • Christos Stavrakakis's avatar
      cyclades: Resize server from management command · 3fc6b2c6
      Christos Stavrakakis authored
      Add the --flavor option in server-modify management command to resize a
      server to a different flavor.
    • Christos Stavrakakis's avatar
      cyclades: Fix server-modify management command · 309099a4
      Christos Stavrakakis authored
      * Change --set-suspended and --unsuspended to --suspended=True|False
      * Removed --set-deleted as snf-manage server-remove can be used.
      * Removed option for modifying the state of a server.
    • Christos Stavrakakis's avatar
      cyclades: Refactor code for renaming a server · 373ab544
      Christos Stavrakakis authored
      Created function for renaming a server.
    • Christos Stavrakakis's avatar
      cyclades: Fix bug in backend_allocator · a5bd4611
      Christos Stavrakakis authored
      The 'disk_template' attribute for flavors of external disk template
      included the name of the provider. The backend allocator tried to find a
      backend with an enabled 'ext_$(provider)' disk template. This commit
      fixes this by searching only for 'ext' in the enabled disk templates.
  2. 04 Oct, 2013 3 commits
  3. 03 Oct, 2013 9 commits
  4. 02 Oct, 2013 12 commits
  5. 01 Oct, 2013 8 commits