Closed kokel closed 9 years ago
I think it would be best if -A
(which enables alfred support) took an optional parameter specifying the socket. Could you prepare a pull request?
In my opinion the best would be just another option like mentioned above because you have to give the path not only to alfred()
. Also batman()
needs this for calling batadv-vis
correctly.
Sorry, I'm not a propper python programmer, so the code won't come from me.
This is now implemented.
Thanks for the implementation. But as I mentioned above the alfred socket has also be passed to batadv-vis "-u".
Hello,
recently the alfred daemon has been patched to support the configuration for the unix socket path: Link
After this the alfred client
alfred-json
has also been patched to support this: LinkThis allows communities which have currently multiple batman_adv mesh clouds on the same gateway to run one alfred daemon instance for each of the cloud. One implication is that all alfred clients have to patched in order to connect to the correct socket.
So please add support in ffmap-backend for this. Finally,
bat2nodes.py
should be called with a new command-line-option like-u | --unix-path
(alfred daemon style) or-s | --socket
(alfred clientalfred-json
style) in order to return the wanted unix socket toalfred.py
andbatman.py
to make in themkmap.sh
magically stuff like:And some time later someone should make some brainwork to consider the implications supporting multiple batman_adv mesh clouds in one single map, like e.g. duplicate gateways, vpn links?, etc.