~rackspace-titan/nova/api-profiling

« back to all changes in this revision

Viewing changes to nova/virt/xenapi_conn.py

  • Committer: Tarmac
  • Author(s): Isaku Yamahata
  • Date: 2011-06-17 23:52:22 UTC
  • mfrom: (1003.9.21 my-nova-18-fix-3)
  • Revision ID: tarmac-20110617235222-yz6wrae1k8jcsz86
Implements a portion of ec2 ebs boot.
What's implemented
- block_device_mapping option for run instance with volume
  (ephemeral device and no device isn't supported yet)
- stop/start instance

TODO:
- ephemeral device/no device
- machine image

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
    def list_instances_detail(self):
195
195
        return self._vmops.list_instances_detail()
196
196
 
197
 
    def spawn(self, instance):
 
197
    def spawn(self, instance, network_info=None, block_device_mapping=None):
198
198
        """Create VM instance"""
199
199
        self._vmops.spawn(instance)
200
200