
Martin Sivák has submitted this change and it was merged. Change subject: Tool to convert OVF to VDSM create VM parameters ...................................................................... Tool to convert OVF to VDSM create VM parameters ovf2VmParams 1. toDict(ovf) Take an OVF string and will convert it to consumable VmParameters dict. See VmParameters in VDSM API JSON schema https://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob_plain;f=vdsm/rpc/vdsmapi-s... 2. confFromOvf(ovf) A convenience method for creating the String representation of the params, used by 3.5 ha as vm.conf Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1139793 Change-Id: Ie7dd763dd701158e945ed2006520c6a073318d2c Signed-off-by: Roy Golan <rgolan@redhat.com> Signed-off-by: Simone Tiraboschi <stirabos@redhat.com> Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com> --- M .gitignore M configure.ac M ovirt_hosted_engine_ha/broker/Makefile.am A ovirt_hosted_engine_ha/broker/test/Makefile.am M ovirt_hosted_engine_ha/broker/test/test_monitor.py M ovirt_hosted_engine_ha/env/config.py M ovirt_hosted_engine_ha/lib/Makefile.am M ovirt_hosted_engine_ha/lib/heconflib.py A ovirt_hosted_engine_ha/lib/ovf/Makefile.am A ovirt_hosted_engine_ha/lib/ovf/__init__.py A ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py A ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams_test.py A ovirt_hosted_engine_ha/lib/ovf/ovf_store.py A ovirt_hosted_engine_ha/lib/ovf/ovf_test.xml A ovirt_hosted_engine_ha/lib/ovf/ovfenvelope.py 15 files changed, 9,767 insertions(+), 30 deletions(-) Approvals: Martin Sivák: Looks good to me, approved; Passed CI tests Roy Golan: Verified -- To view, visit https://gerrit.ovirt.org/44542 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie7dd763dd701158e945ed2006520c6a073318d2c Gerrit-PatchSet: 33 Gerrit-Project: ovirt-hosted-engine-ha Gerrit-Branch: master Gerrit-Owner: Roy Golan <rgolan@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Martin Sivák <msivak@redhat.com> Gerrit-Reviewer: Roy Golan <rgolan@redhat.com> Gerrit-Reviewer: Sandro Bonazzola <sbonazzo@redhat.com> Gerrit-Reviewer: Simone Tiraboschi <stirabos@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>