Nils Schneider
5a891c1232
Merge pull request #53 from mweinelt/master
...
batman: prefix sudo for batctl if not executed as root
2015-04-12 19:13:16 +02:00
Martin Weinelt
7322a14274
batman: prefix sudo for batctl if not executed as root
...
depends on proper sudo rule, like:
mapuser ALL = NOPASSWD: /usr/sbin/batctl
2015-04-12 18:59:10 +02:00
Nils Schneider
9a652c429c
README: use new --vpn syntax
2015-04-12 12:07:48 +02:00
Nils Schneider
fa740273bb
output nodelist.json
2015-04-08 12:54:46 +02:00
Nils Schneider
4b88a196ac
README: drop sudo explanation
2015-04-02 18:52:00 +02:00
Nils Schneider
428a9731e0
README: removing owner info using jq
2015-04-01 23:33:00 +02:00
Nils Schneider
7f198980b6
introduce GRAPH_VERSION and NODES_VERSION
2015-04-01 18:06:12 +02:00
Nils Schneider
c9098b1793
set version of nodes.json to 1
2015-04-01 17:55:27 +02:00
Nils Schneider
ebde2fcba2
create dest_dir if needed
...
fixes #48
2015-04-01 17:41:40 +02:00
Nils Schneider
bb2aa112c3
make pep8 happy
2015-04-01 17:34:35 +02:00
Nils Schneider
29e2647ad5
ignored the wrong pep8 error code
2015-04-01 17:16:32 +02:00
Nils Schneider
206ea3d6ef
update travis.yml to ignore PEP8 E113 Line-Length
2015-04-01 01:50:35 +02:00
Nils Schneider
dd8f6b92af
drop batctl vd json legacy support
...
fixes #47
2015-04-01 01:36:31 +02:00
Nils Schneider
98d4618156
fix pruning
2015-03-26 14:21:11 +01:00
Nils Schneider
c93d6c0192
Merge pull request #45 from mweinelt/pull2
...
Update argument parser
2015-03-26 14:14:34 +01:00
Martin Weinelt
5b5f4a5d74
fix pep8 line-length in argparser help
2015-03-26 14:12:50 +01:00
Martin Weinelt
a1fe27fc51
Update argument parser
...
* --mesh (-m) now accepts the interface:alfred_sock syntax to add multiple batman/alfred instances. Also multiple instances can be added at once now. Only one interface can be added without alfred socket support (available since 2014.4.0) though.
* --alfred-sock (-s) was dropped in favor of the new --mesh syntax, which adds the interface to socket relationship
* --vpn (-V) now accepts multiple mac addresses, ATTENTION: update your calls accordingly
* --prune defaults to int now
* --with-rrd was renamed from --rrd, to better reflect its boolean/toggle like state
2015-03-26 01:53:44 +01:00
Nils Schneider
e9c693c4c0
Merge pull request #43 from mweinelt/master
...
update batman interface handling in backend.py, add commenting
2015-03-25 15:38:03 +01:00
Martin Weinelt
9df369e88a
update batman interface handling in backend.py, add commenting
2015-03-25 15:14:58 +01:00
Nils Schneider
30670feb31
Merge pull request #42 from mweinelt/master
...
pep8, batadv-vis socket support, batman gateway handling refactored
2015-03-25 14:43:04 +01:00
Martin Weinelt
eb26ea9a5f
pep8: fix remaining line length issues and update travis to include lib/*.py
2015-03-25 14:33:54 +01:00
Martin Weinelt
8d4856db56
lib/batman: refactor gateway handling
2015-03-25 14:11:00 +01:00
Martin Weinelt
e3e5ae1615
Merge branch 'master' of https://github.com/ffnord/ffmap-backend
2015-03-25 14:07:45 +01:00
Martin Weinelt
b143e3f2e5
batman: add batadv-vis socket support, needs at least alfred 2014.4.0
2015-03-25 13:27:54 +01:00
Nils Schneider
dfccd01b69
Merge pull request #41 from mweinelt/master
...
fix regressions in alfred.py
2015-03-24 23:26:55 +01:00
Martin Weinelt
90ab26d50b
fix regressions in alfred.py
2015-03-24 23:17:24 +01:00
Nils Schneider
79ec0eb9d9
Merge pull request #40 from mweinelt/master
...
Update package structure, add alfred socket support
2015-03-24 22:50:51 +01:00
Martin Weinelt
6fba8ad21b
add alfred socket support (--alfred-sock)
2015-03-24 22:48:00 +01:00
Martin Weinelt
c74b7b95fb
update package structure, move non-executables to lib
2015-03-24 22:10:54 +01:00
Nils Schneider
629adc13cb
create RRDs only when --rrd
2015-03-24 18:48:05 +01:00
Nils Schneider
bd943e4360
Merge branch 'master' of https://github.com/mweinelt/ffmap-backend into mweinelt-master
2015-03-24 18:36:11 +01:00
Martin Weinelt
3c1140ebdf
travis-ci: add pep8 check
2015-03-24 18:31:23 +01:00
Martin Weinelt
84746de048
backend.py: use argparser to set mesh default, join paths with os.path.join
2015-03-24 18:31:23 +01:00
Martin Weinelt
10e10944a5
fix alot of pep8
2015-03-24 18:31:23 +01:00
Martin Weinelt
9a8d40ea9a
update .gitignore
2015-03-24 18:20:28 +01:00
Martin Weinelt
efcefd8928
alfred.py: remove superfluous shebang
2015-03-24 18:19:31 +01:00
Nils Schneider
15a0f71847
alfred.py: remove unused function aliases
2015-03-24 18:18:40 +01:00
Martin Weinelt
3dd2a9e325
travis-ci: add pep8 check
2015-03-24 18:06:54 +01:00
Martin Weinelt
309971f1b0
batman.py: fix broken identation caused by previous commit
2015-03-24 17:58:06 +01:00
Martin Weinelt
1fb61db963
backend.py: use argparser to set mesh default, join paths with os.path.join
2015-03-24 17:50:36 +01:00
Martin Weinelt
d4a7c83553
update .gitignore
2015-03-24 17:41:12 +01:00
Martin Weinelt
e66731154b
pep8: some line length fixes
2015-03-24 17:41:02 +01:00
Martin Weinelt
5b14ed5ad9
alfred.py: remove superfluous shebang
2015-03-24 17:31:44 +01:00
Martin Weinelt
e098cd8d77
alfred.py: better ask for forgiveness, than permission
2015-03-24 17:00:35 +01:00
Martin Weinelt
3291b2b6ba
fix alot of pep8
2015-03-24 16:49:37 +01:00
Nils Schneider
9195ea9650
make mesh_interfaces optional
2015-03-21 15:17:50 +01:00
Nils Schneider
3ddecd26bf
fix lastseen handling of non-alfred nodes
2015-03-21 10:37:09 +01:00
Nils Schneider
2a2db65bc6
update README
2015-03-21 01:26:56 +01:00
Nils Schneider
41ee81d92c
alfred: restructure code, add nodeinfo, statistics, vis
2015-02-24 13:34:22 +01:00
Nils Schneider
9257aa01a6
drop ffhlwiki and mkmap
2015-02-24 13:34:22 +01:00