[yast-devel] [PATCH] enhance the network YaPI

Hey hey, attached is a series of patches that enhance the network YaPI in various ways. The patches are quite small and accompanied by tests if they add functionality. Cheers, Justus -- Justus Winter winter@pre-sense.de PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH USt-IdNr.: DE263765024 Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges Jürgen Sander Axel Theilmann

On Tue, Aug 30, 2011 at 06:33:45PM +0200, Justus Winter wrote:
Justus, thank you! SVN: http://svn.opensuse.org/viewvc/yast?view=revision&revision=65481 ... http://svn.opensuse.org/viewvc/yast?view=revision&revision=65485 OBS: https://build.opensuse.org/request/show/80415 RPM: yast2-network-2.21.5 I'm just curious, where are you using the API? Is it a public project we could look at? Are you running it on openSUSE 11.4? Since you've looked at NetworkInterfaces.ycp, you probably know that the code is ugly. The projects aiming to improve that are these, you may be interested: https://github.com/yast/yast-- https://github.com/mvidner/goutweed (Ruby, not Python, sorry) -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu

On 08/31/2011 05:07 PM, Martin Vidner wrote:
Btw, those modules do not follow the standard gem convention lib/module/class.rb (the lib directory is not there) For a multiple gem repo, rails/rails is a good example. Duncan -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

Duncan Mac-Vicar P. write:
If you mean yast--/++ then it is intention, after I found about restiction about using gems with cft in SLE11 I don't use gems and its convention and use common packages ( still it is not just package, as it interact with other part of system and contain service configuration for it ). Josef -- Josef Reidinger Appliance Toolkit team maintaining parts of webyast and SLMS author of rubygems - studio_api and net_observer (coauthor) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

On Wed, 31 Aug 2011 17:07:07 +0200 Martin Vidner <mvidner@suse.cz> wrote:
I do have a prototype of an enhanced version of webyast-network-{ui,ws} that is able to deal with multiple interfaces and configure both MTU and vlan specific settings, but it is not ready yet. But now that the backend exposes the required functionality via YaPI finishing it shouldn't take long. I'll send you a heads up when it's finished. Justus -- Justus Winter winter@pre-sense.de PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH USt-IdNr.: DE263765024 Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges Jürgen Sander Axel Theilmann

On Tue, Aug 30, 2011 at 06:33:45PM +0200, Justus Winter wrote:
Justus, thank you! SVN: http://svn.opensuse.org/viewvc/yast?view=revision&revision=65481 ... http://svn.opensuse.org/viewvc/yast?view=revision&revision=65485 OBS: https://build.opensuse.org/request/show/80415 RPM: yast2-network-2.21.5 I'm just curious, where are you using the API? Is it a public project we could look at? Are you running it on openSUSE 11.4? Since you've looked at NetworkInterfaces.ycp, you probably know that the code is ugly. The projects aiming to improve that are these, you may be interested: https://github.com/yast/yast-- https://github.com/mvidner/goutweed (Ruby, not Python, sorry) -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu

On 08/31/2011 05:07 PM, Martin Vidner wrote:
Btw, those modules do not follow the standard gem convention lib/module/class.rb (the lib directory is not there) For a multiple gem repo, rails/rails is a good example. Duncan -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

Duncan Mac-Vicar P. write:
If you mean yast--/++ then it is intention, after I found about restiction about using gems with cft in SLE11 I don't use gems and its convention and use common packages ( still it is not just package, as it interact with other part of system and contain service configuration for it ). Josef -- Josef Reidinger Appliance Toolkit team maintaining parts of webyast and SLMS author of rubygems - studio_api and net_observer (coauthor) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

On Wed, 31 Aug 2011 17:07:07 +0200 Martin Vidner <mvidner@suse.cz> wrote:
I do have a prototype of an enhanced version of webyast-network-{ui,ws} that is able to deal with multiple interfaces and configure both MTU and vlan specific settings, but it is not ready yet. But now that the backend exposes the required functionality via YaPI finishing it shouldn't take long. I'll send you a heads up when it's finished. Justus -- Justus Winter winter@pre-sense.de PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH USt-IdNr.: DE263765024 Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges Jürgen Sander Axel Theilmann
participants (4)
-
Duncan Mac-Vicar P.
-
Josef Reidinger
-
Justus Winter
-
Martin Vidner