Skip to content
Snippets Groups Projects
  1. Oct 18, 2009
    • Iustin Pop's avatar
      Change the Container.findByName function · e7724ccc
      Iustin Pop authored
      This patch changes the signature and implementation of the function;
      returning the item makes more sense (saves a lookup later again in the
      container, and applying idx is cheap), and the previous implementation
      was ugly.
      e7724ccc
    • Iustin Pop's avatar
      Some small style fixes · bbd8efd2
      Iustin Pop authored
      bbd8efd2
    • Iustin Pop's avatar
      Simplify the cstats initializer · 8c9af2f0
      Iustin Pop authored
      Since all values are initialized to zero, the exact ordering is not
      important and thus we can use the positional mode for simpler code.
      
      The patch also adds docstrings to the cstats functions.
      8c9af2f0
    • Iustin Pop's avatar
      Simplify Cluster.computeMoves · 668c03b3
      Iustin Pop authored
      Since we now have an actual type for describing the instance moves
      (IMove), it's simpler to convert this into the move description/move
      commands, rather than re-computing the move based on initial and final
      nodes. This makes the shell commands computation and over-Luxi command
      execution use the same method of computation.
      668c03b3
    • Iustin Pop's avatar
      Remove obsolete export · eb2598ab
      Iustin Pop authored
      The ‘Placement’ type has been moved to Types.hs but we kept exporting it
      from Cluster, which is not needed.
      eb2598ab
    • Iustin Pop's avatar
      Generalise the node/instance listing · c5f7412e
      Iustin Pop authored
      This patch introduces a generic formatTable function (based on, and
      similar to the Ganeti one, but different and more FP in style) and
      changes the node and instance listing to it.
      
      The node list (due to the many variables) is still a little bit hackish
      unfortunately…
      c5f7412e
    • Iustin Pop's avatar
      Fix instance listing for non-redundant case · ad6cffe4
      Iustin Pop authored
      ad6cffe4
  2. Oct 16, 2009
  3. Oct 15, 2009
  4. Oct 14, 2009
  5. Oct 12, 2009
  6. Oct 08, 2009
  7. Oct 02, 2009
Loading