~sandy-walsh/nova/zones

« back to all changes in this revision

Viewing changes to nova/virt/xenapi/fake.py

  • Committer: Sandy Walsh
  • Date: 2011-02-17 21:39:03 UTC
  • mfrom: (635.1.60 nova)
  • Revision ID: sandy.walsh@rackspace.com-20110217213903-swehe88wea8inxow
changed from 003-004 migration

Show diffs side-by-side

added added

removed removed

Lines of Context:
286
286
        rec['currently_attached'] = False
287
287
        rec['device'] = ''
288
288
 
 
289
    def host_compute_free_memory(self, _1, ref):
 
290
        #Always return 12GB available
 
291
        return 12 * 1024 * 1024 * 1024
 
292
 
289
293
    def xenapi_request(self, methodname, params):
290
294
        if methodname.startswith('login'):
291
295
            self._login(methodname, params)