jaypipes@serialcoder:~/src/git.openstack.org/openstack/nova/nova$ ack-grep --ignore-dir 
tests --ignore-dir locale "volume_api.create"
compute/api.py
2982:                snapshot = self.volume_api.create_snapshot_force(

api/openstack/compute/volumes.py
185:            new_volume = self.volume_api.create(
582:            create_func = self.volume_api.create_snapshot_force
584:            create_func = self.volume_api.create_snapshot

virt/block_device.py
63:    :returns: The availability_zone value to pass to volume_api.create
487:            vol = volume_api.create(context, self.volume_size, '', '',
508:            vol = volume_api.create(context, self.volume_size,
530:            vol = volume_api.create(context, self.volume_size, vol_name, '',

Best,
-jay

On 04/06/2017 03:29 AM, 李田清 wrote:
Hello,
    If we use nova boot from image and created volume, i think the nova will
    use volume/cinder.py:create to create volume. But after insert pdb,
i do not find
    the specific code of line to call the create. Can someone help me to
point out the
    code of the line? Thanks a lot.


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to