The cinder.volume.drivers.coprhd.helpers.virtualarray Module

class VirtualArray(ipaddr, port)

Bases: cinder.volume.drivers.coprhd.helpers.commoncoprhdapi.CoprHDResource

URI_VIRTUALARRAY = '/vdc/varrays'
URI_VIRTUALARRAY_BY_VDC_ID = '/vdc/varrays?vdc-id={0}'
URI_VIRTUALARRAY_URI = '/vdc/varrays/{0}'
varray_list(vdcname=None)

Returns all the varrays in a vdc.

Parameters:vdcname – Name of the Virtual Data Center
Returns:JSON payload of varray list
varray_query(name)

Returns the UID of the varray specified by the name.

varray_show(label)

Makes REST API call to retrieve varray details based on name.

Previous topic

The cinder.volume.drivers.coprhd.helpers.urihelper Module

Next topic

The cinder.volume.drivers.coprhd.helpers.virtualpool Module

Project Source

This Page