[Babel-users] Config file syntax changes

Juliusz Chroboczek jch at pps.univ-paris-diderot.fr
Wed Jun 12 21:02:33 UTC 2013


Hi,

There's a lot of stuff going on in a number of branches of babeld
(I'll let Matthieu and Baptiste announce the new stuff themselves),
and we're running out of letters in the Latin alphabet to name the
command-line options.  I've therefore decided to add features to the
parser so that we can put everything in the config file.

There are two new features.


1. Default interface options can be set using the "default" keyword.
Where before you would say something like

  interface eth0 split-horizon true
  interface eth1 split-horizon false
  interface gre0 split-horizon false
  interface gre1 split-horizon false

you can now say

  default split-horizon false
  interface eth0 split-horizon true


2. Most global options can be set using the "option" keyword.  Where
you used to run babeld with an option

  babeld -k 42 eth0

you can now put the option in the config file

  option kernel-priority 42

or on the command-line using a more legible syntax

  babeld -C 'option kernel-priority 42' eth0

I'm planning to remove many of the command-line options at some point.

-- Juliusz



More information about the Babel-users mailing list