~cbehrens/nova/rpc-kombu

« back to all changes in this revision

Viewing changes to nova/virt/fake.py

  • Committer: Mark Washenberger
  • Date: 2011-03-15 18:19:47 UTC
  • mfrom: (806 nova)
  • mto: This revision was merged to the branch mainline in revision 814.
  • Revision ID: mark.washenberger@rackspace.com-20110315181947-no5rfi12g7fa75sm
mergeĀ lp:nova

Show diffs side-by-side

added added

removed removed

Lines of Context:
407
407
        """
408
408
        return True
409
409
 
 
410
    def update_available_resource(self, ctxt, host):
 
411
        """This method is supported only by libvirt."""
 
412
        return
 
413
 
 
414
    def compare_cpu(self, xml):
 
415
        """This method is supported only by libvirt."""
 
416
        raise NotImplementedError('This method is supported only by libvirt.')
 
417
 
 
418
    def ensure_filtering_rules_for_instance(self, instance_ref):
 
419
        """This method is supported only by libvirt."""
 
420
        raise NotImplementedError('This method is supported only by libvirt.')
 
421
 
 
422
    def live_migration(self, context, instance_ref, dest,
 
423
                       post_method, recover_method):
 
424
        """This method is supported only by libvirt."""
 
425
        return
 
426
 
 
427
    def unfilter_instance(self, instance_ref):
 
428
        """This method is supported only by libvirt."""
 
429
        raise NotImplementedError('This method is supported only by libvirt.')
 
430
 
410
431
 
411
432
class FakeInstance(object):
412
433