[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: resources by
horms at verge.net.au
Tue Apr 12 20:33:04 MDT 2005
On Tue, Apr 12, 2005 at 10:04:41AM +0200, Lars Marowsky-Bree wrote:
> On 2005-04-12T15:07:22, Horms <horms at verge.net.au> wrote:
> > > Can we merge these back together into a clean one somehow...?
> > IPaddr is an unholy mess. It should be taken out the back and shot.
> I prefer the word "abomination". ;-)
> > To be cleaned up it needs someone to go through and actually
> > abstract things properly so we can put stuff in for
> > all the different OSes. This is not done at
> > all well at present. I once broke stuff out into func_os, type functions,
> > but then a whole lot of ad-hoc case staments turned up
> > to add the same functionality for new OSes and I gave up.
> Yes, I know.
> > As for understanding the difference. I think it is pretty easy.
> > IPaddr2 is the new spanky, better, faster, version of IPaddr.
> > Its a natrual progression from IPaddr. It only runs on Linux,
> > but if you progress to Linux you get the good stuff. Actually,
> > I am not sure that some of the things it does can be done
> > sanely the old way. Do other OSes have a command like ip?
> This seems to advocate the split into an IPaddr.generic.in and
> Of course, the new IPaddr.generic.in would need to be tested by the
> non-Linux folks; but, that might in fact be easier because then
> "generic" at least can get rid of the Linux code paths.
> Yes, I like that idea a whole lot ;-)
It also affords an easy path to add other OS specific versions
if the need arises.
More information about the Linux-HA-Dev