1. 08 Oct, 2007 2 commits
    • Iustin Pop's avatar
      Add source file option for {add,remove}-tags · 810c50b7
      Iustin Pop authored
      This patch adds a '--from' option to the {add,remove}-tags commands that
      allows the command to read from a file or from stdin (when passing a
      dash for the filename).
      Reviewed-by: imsnah
    • Iustin Pop's avatar
      Implement command-line tags support · 846baef9
      Iustin Pop authored
      This patch adds generic functions for tag manipulations to cli.py and
      modifies gnt-{cluster,node,instance} to export {list,add,remove}-tags
      commands that use those.
      Reviewed-by: imsnah
  2. 02 Oct, 2007 1 commit
    • Guido Trotter's avatar
      Add warning on gnt-node add operation. · 99e8bbde
      Guido Trotter authored
      People might not have read all the documentation and might not expect their ssh configuration
      and specially keys to be changed. Adding this warning will inform them before it happens.
      Reviewed-by: iustinp
  3. 14 Sep, 2007 3 commits
    • Iustin Pop's avatar
      Change OpQueryNodes nodes attribute to names · 246e180a
      Iustin Pop authored
      Change this to have the exact same parameters as OpQueryInstances.
      Also fix burnin which is broken since r146.
      Reviewed-by: imsnah
    • Iustin Pop's avatar
      Remove OpQueryNodeData and LUQueryNodeData · 4a72cc75
      Iustin Pop authored
      Now that LUQueryNodes supports all the functionality of LUQueryNodeData,
      let's migrate gnt-node.ShowNodeConfig to use it and remove all traces of
      OpQueryNodeData and LUQueryNodeData.
      Reviewed-by: imsnah
    • Iustin Pop's avatar
      Change LUQueryNodes to return raw values and support selective listing · ec223efb
      Iustin Pop authored
      LUQueryNodes it's very similar to LUQueryNodeData, but it lacks two
        - instance list (it has count though), both primary and secondary
        - selective node listing
      In order to support these features, we change it to return raw values
      instead of stringified ones (like the recent change to LUQueryInstances)
      and to support query-ing of a restricted set of nodes.
      This CL also modifies the gnt-node script to conform to the new protocol
      and the opcode OpQueryNodes to support the new "nodes" attribute.
      Reviewed-by: imsnah
  4. 17 Aug, 2007 1 commit
    • Iustin Pop's avatar
      Change cli.OutputTable to cli.GenerateTable · 16be8703
      Iustin Pop authored
      Since the table generation might be useful elsewhere, let's change it to
      return the data instead of directly printing it.
      Its callers have also been updated.
      Reviewed-by: imsnah
  5. 14 Aug, 2007 1 commit
    • Iustin Pop's avatar
      Style changes for pep-8 and python-3000 compliance. · 3ecf6786
      Iustin Pop authored
      This changes the raising of exceptions from:
        raise Exception, value
        raise Exception(value)
      as the first form will be removed in python-3000 and the second form is
      preferred now.
      The changes also involve a few cases of changing from raising standard
      exceptions and use our own ones.
      The new version also fixes many pylint-generated warnings, especially in
      ganeti-noded where I changed many methods to @staticmethod.
      There is no functionality changed (barring any bugs).
  6. 24 Jul, 2007 2 commits
  7. 16 Jul, 2007 1 commit