def ex_add_storage_to_node(self, node, amount,
                               speed='STANDARD', scsi_id=None):
        update_node = ET.Element('addDisk',
                                 {'xmlns': TYPES_URN})
        update_node.set('id', node.id)
        ET.SubElement(update_node, 'sizeGb').text = str(amount)
        ET.SubElement(update_node, 'speed').text = speed.upper()
        if scsi_id is not None:
            ET.SubElement(update_node, 'scsiId').text = str(scsi_id)

        result = self.connection.request_with_orgId_api_2(
            'server/addDisk',
            method='POST',
            data=ET.tostring(update_node)).object
        response_code = findtext(result, 'responseCode', TYPES_URN)
        return response_code in ['IN_PROGRESS', 'OK']
Add storage to the node
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py/DimensionDataNodeDriver.ex_add_storage_to_node