Displaying 20 results from an estimated 34 matches for "not_set".
2017 Nov 20
2
How to supervise a Voicemail box with a BLF button ? What does "State:Unavailable" exactly means ?
...l box with a BLF button on
Debian's asterisk 13.14.1 system.
I mostly found this [1] document.
I added in a context a line like:
exten = *7000,hint,MWI:31 at default
With "core show hints", I can read this:
*7000 at subs : MWI:31 at default State:Unavailable
Presence:not_set Watchers 1
My questions are:
1. Is this "exten = *7000,hint,MWI:31 at default" statement correct ?
2. What does "State:Unavailable" exactly means ? To it means "Asterisk is
unable to find any MWI:31 at default state".
3. Which Asterisk version introduced thi...
2018 Mar 27
1
[PATCH FOR DISCUSSION ONLY] v2v: Add -o kubevirt output mode.
...; -> output_mode := `Kubevirt
| "libvirt" -> output_mode := `Libvirt
| "disk" | "local" -> output_mode := `Local
| "null" -> output_mode := `Null
@@ -394,6 +395,7 @@ read the man page virt-v2v(1).
match output_mode with
| `Not_set -> no_options (); `Not_set
| `Glance -> no_options (); `Glance
+ | `Kubevirt -> no_options (); `Kubevirt
| `Libvirt -> no_options (); `Libvirt
| `Local -> no_options (); `Local
| `Null -> no_options (); `Null
@@ -521,6 +523,25 @@ read the man page virt-v2v(1...
2018 Mar 23
1
Re: [PATCH v7 4/6] v2v: Add general mechanism for input and output options (-io/-oo).
..._"No -oo (output options) are supported in this output mode.\n");
> + exit 0
> + )
> + else if output_options <> [] then
> + error (f_"no -oo (output options) are allowed here");
> + in
> + match output_mode with
> + | `Not_set -> no_options (); `Not_set
> + | `Glance -> no_options (); `Glance
> + | `Libvirt -> no_options (); `Libvirt
> + | `Local -> no_options (); `Local
> + | `Null -> no_options (); `Null
> + | `RHV -> no_options (); `RHV
> + | `QEmu -> no_options...
2017 Mar 10
1
[PATCH] v2v: -o null: Force output format to be raw sparse.
...++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/v2v/cmdline.ml b/v2v/cmdline.ml
index f417dea..a72aa49 100644
--- a/v2v/cmdline.ml
+++ b/v2v/cmdline.ml
@@ -337,7 +337,7 @@ read the man page virt-v2v(1).
(* Parse the output mode. *)
if output_mode <> `Not_set && in_place then
error (f_"-o and --in-place cannot be used at the same time");
- let output =
+ let output, output_format, output_alloc =
match output_mode with
| `Glance ->
if output_conn <> None then
@@ -348,7 +348,8 @@ read the man page virt-v2...
2017 Nov 23
2
How to supervise a Voicemail box with a BLF button ? What does "State:Unavailable" exactly means ?
...gt;
>> I mostly found this [1] document.
>> I added in a context a line like:
>> exten = *7000,hint,MWI:31 at default
>>
>> With "core show hints", I can read this:
>> *7000 at subs : MWI:31 at default State:Unavailable
>> Presence:not_set Watchers 1
>>
>> My questions are:
>>
>> 1. Is this "exten = *7000,hint,MWI:31 at default" statement correct ?
>> 2. What does "State:Unavailable" exactly means ? To it means "Asterisk is
>> unable to find any MWI:31 at default s...
2016 Jul 19
0
[PATCH v2 2/2] v2v: use Getopt.Symbol for few options
...-> output_mode := `RHEV
| "qemu" -> output_mode := `QEmu
| "vdsm" -> output_mode := `VDSM
- | s ->
- error (f_"unknown -o option: %s") s
+ | _ -> assert false (* Already checked by Getopt.Symbol. *)
in
let output_alloc = ref `Not_set in
@@ -136,8 +134,7 @@ let parse_cmdline () =
match mode with
| "sparse" -> output_alloc := `Sparse
| "preallocated" -> output_alloc := `Preallocated
- | s ->
- error (f_"unknown -oa option: %s") s
+ | _ -> assert false (* Already...
2017 Mar 10
1
[PATCH] v2v: Refactor some command line error messages.
...") in
Input_ova.input_ova filename in
+ (* Common error message. *)
+ let error_option_cannot_be_used_in_output_mode mode opt =
+ error (f_"-o %s: %s option cannot be used in this output mode") mode opt
+ in
+
(* Parse the output mode. *)
if output_mode <> `Not_set && in_place then
error (f_"-o and --in-place cannot be used at the same time");
@@ -341,13 +346,13 @@ read the man page virt-v2v(1).
match output_mode with
| `Glance ->
if output_conn <> None then
- error (f_"-o glance: -oc option cannot...
2015 Aug 11
0
[PATCH v2 15/17] v2v: add --in-place mode
...in
+ let in_place = !in_place in
let machine_readable = !machine_readable in
let network_map = !network_map in
let no_trim = !no_trim in
@@ -305,6 +308,8 @@ read the man page virt-v2v(1).
Input_ova.input_ova filename in
(* Parse the output mode. *)
+ if output_mode <> `Not_set && in_place then
+ error (f_"-o and --in-place cannot be used at the same time");
let output =
match output_mode with
| `Glance ->
@@ -385,6 +390,6 @@ read the man page virt-v2v(1).
vmtype output_alloc in
input, output,
- debug_gc, debug_overlay...
2016 Jul 19
2
[PATCH v2 1/2] v2v: register also aliases of input/output modules
Extend Modules_list to handle also aliases for input and output modules,
and use this to register the existing aliases.
---
v2v/input_disk.ml | 2 +-
v2v/modules_list.ml | 25 +++++++++++++++++++++----
v2v/modules_list.mli | 8 ++++----
v2v/output_local.ml | 2 +-
v2v/output_rhev.ml | 2 +-
5 files changed, 28 insertions(+), 11 deletions(-)
diff --git a/v2v/input_disk.ml
2015 Oct 20
2
[PATCH v3 11/13] v2v: add --in-place mode
...in
+ let in_place = !in_place in
let machine_readable = !machine_readable in
let network_map = !network_map in
let no_trim = !no_trim in
@@ -313,6 +316,8 @@ read the man page virt-v2v(1).
Input_ova.input_ova filename in
(* Parse the output mode. *)
+ if output_mode <> `Not_set && in_place then
+ error (f_"-o and --in-place cannot be used at the same time");
let output =
match output_mode with
| `Glance ->
@@ -409,6 +414,6 @@ read the man page virt-v2v(1).
Output_vdsm.output_vdsm os vdsm_params vmtype output_alloc in
input,...
2016 Apr 26
4
v2v: Remove --no-trim, --vmtype options and other fixes.
The first two patches implement the change discussed here:
https://www.redhat.com/archives/libguestfs/2016-April/msg00178.html
The third patch fixes the mapping of inspection data to OVF VmType
which was inherited directly from old virt-v2v and had never been
changed. It had a number of problems.
The fourth patch is only slightly related to the others. It adds an
extra slow test to ensure that
2018 Mar 27
6
[PATCH FOR DISCUSSION ONLY v2] v2v: Add -o kubevirt output mode.
Fixes some of the more egregious problems with v1, and also
applies properly to the head of git without needing any other
patches.
Rich.
2015 Jul 27
4
[PATCH] v2v: add --in-place mode
...ile = match !password_file with "" -> None | s -> Some s in
let print_source = !print_source in
let qemu_boot = !qemu_boot in
@@ -305,6 +308,8 @@ read the man page virt-v2v(1).
Input_ova.input_ova filename in
(* Parse the output mode. *)
+ if output_mode <> `Not_set && in_place then
+ error (f_"-o and --in-place cannot be used at the same time");
let output =
match output_mode with
| `Glance ->
@@ -386,5 +391,5 @@ read the man page virt-v2v(1).
input, output,
debug_gc, debug_overlays, do_copy, network_map, no_trim...
2015 Oct 20
5
[PATCH v4 0/3] v2v: add --in-place mode
This series is an attempt to add a mode of virt-v2v operation where it
leaves the config and disk image conversion, rollback on errors,
registering with the destination hypervisor, etc. to a third-party
toolset, and performs only tuning of the guest OS to run in the
KVM-based hypervisor.
Roman Kagan (3):
v2v: add --in-place mode
v2v: document --in-place
v2v: add test for --in-place
---
2015 Jul 28
0
Re: [PATCH] v2v: add --in-place mode
...ot;" -> None | s -> Some s in
> let print_source = !print_source in
> let qemu_boot = !qemu_boot in
> @@ -305,6 +308,8 @@ read the man page virt-v2v(1).
> Input_ova.input_ova filename in
>
> (* Parse the output mode. *)
> + if output_mode <> `Not_set && in_place then
> + error (f_"-o and --in-place cannot be used at the same time");
> let output =
> match output_mode with
> | `Glance ->
> @@ -386,5 +391,5 @@ read the man page virt-v2v(1).
>
> input, output,
> debug_gc, debug...
2017 Oct 08
0
[PATCH v2 3/4] common/mlstdutils: Introduce Option submodule.
...utput with None -> "." | Some s -> s in
+ let vdsm_ovf_output = Option.default "." !vdsm_ovf_output in
(* No arguments and machine-readable mode? Print out some facts
* about what this binary supports.
@@ -422,8 +421,7 @@ read the man page virt-v2v(1).
| `Not_set
| `Libvirt ->
- let output_storage =
- match output_storage with None -> "default" | Some os -> os in
+ let output_storage = Option.default "default" output_storage in
if qemu_boot then
error_option_cannot_be_used_in_output_mode &qu...
2018 Mar 22
0
[PATCH v7 4/6] v2v: Add general mechanism for input and output options (-io/-oo).
...is_query then (
+ printf (f_"No -oo (output options) are supported in this output mode.\n");
+ exit 0
+ )
+ else if output_options <> [] then
+ error (f_"no -oo (output options) are allowed here");
+ in
+ match output_mode with
+ | `Not_set -> no_options (); `Not_set
+ | `Glance -> no_options (); `Glance
+ | `Libvirt -> no_options (); `Libvirt
+ | `Local -> no_options (); `Local
+ | `Null -> no_options (); `Null
+ | `RHV -> no_options (); `RHV
+ | `QEmu -> no_options (); `QEmu
+ | `VDSM ->...
2018 Aug 20
0
[PATCH 2/2] OCaml tools: simplify machine-readable handling
...ts. *)
@@ -318,7 +315,6 @@ read the man page virt-v2v(1).
| Some transport ->
error (f_"unknown input transport ‘-it %s’") transport in
let in_place = !in_place in
- let machine_readable = !machine_readable in
let output_alloc =
match !output_alloc with
| `Not_set | `Sparse -> Sparse
@@ -337,7 +333,7 @@ read the man page virt-v2v(1).
(* No arguments and machine-readable mode? Print out some facts
* about what this binary supports.
*)
- if args = [] && machine_readable then (
+ if args = [] && machine_readable () then (
p...
2018 Mar 27
1
Re: [PATCH v7 4/6] v2v: Add general mechanism for input and output options (-io/-oo).
..._"No -oo (output options) are supported in this output mode.\n");
> + exit 0
> + )
> + else if output_options <> [] then
> + error (f_"no -oo (output options) are allowed here");
> + in
> + match output_mode with
> + | `Not_set -> no_options (); `Not_set
> + | `Glance -> no_options (); `Glance
> + | `Libvirt -> no_options (); `Libvirt
> + | `Local -> no_options (); `Local
> + | `Null -> no_options (); `Null
> + | `RHV -> no_options (); `RHV
> + | `QEmu -> no_options...
2018 Mar 22
4
[PATCH INCOMPLETE 0/4] v2v: Add general mechanism for input and output options.
This patch isn't quite complete (see ‘assert false’).
Currently we have a bunch of ad hoc options like --vddk* and --vdsm*
(and proposed to add --rhv*) to handle extra parameters for input and
output modes/transports. This complicates the command line parsing
and also the clarity of the command line (becauseit's not very obvious
which options apply to which side of the conversion).