Displaying 3 results from an estimated 3 matches for "923ef56d4ca5".
2020 Jan 23
5
[v2v PATCH 0/2] rhv-upload: Validate UUIDs and check they don't exist already
My stab at fixing this: https://bugzilla.redhat.com/show_bug.cgi?id=1789279
It took me quite some time to go through the whole rfc 4122 just to realize we
do not need to do anything with the versions.
Martin Kletzander (2):
rhv-upload: Validate UUIDs passed to -oo rhv-disk-uuid (RHBZ#1789279)
rhv-upload: Check that rhv-disk-uuid is not already taken
(RHBZ#1789279)
2020 Jan 23
0
[v2v PATCH 1/2] rhv-upload: Validate UUIDs passed to -oo rhv-disk-uuid (RHBZ#1789279)
...r of the generator and they are
just forwarded in this partucular case.
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
---
v2v/output_rhv_upload.ml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/v2v/output_rhv_upload.ml b/v2v/output_rhv_upload.ml
index 14153db36897..923ef56d4ca5 100644
--- a/v2v/output_rhv_upload.ml
+++ b/v2v/output_rhv_upload.ml
@@ -49,6 +49,14 @@ after their uploads (if you do, you must supply one for each disk):
-oo rhv-disk-uuid=UUID Disk UUID
")
+let is_nonnil_uuid uuid =
+ let nil_uuid = "00000000-0000-0000-0000-000000000000...
2020 Jan 24
1
Re: [v2v PATCH 1/2] rhv-upload: Validate UUIDs passed to -oo rhv-disk-uuid (RHBZ#1789279)
...warded in this partucular case.
>
> Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
> ---
> v2v/output_rhv_upload.ml | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/v2v/output_rhv_upload.ml b/v2v/output_rhv_upload.ml
> index 14153db36897..923ef56d4ca5 100644
> --- a/v2v/output_rhv_upload.ml
> +++ b/v2v/output_rhv_upload.ml
> @@ -49,6 +49,14 @@ after their uploads (if you do, you must supply one for each disk):
> -oo rhv-disk-uuid=UUID Disk UUID
> ")
>
> +let is_nonnil_uuid uuid =
> + let nil_uuid = &q...