search for: map_source_to_uri

Displaying 14 results from an estimated 14 matches for "map_source_to_uri".

2015 Oct 09
4
[PATCH 0/4] v2v: Use libvirt-supplied <vmware:datacenterpath> if available.
See earlier thread on libvir-list: https://www.redhat.com/archives/libvir-list/2015-September/thread.html#00201 Libvirt >= 1.2.20 supplies the correct dcPath parameter. If it is available in the libvirt XML, use it, otherwise fall back to the old method of trying to guess it from the vpx:// path. Patches 1, 2 and 4 are just refactoring around this change. Rich.
2014 Oct 30
2
[PATCH 0/2] v2v: Add --password-file parameter (RHBZ#1158526).
These patches add the --password-file parameter, allowing you to pass a single password via a file. https://bugzilla.redhat.com/show_bug.cgi?id=1158526 Rich.
2015 Jun 25
1
[PATCH] v2v: Increase the timeout of VMware curl connections (RHBZ#1146007).
...virt_vcenter_https.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v2v/input_libvirt_vcenter_https.ml b/v2v/input_libvirt_vcenter_https.ml index 01a6c89..c6b9a1f 100644 --- a/v2v/input_libvirt_vcenter_https.ml +++ b/v2v/input_libvirt_vcenter_https.ml @@ -250,7 +250,8 @@ let map_source_to_uri ?readahead password uri scheme server path = let json_params = [ "file.driver", JSON.String "https"; "file.url", JSON.String url; - "file.timeout", JSON.Int 600; + (* https://bugzilla.redhat.com/show_bug.cgi?id=1146007#c10 *) +...
2015 Aug 28
3
[PATCH 0/2] v2v: vcenter: Calculate dcPath correctly (RHBZ#1256823).
Calculate dcPath correctly for vCenter conversions. Rich.
2017 Oct 13
7
[PATCH 0/5] v2v: Handle disks with snapshots (RHBZ#1172425).
The first commit removes the --dcpath parameter, which just makes the following stuff simpler. Since libvirt has supported getting datacenterpath from VMware since Oct 2015, it's time to drop this hairy parameter. The rest is quite a complicated series of refactorings, followed by a very simple change to add handling of snapshots taken from old virt-v2v. Rich.
2015 Nov 19
4
[PATCH 0/4] v2v: Add a new tool virt-v2v-copy-to-local to handle Xen and ESXi
It turns out that RHEL 5 Xen conversions don't work if the source disk is located on a block device. See patch 1/4 for the gory details. This patch series proposes a new tool called virt-v2v-copy-to-local which essentially is a way to make new virt-v2v work like the old virt-v2v, ie. copy first, convert after. Of course this is very slow and would only be used as a last resort, but I
2017 Oct 13
0
[PATCH 1/5] v2v: Remove --dcpath parameter and related functionality.
...h : Xml.uri -> string -> string -(** Try to guess the dcPath parameter from a URI. The mapping is - not precise. - - This function is only used with [libvirt < 1.2.20] because later - versions of libvirt provide the dcPath (see - https://bugzilla.redhat.com/1263574). *) - val map_source_to_uri : int option -> string -> string option -> Xml.uri -> string -> string -> string -> string (** [map_source_to_uri readahead dcPath password uri scheme server path] maps the [<source path=...>] string to a qemu URI. diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod in...
2015 May 15
0
[PATCH 3/4] ocaml tools: Use global variables to store trace (-x) and verbose (-v) flags.
...; + if verbose () then dump_response stdout; (* Look for the last HTTP/x.y NNN status code in the output. *) let status = ref "" in @@ -210,7 +210,7 @@ let get_datacenter uri scheme = *) let source_re = Str.regexp "^\\[\\(.*\\)\\] \\(.*\\)\\.vmdk$" -let map_source_to_uri ?readahead verbose password uri scheme server path = +let map_source_to_uri ?readahead password uri scheme server path = if not (Str.string_match source_re path 0) then path else ( @@ -244,7 +244,7 @@ let map_source_to_uri ?readahead verbose password uri scheme server path = (* No...
2015 May 15
5
[PATCH 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
.. and a lot of refactoring. https://bugzilla.redhat.com/show_bug.cgi?id=1167623 Rich.
2015 May 15
6
[PATCH v2 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
https://bugzilla.redhat.com/show_bug.cgi?id=1167623
2016 May 22
0
[PATCH 2/2] ocaml tools: Use a common debug function.
...ion_cookie password scheme uri sslverify url = flush chan in - if verbose () then dump_response stdout; + if verbose () then dump_response stderr; (* Look for the last HTTP/x.y NNN status code in the output. *) let status = ref "" in @@ -240,8 +240,7 @@ let map_source_to_uri readahead dcPath password uri scheme server path = | None -> json_params | Some cookie -> ("file.cookie", JSON.String cookie) :: json_params in - if verbose () then - printf "vcenter: json parameters: %s\n" (JSON.string_of_doc json_params); + debug "v...
2016 May 22
4
ocaml tools: Use a common debug function.
Add a Common_utils.debug function for printing messages only when in verbose mode. Rich.
2015 Oct 06
0
[PATCH 5/5] mllib: Replace various ad hoc string_* functions with String.*
...Set-Cookie: " then ( let line = String.sub line 12 (len-12) in - let cookie, _ = string_split ";" line in + let cookie, _ = String.split ";" line in session_cookie := cookie ) ) lines; @@ -275,7 +275,7 @@ let map_source_to_uri ?readahead dcPath password uri scheme server path = | None -> true | Some query -> (* XXX only works if the query string is not URI-quoted *) - string_find query "no_verify=1" = -1 in + String.find query "no_verify=1" = -1 in (*...
2015 Oct 06
10
[PATCH 0/5] mllib: Hide bad String functions and miscellaneous refactoring.
Hide/prevent the use of bad string functions like String.lowercase. These are replaced by safe functions that won't break UTF-8 strings. Other miscellaneous refactoring. Rich.