Statistics
| Branch: | Tag: | Revision:

root / lib / ovf.py @ f3aebf6f

History | View | Annotate | Download (66 kB)

# Date Author Comment
a50b49b8 10/30/2013 02:58 pm Klaus Aehlig

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Add all dependencies for confd as test dependencies
    Add snap-server to the test-relevenat packages
    Placate warnings on ganeti.outils_unittest.py

Conflicts:
configure.ac: take both additions (and fix)...

c1c235ea 10/24/2013 11:25 am Santi Raffa

Placate warnings on ganeti.outils_unittest.py

Change ovf.py from using 'if foo:' to 'if foo is not None:' checks as
suggested by the FutureWarnings the OVF library raises otherwise.
This fixes issue 557.

Signed-off-by: Santi Raffa <>
Reviewed-by: Jose Lopes <>

78f99abb 08/23/2013 03:12 pm Michele Tartara

Lint improvements to regexps

Fix some regular expressions so that they pass lint checks with newer versions
of pylint.

Signed-off-by: Michele Tartara <>
Reviewed-by: Helga Velroyen <>

08ed6998 11/20/2012 07:51 pm Dimitris Aragiorgis

Minor fix in ovf

Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Iustin Pop <>

6e8091f9 11/20/2012 07:51 pm Dimitris Aragiorgis

Fixes to pass unittests (make check)

Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Iustin Pop <>

a5ad5e58 11/20/2012 07:51 pm Apollon Oikonomopoulos

Peripheral changes for networks

Specifically: * export a new environment variable for the gnt-os-interface * export a new environment variable for KVM specific scripts * ovf support for networks

Signed-off-by: Apollon Oikonomopoulos <>...

fe496b25 09/18/2012 06:09 pm Michael Hanselmann

Migrate lib/ovf.py from constants to pathutils

File system paths moved from constants to pathutils.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

5ae4945a 08/23/2012 02:41 pm Iustin Pop

Bump pep8 version to 1.2

Debian Wheezy will ship with this version, and it has many improved checks compared to 0.6, so let's:

- bump version in the docs
- silence some new checks that are wrong due to our indent=2 instead of 4
- fix lots of errors in the code where the indentation was wrong by 1...

2cfbc784 08/02/2012 03:46 pm Iustin Pop

Fix uses of OpPrereqError without code info

A while back, we did cleanup the code and ensured (manually) that use
of OpPrereqError includes an errors.ECODE_* field as second
argument. Since we cannot automate the check for this, it turns out
that more and more such usage has crept over the years, including in...

3ccb3a64 02/21/2012 05:23 pm Michael Hanselmann

Replace single- with double-quotes

In at least two cases "%s" is replaced with str(), too.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

e68949b0 10/20/2011 06:21 pm Agata Murawska

ovfconverter: use qemu-img path from constants

Signed-off-by: Agata Murawska <>
Reviewed-by: Guido Trotter <>

487895ed 10/20/2011 03:14 pm Agata Murawska

Fix for buildbot pylint failure

Signed-off-by: Agata Murawska <>
Reviewed-by: Iustin Pop <>

a002ed79 10/20/2011 02:25 pm Agata Murawska

Check for qemu-img in configure and Makefile

Signed-off-by: Agata Murawska <>
Reviewed-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

d6f8db24 10/20/2011 11:58 am Guido Trotter

Fix unittest failures with python 2.7

In python 2.7 the ovf unittests fail because OVFReader expects
ElementTree.parse() of an erroneous document to throw an
xml.parsers.expat.ExpatError while instead it throws an
ElementTree.ParseError.

The solution is to "except" for both errors, with the catch that...

fa337742 10/05/2011 06:30 pm Agata Murawska

Fixes for ovfconverter + vmware

Signed-off-by: Agata Murawska <>
Reviewed-by: Iustin Pop <>

7432d332 09/26/2011 05:10 pm Agata Murawska

Export: saving data to ovf file

Signed-off-by: Agata Murawska <>
Reviewed-by: Michael Hanselmann <>

b179ce72 09/26/2011 05:10 pm Agata Murawska

Export: parsing data from config file

Signed-off-by: Agata Murawska <>
Reviewed-by: Michael Hanselmann <>

0963b26a 09/26/2011 05:10 pm Agata Murawska

Export: initial commit - manifest, ova creation etc

Signed-off-by: Agata Murawska <>
Reviewed-by: Michael Hanselmann <>

7bde29b5 09/26/2011 05:10 pm Agata Murawska

Import: backend, hypervisor and os

Signed-off-by: Agata Murawska <>
Reviewed-by: Michael Hanselmann <>

24b9469d 09/26/2011 05:09 pm Agata Murawska

Import: networks

Signed-off-by: Agata Murawska <>
Reviewed-by: Michael Hanselmann <>

99381e3b 09/26/2011 05:09 pm Agata Murawska

Import: disk conversion

Signed-off-by: Agata Murawska <>
Reviewed-by: Michael Hanselmann <>

864cf6bf 09/26/2011 05:09 pm Agata Murawska

Import: reading ovf file

Signed-off-by: Agata Murawska <>
Reviewed-by: Michael Hanselmann <>

ced78a66 09/26/2011 05:09 pm Agata Murawska

Initial commit for ovfconverter tool

Signed-off-by: Agata Murawska <>
Reviewed-by: Michael Hanselmann <>