[ovirt-devel] A Question about Ovirt-engine Stage_Customization_setup Interface

Yedidyah Bar David didi at redhat.com
Sun Dec 14 06:56:59 UTC 2014

----- Original Message -----
> From: "穆骏" <z8715000 at 126.com>
> To: devel at ovirt.org
> Sent: Friday, December 12, 2014 8:13:39 AM
> Subject: [ovirt-devel] A Question about Ovirt-engine	Stage_Customization_setup Interface
> About the interaction style of engine-setup ,i want the interface which
> present to user will be a form, like web login form or register form,
> User fill up the form and click save then the setup process go to the next
> stage . My problem is when i bring in the TUI package like urwid(Based on
> the event loop, which is used by ovirt-node.3.5.0 ) to replace the original
> dialog Implementation of otopi ,
> i found that i have to change a lot ,not only the original dialog
> Implementation but also the process that validate and save custom config.
> Is there a simple way to work around the problem ? Thank you so much.

Not sure what exactly you want to achieve, but you might find it simpler to
write a separate process that talks with setup using otopi's machine interaction
dialog style.

In any case, making this stage more gui-friendly probably requires rewriting
parts of it - to first prepare a list of questions with their meta-data (valid
replies/reply types/etc., conditions, etc) and then have a single loop that
does the interaction. I understand this was discussed in the past and rejected,
mostly due to prioritization (i.e. it was considered too complex and not important
enough). So you are welcome to continue this discussion.

BTW, we also have a bug saying setup should not be needed at all [1]...

[1] https://bugzilla.redhat.com/show_bug.cgi?id=949377

More information about the Devel mailing list