Change in vdsm[master]: vdsm: added documentation for downloadImage method

cshereme at redhat.com cshereme at redhat.com
Fri Mar 6 00:05:54 UTC 2015


Candace Sheremeta has posted comments on this change.

Change subject: vdsm: added documentation for downloadImage method
......................................................................


Patch Set 5:

(1 comment)

https://gerrit.ovirt.org/#/c/37934/5/client/vdsClient.py
File client/vdsClient.py:

Line 2612: '
copy of console output:

downloadImage
	<methodArgs> <spUUID> <sdUUID> <imgUUID> [<volUUID>]
	Download an image from a remote endpoint using the specified methodArgs.
	Arguments:
	    methodArgs:    Python dictionary literal specifying the download
	                   method. The dictionary must be quoted (e.g.
	                   '{"methodArgs": {"url": ...}')
	                   Keys:
	                   - url:         url of the source image
	                   - headers:     dictionary of headers (optional)
	                   - method:      currently only "http" is supported
	    spUUID:        UUID of the Storage Pool associated with the Image
	    sdUUID:        UUID of the Storage Domain associated with the Image
	    imgUUID:       UUID of the Image
	    volUUID:       UUID of the Volume (optional)
	Returns: A task UUID
	Example:
	vdsClient -s 0 downloadImage \ 
	  {"url": "http://example.com/myimage", "headers": {"Foo": "Bar"}, \ 
	  "method": "http"} spUUID sdUUID imgUUID


-- 
To view, visit https://gerrit.ovirt.org/37934
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Icb26a36734e2381473aee81614c924c3f285e86c
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Candace Sheremeta <cshereme at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Ala Hino <ahino at redhat.com>
Gerrit-Reviewer: Amit Aviram <aaviram at redhat.com>
Gerrit-Reviewer: Candace Sheremeta <cshereme at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Vered Volansky <vvolansk at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list