Project

General

Profile

Feature #203

display number of all nodes and direct neigbors

Added by M W over 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
01/31/2015
Due date:
% Done:

0%

Estimated time:

Description

Hi,

it would be useful if batctl would show some extra statistics:

  • the number of all known nodes
  • the number of all known clients
  • the number of all neighbor nodes
  • the number of all neighbor clients

Right now we have to do this counting via a shell script, but it would be much faster and comfortable in C and in batctl.

The question is if this is a feature that ought to be implemented and what command line argument to use.

History

#1

Updated by M W over 6 years ago

That being said, I do have a very rough patch. But I do not know where to put the code and how to make it accessible via command line. Suggestions?

#2

Updated by Marek Lindner over 6 years ago

Instead of batctl printing these statistics I would prefer seeing options being added which allow filtering neighbor nodes, neighbor clients, etc.

In general, it might be better to have those discussions on the mailing list. Not many people follow the bug tracker.

#3

Updated by Marek Lindner over 6 years ago

Did you collect sufficient info on the mailing list to implement such a feature ?

#4

Updated by M W over 6 years ago

The first column of "batctl o" can also contain the MAC address of secondary interfaces of neighbors. I do not know how to work around this.

If there is no workaround, then the attempt to get a list of all primary interfaces addresses does not make much sense.

#5

Updated by Marek Lindner over 6 years ago

We can easily add another table only printing the primary mac addresses if that is the only remaining method to get the data. Some people also expressed interest in having the orig capabilities exported to user space. These requests could be combined into one table, don't you think ?

#6

Updated by M W over 6 years ago

Yes, the requests can be combined in one table. But having an extra table around for this looks a bit messy. :-)

#7

Updated by Marek Lindner over 6 years ago

Do you have an alternative suggestion ?

#8

Updated by M W over 6 years ago

No, an extra table seems to be the only option.

#9

Updated by Marek Lindner over 5 years ago

  • Status changed from New to Closed

With 2016.0 the direct neighbor list became available as per your feature requests. Have fun!

#10

Updated by Sven Eckelmann over 4 years ago

  • Target version set to 2016.0

Also available in: Atom PDF