Mailinglist Archive: yast-devel (177 mails)

< Previous Next >
Re: [yast-devel] A Plan for YaST: Project Amaranth
* Jiri Srain <jsrain@xxxxxxx> [Feb 10. 2011 08:59]:

I'd target higher here: D-Bus based interface can be only local, for WebYaST
we have the REST API on top of D-Bus anyway, so why not use it?

Thinking about it, I would propose to drop the WebYaST REST API as it
is currently.

It is too low-level and should be replaced by a richer / more
functional approach. It exposes YaSTs SCR layer, while it should
expose the YaST 'module' layer.

The SCR layer handles 'disks', 'shell commands' and 'config files'.

Installing a new disk requires detection ('disk'), partitioning
('shell'), formatting ('shell'), mount point creation ('shell'),
mounting ('shell') and editing the fstab ('config').

On the module layer, installing a new disk would be a single REST call.

The example might not be typical, but you get the idea.

SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG N├╝rnberg)

To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >