Displaying 20 results from an estimated 49 matches for "fileref".
Did you mean:
file_ref
2006 Jun 15
8
Loading CSS for AJAX apps.
I am working on an update to my content management system and I am
using a lot of AJAX to load in the different "Modules"
I want each module to be self contained, including all its specific
js and CSS.
Does any one know of a good solution for loading in new CSS to go
with the code loaded in via the AJAX call?
Thanks.
2018 Jun 18
1
[PATCH] v2v: Add <Disk ovf:capacity> attribute containing disk virtual size.
...rgets guestcaps output_alloc sd_uuid image_uuids vol_uuids
| OVirt -> image_uuid
| RHVExportStorageDomain -> vol_uuid);
"ovf:size", Int64.to_string size_gb;
+ "ovf:capacity", Int64.to_string ov.ov_virtual_size;
"ovf:fileRef", fileref;
"ovf:parentRef", "";
"ovf:vm_snapshot_id", uuidgen ();
diff --git a/v2v/test-v2v-o-rhv.ovf.expected b/v2v/test-v2v-o-rhv.ovf.expected
index 342eb99d3..1deec9c9d 100644
--- a/v2v/test-v2v-o-rhv.ovf.expected
+++ b/v2v/test-v2v-o-rhv....
2020 Apr 24
0
Re: virt-v2v: error: no href in ovf:File (id=)
...tion>
> </Configuration>
> </DeploymentOptionSection>
> <DiskSection>
> <Info>Virtual disk information</Info>
> <Disk ovf:capacity="50" ovf:capacityAllocationUnits="byte * 2^30" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" ovf:populatedSize="3584360448"/>
> <Disk ovf:capacity="156" ovf:capacityAllocationUnits="byte * 2^30" ovf:diskId="vmdisk2" ovf:file...
2020 Apr 24
0
Re: virt-v2v: error: no href in ovf:File (id=)
...y, 24 April 2020 19:12:10 CEST Andrew Thurber (anthurbe) wrote:
> Thank you Pino,
> Please explain a bit more, I'm not sure I have the same situation as https://bugzilla.redhat.com/1709722
> In my case it complains there is no href, but there is.
Not all the disks have a non-empty ovf:fileRef, see in particular:
> > <Disk ovf:capacity="${logfs}" ovf:capacityAllocationUnits="byte * 2^30" ovf:diskId="vmdisk3" ovf:fileRef="" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" ovf:populate...
2016 Sep 06
2
[PATCH] virt-v2v: Support for ova exported from AWS
...d 0 then (
(* Chase the references through to the actual file name. *)
- let file_id = Str.matched_group 1 file_id in
+ let file_id = Str.matched_group 2 file_id in
let expr = sprintf "/ovf:Envelope/ovf:DiskSection/ovf:Disk[@ovf:diskId='%s']/@ovf:fileRef" file_id in
let file_ref = xpath_to_string expr "" in
if file_ref == "" then error (f_"error parsing disk fileRef");
--
2.4.3
2018 Feb 18
0
[PATCH 2/3] v2v: ovf: Create OVF more aligned with the standard
..._found -> assert false in
(* Iterate over the disks, adding them to the OVF document. *)
List.iteri (
@@ -489,7 +523,12 @@ and add_disks targets guestcaps output_alloc sd_uuid image_uuids vol_uuids ovf =
let is_bootable_drive = i == 0 in
let boot_order = i+1 in
- let fileref = sprintf "%s/%s" image_uuid vol_uuid in
+ let fileref =
+ if rhv_export_flavor then
+ sprintf "%s/%s" image_uuid vol_uuid
+ else
+ vol_uuid
+ in
(* ovf:size and ovf:actual_size fields are integer GBs. If you
* use fl...
2016 Sep 06
0
Re: [PATCH] virt-v2v: Support for ova exported from AWS
...(* Chase the references through to the actual file name. *)
> - let file_id = Str.matched_group 1 file_id in
> + let file_id = Str.matched_group 2 file_id in
> let expr = sprintf "/ovf:Envelope/ovf:DiskSection/ovf:Disk[@ovf:diskId='%s']/@ovf:fileRef" file_id in
> let file_ref = xpath_to_string expr "" in
> if file_ref == "" then error (f_"error parsing disk fileRef");
The patch looks generally OK, but you need to post an updated
version that applies cleanly to current git head.
R...
2016 Sep 08
1
[PATCH] virt-v2v: Support for ova exported from AWS [v2]
...d 0 then (
(* Chase the references through to the actual file name. *)
- let file_id = Str.matched_group 1 file_id in
+ let file_id = Str.matched_group 2 file_id in
let expr = sprintf "/ovf:Envelope/ovf:DiskSection/ovf:Disk[@ovf:diskId='%s']/@ovf:fileRef" file_id in
let file_ref =
match xpath_string expr with
--
2.4.3
2018 Feb 18
6
[PATCH 0/3] Make generated OVF more conforming to standard
The main reason for creating different OVF is that it can be used to create VM
by oVirt REST API. The RHV export domain flavor cannot be used that way.
Tomáš Golembiovský (3):
v2v: tests: check generated OVF
v2v: ovf: Create OVF more aligned with the standard
v2v: vdsm: add --vdsm-fixed-ovf option
v2v/cmdline.ml | 5 ++
v2v/create_ovf.ml
2018 Feb 22
5
[PATCH v2 0/3] Make generated OVF more conforming to standard
The main reason for creating different OVF is that it can be used to create VM
by oVirt REST API. The RHV export domain flavor cannot be used that way.
v1 -> v2:
- introduced flavour types instead of booleans
- instead of referring to the new flavour as "standard OVF" or "fixed OVF" I
refer to it as oVirt flavour. While it is more conforming than the one used
in export
2017 Mar 13
0
[PATCH 2/2] v2v: -i ova: Factor out the OVF parsing into a separate module.
...\(.*\\)" in
- if Str.string_match rex file_id 0 then (
- (* Chase the references through to the actual file name. *)
- let file_id = Str.matched_group 2 file_id in
- let expr = sprintf "/ovf:Envelope/ovf:DiskSection/ovf:Disk[@ovf:diskId='%s']/@ovf:fileRef" file_id in
- let file_ref =
- match xpath_string expr with
- | None -> error (f_"error parsing disk fileRef")
- | Some s -> s in
- let expr = sprintf "/ovf:Envelope/ovf:References/ovf:File[@ovf:id='%s']/@ovf:href&...
2014 Oct 08
0
Re: Virt-v2v conversion issue
...qcow2)
(100.00/100%)
[ 358.0] Creating output metadata
[ 358.0] Finishing off
2.Check ovf file,the disk part shows as below,the second one shows ovf:boot='False'.
<Disk ovf:actual_size='1' ovf:diskId='0be98db1-86cc-4da2-9ecb-aae5f700d569' ovf:size='8' ovf:fileRef='b59d8629-38f4-4443-baf0-07462e75bb91/0be98db1-86cc-4da2-9ecb-aae5f700d569' ovf:parentRef='' ovf:vm_snapshot_id='ad886fef-1ca0-4c69-a6d9-52f9a053bd08' ovf:volume-format='COW' ovf:volume-type='Sparse' ovf:format='http://en.wikipedia.org/wiki/Byte' ovf:...
2018 Feb 18
0
[PATCH 3/3] v2v: vdsm: add --vdsm-fixed-ovf option
...o>
<Network ovf:name='default'/>
- </Section>
- <Section xsi:type='ovf:DiskSection_Type'>
+ </NetworkSection>
+ <DiskSection>
<Info>List of Virtual Disks</Info>
- <Disk ovf:diskId='VOL' ovf:size='1' ovf:fileRef='IMAGE/VOL' ovf:parentRef='' ovf:vm_snapshot_id='#UUID#' ovf:volume-format='COW' ovf:volume-type='Sparse' ovf:format='http://en.wikipedia.org/wiki/Byte' ovf:disk-interface='IDE' ovf:disk-type='System' ovf:boot='True' ovf:actual...
2018 Feb 18
0
[PATCH 1/3] v2v: tests: check generated OVF
...gt;
+ <Info>List of networks</Info>
+ <Network ovf:name='default'/>
+ </Section>
+ <Section xsi:type='ovf:DiskSection_Type'>
+ <Info>List of Virtual Disks</Info>
+ <Disk ovf:diskId='#VOL_ID#' ovf:size='1' ovf:fileRef='#DISK_ID#/#VOL_ID#' ovf:parentRef='' ovf:vm_snapshot_id='#UUID#' ovf:volume-format='RAW' ovf:volume-type='Sparse' ovf:format='http://en.wikipedia.org/wiki/Byte' ovf:disk-interface='IDE' ovf:disk-type='System' ovf:boot='True' o...
2017 Mar 13
4
[PATCH 0/2] v2v: -i ova: A couple of cleanup patches.
A couple of patches cleaning up the -i ova code. These are
both just refactoring (or should be at any rate).
The second patch is best viewed with 'git show -w' to exclude
whitespace changes.
Rich.
2014 Oct 18
5
GIT: [PATCH 0/5] v2v: Multiple fixes for handling semi-standard OVA files (RHBZ#1152998).
OVA not a real standard. Colour me surprised ...
2014 Oct 08
4
Re: Virt-v2v conversion issue
On Wed, Oct 08, 2014 at 08:11:16AM +0000, VONDRA Alain wrote:
> Hi,
> I meet an amazing issue, when I convert a raw file to the oVirt environment using virt-v2v.
> All seems to work fine, my VM is composed of 9 disks, the processes
> finishes without any trouble, the files are well present in the
> right import volume, but only the first system disk appear un my
> oVirt Import
2015 Aug 28
7
v2v: -i libvirtxml: Map empty network or bridge name to a default (RHBZ#1257895).
When importing from VMware via the libvirt driver, the libvirt driver
can add an empty source bridge name:
<interface type='bridge'>
<mac address='00:01:02:03:04:05:06'/>
<source bridge=''/>
</interface>
Replicate what we do on the -i ova path, and map these to "eth0",
"eth1" etc.
This also includes a bunch
2018 Jun 18
1
[PATCH] v2v: <File ovf:size> changed to the actual size (if known).
...v2v/create_ovf.ml
+++ b/v2v/create_ovf.ml
@@ -819,12 +819,17 @@ and add_disks targets guestcaps output_alloc sd_uuid image_uuids vol_uuids
(* Add disk to <References/> node. *)
let disk =
- e "File" [
+ let attrs = ref [
"ovf:href", fileref;
"ovf:id", vol_uuid;
- "ovf:size", Int64.to_string ov.ov_virtual_size; (* NB: in bytes *)
"ovf:description", generated_by;
- ] [] in
+ ] in
+ (match t.target_actual_size with
+ | None -> ()
+ | Some...
2010 Mar 30
3
[PATCH 1/2] Refactor guest and volume creation into Sys::VirtV2V::Target::LibVirt
Move all target-specific functionality into its own module in preparation for
output to RHEV.
---
MANIFEST | 1 +
lib/Sys/VirtV2V/Connection.pm | 46 ++---
lib/Sys/VirtV2V/Converter.pm | 138 +------------
lib/Sys/VirtV2V/Target/LibVirt.pm | 419 +++++++++++++++++++++++++++++++++++++
lib/Sys/VirtV2V/Transfer/ESX.pm | 91 +++------
po/POTFILES.in