

def ex_clone_node_to_image(self, node, image_name, image_description=None):
    '\n        Clone a server into a customer image.\n\n        :param  node: The server to clone\n        :type   node: :class:`Node`\n\n        :param  image_name: The name of the clone image\n        :type   image_name: ``str``\n\n        :param  description: The description of the image\n        :type   description: ``str``\n\n        :rtype: ``bool``\n        '
    if (image_description is None):
        image_description = ''
    result = self.connection.request_with_orgId_api_1(('server/%s?clone=%s&desc=%s' % (node.id, image_name, image_name))).object
    response_code = findtext(result, 'result', GENERAL_NS)
    return (response_code in ['IN_PROGRESS', 'SUCCESS'])

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver.ex_clone_node_to_image/VarMisuse@52/214 `image_description`->`image_name`