On Tue, 10 Apr 2018 12:46:32 +0100
"Richard W.M. Jones" <rjones(a)redhat.com> wrote:
This adds a new output mode to virt-v2v. virt-v2v -o rhv-upload
streams images directly to an oVirt or RHV >= 4 Data Domain using the
oVirt SDK v4. It is more efficient than -o rhv because it does not
need to go via the Export Storage Domain, and is possible for humans
to use unlike -o vdsm.
The implementation uses the Python SDK (‘ovirtsdk4’ module). An
nbdkit Python 3 plugin translates NBD calls from qemu into HTTPS
requests to oVirt via the SDK.
---
.gitignore | 3 +
TODO | 27 ++
v2v/Makefile.am | 30 +-
v2v/cmdline.ml | 41 +++
v2v/embed.sh | 48 ++++
v2v/output_rhv_upload.ml | 401 +++++++++++++++++++++++++++
v2v/output_rhv_upload.mli | 33 +++
v2v/output_rhv_upload_createvm_source.mli | 19 ++
v2v/output_rhv_upload_plugin_source.mli | 19 ++
v2v/output_rhv_upload_precheck_source.mli | 19 ++
v2v/rhv-upload-createvm.py | 86 ++++++
v2v/rhv-upload-plugin.py | 445 ++++++++++++++++++++++++++++++
v2v/rhv-upload-precheck.py | 73 +++++
v2v/test-v2v-o-rhv-upload-oo-query.sh | 38 +++
v2v/test-v2v-python-syntax.sh | 45 +++
v2v/virt-v2v.pod | 138 +++++++--
16 files changed, 1447 insertions(+), 18 deletions(-)
LGTM