On 03/31/2012 10:31 PM, Nicolás Echániz wrote:
This effectively "invisibilizes" some links for batman.
You should use this with care, mainly if you are playing with it remotely because you may be left out of a portion of your network.
One more thing, not specific to batman, but useful for the kind of experimentation you might be doing in the near future.
We (QuintanaLibre and DeltaLibre) have designed a tool for "fail-proof" remote administration of OpenWRT nodes, which Guido (also participating in this thread) has developed and maintains.
It's called ruci (for remote uci) and it has many useful features:
1) uses a centralized mercurial repository to store all your nodes configuration. 2) can "pull" configurations from nodes at any time into the repo. 3) can push configuration changes to a node or set of nodes. 4) can compare configuration status between repo and nodes. 5) can always revert nodes or the whole network to any previous state (provided by mercurial), as long as you keep a useful commit policy.
When new configuration is pushed, the remote router updates and reboots (we found this to be safer than just restarting services). It then boots with the new configuration and a 10min. revert timer, which triggers unless you confirm the changes.
This simple method provides enormous experimentation possibilities. You can, for example modify your entire network's IP addressing policy in your local configs repo and then push the change simultaneously. If something goes wrong, the routers will revert configuration and reboot in 10 min.; if everythig went well, you can just confirm your changes during the "revert window" to make them permanent.
You don't need to use uci locally, you may just edit config files by hand and push them, but uci really comes in handy to avoid human error when making changes or to implement some modifications programatically.
Guido might like to add some more detail, but that's a short description of ruci[0].
Anyone who would like to test it, and might need some initial guidance (mainly to set up things, the rest is self-explanatory), just drop guido or me an e-mail and we will gladly help you out. There's no list or forum yet...
Cheers, NicoEchániz