Change in ovirt-hosted-engine-ha[ovirt-hosted-engine-ha-1.3]: Tool to convert OVF to VDSM create VM parameters

msivak at redhat.com msivak at redhat.com
Tue Jan 5 10:28:38 UTC 2016


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-schema.json

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 at redhat.com>
Signed-off-by: Simone Tiraboschi <stirabos at redhat.com>
Signed-off-by: Sandro Bonazzola <sbonazzo at 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: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie7dd763dd701158e945ed2006520c6a073318d2c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: ovirt-hosted-engine-ha-1.3
Gerrit-Owner: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list