Project

General

Profile

Actions

Feature #203

closed

display number of all nodes and direct neigbors

Added by M W almost 10 years ago. Updated almost 8 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.

Actions #1

Updated by M W almost 10 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?

Actions #2

Updated by Marek Lindner almost 10 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.

Actions #3

Updated by Marek Lindner over 9 years ago

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

Actions #4

Updated by M W over 9 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.

Actions #5

Updated by Marek Lindner over 9 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 ?

Actions #6

Updated by M W over 9 years ago

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

Actions #7

Updated by Marek Lindner over 9 years ago

Do you have an alternative suggestion ?

Actions #8

Updated by M W over 9 years ago

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

Actions #9

Updated by Marek Lindner almost 9 years ago

  • Status changed from New to Closed

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

Actions #10

Updated by Sven Eckelmann almost 8 years ago

  • Target version set to 2016.0
Actions

Also available in: Atom PDF