Juan,

I wouldn't consider it an exhaustive test by any means, but I have a simple .ovf file in the Image Uploader GIT repo that I do unit testing with. You can review the OVF XML file therein if you like.

FWIW, I would recommend you simply export an image from an "unpatched" oVirt engine and just compare the resulting XML to a patched version.

1: git clone gerrit.ovirt.org:ovirt-image-uploader
2: cd ovirt-image-uploader/src
3: tar -xvf sample.ovf <-  This is a portable/exported "image"
- Note: For some reason there seems to be a consensus to append/apply the .ovf extension to .tgz file image files. It is somewhat confusing, IMHO. 4: Look at master/vms/5272b689-cd9f-4532-9b5d-2413eb7b9402/5272b689-cd9f-4532-9b5d-2413eb7b9402.ovf for an OVF XML file.

Cheers,
Keith


On 05/18/2012 06:43 AM, Juan Hernandez wrote:
Hello,

I recently submitted a change to fix the way we manage namespaces in the OVF writer:

http://gerrit.ovirt.org/4540

The problem is that it doesn't work with the StAX reference implementation included with Java 7.

With the patched OVF writer I generated the attached OVF file. I would appreciate if someone can take a quick look at it and tell me if it is correct. I would also appreciate if you can send me known good OVF files generated by the engine, to compare them with the ones produced with the patched OVF writer.

Thanks in advance,
Juan Hernandez


_______________________________________________
Engine-devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-devel

_______________________________________________
Engine-devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-devel

Reply via email to