Fri, Nov 23, 2018 at 05:13:40PM CET, s...@narfation.org wrote: >Hi, > >Jiri Pirko called the batman-adv configuration interface a while back "a >huge mistake" [1] and suggested genl as alternative. The first >reimplementation [2] (based on the team/devlink design) was rejected. This >second implementation is now using a nl80211-like design. The objects >which can now be modified/queried are: > >* mesh/soft-interface (BATADV_CMD_GET_MESH/BATADV_CMD_SET_MESH) >* slave/hard-interface (BATADV_CMD_GET_HARDIF/BATADV_CMD_SET_HARDIF) >* vlan (BATADV_CMD_GET_VLAN/BATADV_CMD_SET_VLAN) > >Such a set messages automatically triggers a *_SET_* "reply" via the config >multicast group. The same behavior was also added to the sysfs interface. > >Luckily, Jiri Pirko told us that he will have a look at patches. I would >also like to ask the other developers to check whether their configuration >values are represented correctly. And please also check whether the current >implementation might collide with some other features which you might have >in your pipeline. > >v2: >* rewrite everything in a more nl80211-like message/attribute format. > >Kind regards, > Sven
This looks great. Nice job! Do you have a userspace app to communicate with this? Would be nice to play with it or at least to see examples of usage. Thanks!