diff options
author | Simon Wunderlich <siwu@hrz.tu-chemnitz.de> | 2013-04-25 05:57:42 -0400 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2013-10-09 15:22:32 -0400 |
commit | 9f4980e68b4b72e6a4d7caadfacc54260d05ebf6 (patch) | |
tree | ddff273e32b44ba11aefcf9d380f47563504a194 /Documentation | |
parent | 0035f97e65761099cbfa9554ee8cd9bfc395eeea (diff) |
batman-adv: remove vis functionality
This is replaced by a userspace program, we don't need this
functionality to bloat the kernel.
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-net-mesh | 11 | ||||
-rw-r--r-- | Documentation/networking/batman-adv.txt | 50 |
2 files changed, 2 insertions, 59 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-net-mesh b/Documentation/ABI/testing/sysfs-class-net-mesh index bdcd8b4e38f2..f00a69b68a25 100644 --- a/Documentation/ABI/testing/sysfs-class-net-mesh +++ b/Documentation/ABI/testing/sysfs-class-net-mesh | |||
@@ -88,14 +88,3 @@ Contact: Marek Lindner <lindner_marek@yahoo.de> | |||
88 | Description: | 88 | Description: |
89 | Defines the routing procotol this mesh instance | 89 | Defines the routing procotol this mesh instance |
90 | uses to find the optimal paths through the mesh. | 90 | uses to find the optimal paths through the mesh. |
91 | |||
92 | What: /sys/class/net/<mesh_iface>/mesh/vis_mode | ||
93 | Date: May 2010 | ||
94 | Contact: Marek Lindner <lindner_marek@yahoo.de> | ||
95 | Description: | ||
96 | Each batman node only maintains information about its | ||
97 | own local neighborhood, therefore generating graphs | ||
98 | showing the topology of the entire mesh is not easily | ||
99 | feasible without having a central instance to collect | ||
100 | the local topologies from all nodes. This file allows | ||
101 | to activate the collecting (server) mode. | ||
diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.txt index c1d82047a4b1..897d1f4e1df1 100644 --- a/Documentation/networking/batman-adv.txt +++ b/Documentation/networking/batman-adv.txt | |||
@@ -69,8 +69,7 @@ folder: | |||
69 | # aggregated_ogms gw_bandwidth log_level | 69 | # aggregated_ogms gw_bandwidth log_level |
70 | # ap_isolation gw_mode orig_interval | 70 | # ap_isolation gw_mode orig_interval |
71 | # bonding gw_sel_class routing_algo | 71 | # bonding gw_sel_class routing_algo |
72 | # bridge_loop_avoidance hop_penalty vis_mode | 72 | # bridge_loop_avoidance hop_penalty fragmentation |
73 | # fragmentation | ||
74 | 73 | ||
75 | 74 | ||
76 | There is a special folder for debugging information: | 75 | There is a special folder for debugging information: |
@@ -78,7 +77,7 @@ There is a special folder for debugging information: | |||
78 | # ls /sys/kernel/debug/batman_adv/bat0/ | 77 | # ls /sys/kernel/debug/batman_adv/bat0/ |
79 | # bla_backbone_table log transtable_global | 78 | # bla_backbone_table log transtable_global |
80 | # bla_claim_table originators transtable_local | 79 | # bla_claim_table originators transtable_local |
81 | # gateways socket vis_data | 80 | # gateways socket |
82 | 81 | ||
83 | Some of the files contain all sort of status information regard- | 82 | Some of the files contain all sort of status information regard- |
84 | ing the mesh network. For example, you can view the table of | 83 | ing the mesh network. For example, you can view the table of |
@@ -127,51 +126,6 @@ ously assigned to interfaces now used by batman advanced, e.g. | |||
127 | # ifconfig eth0 0.0.0.0 | 126 | # ifconfig eth0 0.0.0.0 |
128 | 127 | ||
129 | 128 | ||
130 | VISUALIZATION | ||
131 | ------------- | ||
132 | |||
133 | If you want topology visualization, at least one mesh node must | ||
134 | be configured as VIS-server: | ||
135 | |||
136 | # echo "server" > /sys/class/net/bat0/mesh/vis_mode | ||
137 | |||
138 | Each node is either configured as "server" or as "client" (de- | ||
139 | fault: "client"). Clients send their topology data to the server | ||
140 | next to them, and server synchronize with other servers. If there | ||
141 | is no server configured (default) within the mesh, no topology | ||
142 | information will be transmitted. With these "synchronizing | ||
143 | servers", there can be 1 or more vis servers sharing the same (or | ||
144 | at least very similar) data. | ||
145 | |||
146 | When configured as server, you can get a topology snapshot of | ||
147 | your mesh: | ||
148 | |||
149 | # cat /sys/kernel/debug/batman_adv/bat0/vis_data | ||
150 | |||
151 | This raw output is intended to be easily parsable and convertable | ||
152 | with other tools. Have a look at the batctl README if you want a | ||
153 | vis output in dot or json format for instance and how those out- | ||
154 | puts could then be visualised in an image. | ||
155 | |||
156 | The raw format consists of comma separated values per entry where | ||
157 | each entry is giving information about a certain source inter- | ||
158 | face. Each entry can/has to have the following values: | ||
159 | -> "mac" - mac address of an originator's source interface | ||
160 | (each line begins with it) | ||
161 | -> "TQ mac value" - src mac's link quality towards mac address | ||
162 | of a neighbor originator's interface which | ||
163 | is being used for routing | ||
164 | -> "TT mac" - TT announced by source mac | ||
165 | -> "PRIMARY" - this is a primary interface | ||
166 | -> "SEC mac" - secondary mac address of source | ||
167 | (requires preceding PRIMARY) | ||
168 | |||
169 | The TQ value has a range from 4 to 255 with 255 being the best. | ||
170 | The TT entries are showing which hosts are connected to the mesh | ||
171 | via bat0 or being bridged into the mesh network. The PRIMARY/SEC | ||
172 | values are only applied on primary interfaces | ||
173 | |||
174 | |||
175 | LOGGING/DEBUGGING | 129 | LOGGING/DEBUGGING |
176 | ----------------- | 130 | ----------------- |
177 | 131 | ||