1. 03 Nov, 2011 4 commits
  2. 02 Nov, 2011 3 commits
  3. 01 Nov, 2011 1 commit
    • Andrea Spadaccini's avatar
      Generalize HooksMaster · 949dcb1d
      Andrea Spadaccini authored
      
      
      - remove any dependence on Logical Units from the HooksMaster;
      - add a new function parameter to the constructor, a function that is
        expected to convert the results of the hooks execution in a format
        understood by the HooksMaster;
      - add a factory method that builds a HooksMaster from a LU, keeping the
        interface of the old constructor of HooksMaster;
      - remove usage of Processor.hmclass from external classes, introducing
        the Processor.BuildHooksMaster method;
      - update unit tests.
      Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      949dcb1d
  4. 28 Oct, 2011 1 commit
  5. 26 Oct, 2011 3 commits
  6. 24 Oct, 2011 1 commit
  7. 20 Oct, 2011 3 commits
  8. 19 Oct, 2011 1 commit
  9. 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
  10. 07 Oct, 2011 1 commit
  11. 05 Oct, 2011 4 commits
  12. 04 Oct, 2011 1 commit
  13. 03 Oct, 2011 1 commit
  14. 30 Sep, 2011 5 commits
  15. 29 Sep, 2011 2 commits
    • Andrea Spadaccini's avatar
      Add memory transfer progress info to migration · 61643226
      Andrea Spadaccini authored
      
      
      * hypervisor/hv_kvm.py
        - parse the memory transfer status
      
      * cmdlib.py
        - represent memory transfer info, if available
      Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      61643226
    • Andrea Spadaccini's avatar
      Make migration RPC non-blocking · 6a1434d7
      Andrea Spadaccini authored
      
      
      To add status reporting for the KVM migration, the instance_migrate RPC
      must be non-blocking. Moreover, there must be a way to represent the
      migration status and a way to fetch it.
      
      * constants.py:
        - add constants representing the migration statuses
      
      * objects.py:
        - add the MigrationStatus object
      
      * hypervisor/hv_base.py
        - change the FinalizeMigration method name to FinalizeMigrationDst
        - add the FinalizeMigrationSource method
        - add the GetMigrationStatus method
      
      * hypervisor/hv_kvm.py
        - change the implementation of MigrateInstance to be non-blocking
          (i.e. do not poll the status of the migration)
        - implement the new methods defined in BaseHypervisor
      
      * backend.py, server/noded.py, rpc.py
        - add methods to call the new hypervisor methods
        - fix documentation of the existing methods to reflect the changes
      
      * cmdlib.py
        - adapt the logic of TLMigrateInstance._ExecMigration to reflect
          the changes
      Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      6a1434d7
  16. 28 Sep, 2011 3 commits
  17. 20 Sep, 2011 1 commit
  18. 31 Aug, 2011 2 commits
  19. 30 Aug, 2011 1 commit
  20. 26 Aug, 2011 1 commit