All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] routing code re-organization / the road ahead
Date: Wed, 3 Aug 2011 18:50:18 +0200	[thread overview]
Message-ID: <20110803165018.GF9901@lunn.ch> (raw)
In-Reply-To: <201108031639.53966.lindner_marek@yahoo.de>

On Wed, Aug 03, 2011 at 04:39:53PM +0200, Marek Lindner wrote:
> 
> Hi,
> 
> > Looking at the header files, it is not clear to me which contains this
> > routing algo API. Is it bat_ogm.h?
> 
> yes, it is.
> 
> 
> > Has there been any discussion if compile time is sufficient? How about
> > making it a runtime decision? I presume mixing routing algorithms
> > within a mesh is not going to work. However, being able to configure
> > the algorithm per mesh should be possible. This gives a greater degree
> > of interoperability, which might make the Linux Network maintainers
> > happier?
> 
> we discussed various options but at the end decided to move forward with the 
> compile time option. Personally, I doubt many people will want the new routing 
> algorithm until it has been stabilized (we will provide a 'default' option 
> that enables B.A.T.M.A.N. IV).

So it is maybe not needed now, but once the code does start reaching
stability, run time selection becomes more interesting.

> 
> Nevertheless, I am not against having the run time option if someone wants to 
> do it. Are you going to provide the necessary patches ?

Probably not, at least not now.
 
> Where is the interoperability coming from ? The protocols won't be compatible.

Interoperability has many meanings. I've seen it mean the protocol
does not actively destroy the operation of another protocol. I've seen
this in powerline networks. Company X proprietary powerline protocol
is interoperable with HomePlug in that it will not destroy the
HomePlug network if run in parallel with it. It won't talk to it
either...

By making it a runtime option, i don't need to recompile my kernel to
swap from one to the other. I just need "batctl algo V" or "batctl
algo IV". My kernel is interoperable, i just need to configure the
mesh correctly for it to work.

What might also be interesting is
batctl algo IV bat0
batctl algo V bat1
brctl addif br0 bat0
brctl addif br0 bat1

It won't give optimal routes, but it at least gets the two meshs
talking to each other.

> However, we are planing on integrating an extensible header format which 
> allows to add features that will be backward compatible.

Ah, good. Is there any documentation about this?

    Thanks
	Andrew

  reply	other threads:[~2011-08-03 16:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-03  7:52 [B.A.T.M.A.N.] routing code re-organization / the road ahead Marek Lindner
2011-08-03  7:52 ` [B.A.T.M.A.N.] [PATCH 1/4] batman-adv: rename all instances of batman_packet to batman_ogm_packet Marek Lindner
2011-08-03  7:53   ` [B.A.T.M.A.N.] [PATCH 2/4] batman-adv: agglomerate all batman iv ogm processing functions in a single file Marek Lindner
2011-08-18 10:34     ` Marek Lindner
2011-08-03  7:53   ` [B.A.T.M.A.N.] [PATCH 3/4] batman-adv: move routing packet initialization into corresponding file Marek Lindner
2011-08-18 10:35     ` Marek Lindner
2011-08-03  7:53   ` [B.A.T.M.A.N.] [PATCH 4/4] batman-adv agglomerate all batman iv ogm senbding functions in the batman iv file Marek Lindner
2011-08-18 10:36     ` Marek Lindner
2011-08-18 10:33   ` [B.A.T.M.A.N.] [PATCH 1/4] batman-adv: rename all instances of batman_packet to batman_ogm_packet Marek Lindner
2011-08-03  8:30 ` [B.A.T.M.A.N.] routing code re-organization / the road ahead Andrew Lunn
2011-08-03 14:39   ` Marek Lindner
2011-08-03 16:50     ` Andrew Lunn [this message]
2011-08-04  8:29       ` Marek Lindner
2011-08-12 13:15       ` Simon Wunderlich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110803165018.GF9901@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.