hpe-storage/python-3parclient

Def "createVolume" optional support for tdvv vv's not documented for python-3parclient (4.2.2)

Opened this issue · 0 comments

cchib commented

InForm OS versions ------------------
Release version 3.2.2.390 (MU2)
Patches: P11,P14,P15,P19

Def createVolume Call eg. -----------------------
cl.createVolume("vol44v", "SSD_r1", 10000, {'id':93,'snapCPG':'SSD_r5','tdvv':True,'usrSpcAllocWarningPct':70})

Result - (cl.getVolume("vol44v") --------Was Created Successfully-----------
u'baseId': 93,
u'capacityEfficiency': {u'compaction': 20.0, u'deduplication': 0.0},
u'copyType': 1,
u'id': 93,
u'name': u'vol44v',
u'provisioningType': 6,

Directory Location : /usr/local/lib/python2.7/dist-packages/hpe3parclient ----------
def createVolume(self, name, cpgName, sizeMiB, optional=None):
"""Create a new volume. Removed left comments for brevity

        optional = {
         """removed rest informartion for brevity
         'tpvv': True,                # True: Create TPVV
         """removed rest informartion for brevity
        }