Ask Your Question

how can i get volume name in create snapshot call

asked 2013-10-10 08:11:03 -0500

dinakar-gm gravatar image

updated 2013-10-11 17:38:01 -0500

smaffulli gravatar image

we are in progress of implementing a new driver for cinder services , we have a scenario where we need volume name for creation of snapshot. In detail , we designed the driver in such a way that it communicates with our server through http calls , and now we need the volume name and other details in create snapshot function , how can we get those details

edit retag flag offensive close merge delete


I suggest you engage with OpenStack developers on the dev mailing list: and on IRC #openstack-dev

smaffulli gravatar imagesmaffulli ( 2013-10-11 17:37:53 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-11-01 13:50:53 -0500

jgriffith gravatar image

The create_snapshot method takes a source_volume reference object as a parameter. That volume ref object has the name (and other needed items). Have a look at for an example.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-10-10 08:11:03 -0500

Seen: 80 times

Last updated: Nov 01 '13