Hi DInakar,
Please use volume_name, volume_size,etc. These are volume related
parameters frequently used in snapshots. You can always do *dir* to get any
specific values you need.
Best Regards,
Swapnil
On Wed, Oct 16, 2013 at 10:11 AM, Dinakar Gorti Maruti
dinakar...@cloudbyte.co wrote:
hi,
Hi Swapnil,
I had tried it before , it is returning a string volume
followed by volume id
Thanks
Dinakar
On Wed, Oct 16, 2013 at 10:31 AM, Swapnil Kulkarni
swapnilkulkarni2...@gmail.com wrote:
Hi DInakar,
Please use volume_name, volume_size,etc. These are volume related
display_name parameter of volume
On Wed, Oct 16, 2013 at 10:55 AM, Swapnil Kulkarni
swapnilkulkarni2...@gmail.com wrote:
What exact parameters are you looking for?
On Wed, Oct 16, 2013 at 10:48 AM, Dinakar Gorti Maruti
dinakar...@cloudbyte.co wrote:
Hi Swapnil,
I
I think snapshot[volume_name] is what you are looking for, pls see below
link for ref.
https://github.com/openstack/cinder/blob/stable/grizzly/cinder/volume/drivers/lvm.py#L233
Best Regards,
Swapnil
On Wed, Oct 16, 2013 at 10:57 AM, Dinakar Gorti Maruti
dinakar...@cloudbyte.co wrote:
What exact parameters are you looking for?
On Wed, Oct 16, 2013 at 10:48 AM, Dinakar Gorti Maruti
dinakar...@cloudbyte.co wrote:
Hi Swapnil,
I had tried it before , it is returning a string volume
followed by volume id
Thanks
Dinakar
On Wed, Oct 16, 2013 at 10:31 AM,
Correcting the typo, snapshot_ref['volume_name'] in your case.
On Wed, Oct 16, 2013 at 10:59 AM, Swapnil Kulkarni
swapnilkulkarni2...@gmail.com wrote:
I think snapshot[volume_name] is what you are looking for, pls see below
link for ref.
check Snapshot class , that is the one passed as snapshot_ref
https://github.com/openstack/cinder/blob/stable/grizzly/cinder/db/sqlalchemy/models.py
On Wed, Oct 16, 2013 at 11:02 AM, Swapnil Kulkarni
swapnilkulkarni2...@gmail.com wrote:
Correcting the typo, snapshot_ref['volume_name'] in