1. 03 Sep, 2012 2 commits
  2. 07 Aug, 2012 1 commit
    • Iustin Pop's avatar
      Switch job IDs to numeric · 76b62028
      Iustin Pop authored
      
      
      This has been a long-standing cleanup item, which we've always
      refrained from doing due to the high estimated effort needed.
      
      In reality, it turned out that after some infrastructure improvements
      (the previous patches), the actual job queue-related changes are quite
      small.
      
      We will need to update the NEWS file later, but so far the RAPI
      documentation doesn't mention that the job ID is a string (it only
      says it is "a number"), so it doesn't look like it needs update.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      76b62028
  3. 20 Jul, 2012 1 commit
  4. 28 Jun, 2012 1 commit
  5. 15 Jun, 2012 1 commit
  6. 14 Jun, 2012 1 commit
  7. 11 May, 2012 1 commit
  8. 20 Apr, 2012 1 commit
  9. 19 Apr, 2012 1 commit
  10. 30 Mar, 2012 1 commit
  11. 21 Feb, 2012 1 commit
  12. 08 Dec, 2011 1 commit
  13. 30 Nov, 2011 1 commit
  14. 22 Nov, 2011 1 commit
  15. 17 Nov, 2011 1 commit
  16. 16 Nov, 2011 3 commits
  17. 07 Nov, 2011 1 commit
  18. 12 Oct, 2011 1 commit
    • Iustin Pop's avatar
      Rename filter and filter_ to qfilter · 2e5c33db
      Iustin Pop authored
      
      
      We currently use 'filter' as the OpCode, QueryRequest and RAPI field
      name for representing a query filter. However, since 'filter' is a
      built-in function, we actually have to use filter_ throughout the code
      in order to not override the built-in function.
      
      This patch simply goes and does a global sed over the code. Due to the
      fact that the RAPI interface already exposed this field, we add
      compatibility code for now which handles both forms.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      2e5c33db
  19. 30 Aug, 2011 1 commit
  20. 03 Aug, 2011 1 commit
  21. 02 Aug, 2011 1 commit
  22. 27 Jul, 2011 1 commit
  23. 11 Jul, 2011 1 commit
  24. 21 Apr, 2011 1 commit
  25. 18 Apr, 2011 1 commit
  26. 05 Apr, 2011 2 commits
  27. 14 Mar, 2011 2 commits
  28. 07 Mar, 2011 1 commit
  29. 02 Mar, 2011 1 commit
  30. 01 Mar, 2011 2 commits
    • Michael Hanselmann's avatar
      query: Add support for filters · fb0be379
      Michael Hanselmann authored
      
      
      This patch adds a “compiler” for query filters, converting them to a
      callable function used while preparing the query result. In addition, a
      hints call allows some analysis to be done on the query (e.g. referenced
      names), making data collection more efficient.
      
      The depth of filters is limited to avoid exceeding the runtime's maximum
      recursion depth.
      
      More operators and other improvements can be implemented using this
      base. Extensive unittests are provided.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      fb0be379
    • Michael Hanselmann's avatar
      Add query field flags · 111bf531
      Michael Hanselmann authored
      
      
      Some fields (e.g. “name”) should be treated specially when comparing for
      equality. Hypervisor names should use normal rules, but for node names,
      “node2” should be equivalent with “node2.example.com”.
      
      To make these differences, a new field for flags is added to the query
      fields. It is not added to ”objects.QueryFieldDefinition” (the first
      item) as it would be exported to clients, something not desired for
      these internal rules. Instead, an additional field is added.
      
      Other special rules, e.g. “a list of strings” for an instance's
      secondary nodes, can be implemented as flags, too.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      111bf531
  31. 24 Feb, 2011 3 commits
  32. 23 Feb, 2011 1 commit