Ivan Pavlina
|
ca39617aaf
|
Update docs and comments
|
2020-04-05 23:15:53 +02:00 |
|
Ivan Pavlina
|
f9a458bbfb
|
Add ability to automatically determine if the LAN accounting sensor should be created depending on account-local-traffic in Mikrotik API
|
2020-04-05 15:03:17 +02:00 |
|
Ivan Pavlina
|
30c11db741
|
Add ability to track accounting data from Mikrotik.
|
2020-04-04 19:42:05 +02:00 |
|
Ivan Pavlina
|
1a46da5aae
|
Add ability to return list results of API call instead of generator. On generator return do not call iterate over object, removes redundant calls to API. Update calls to api.path with new input param. Fix logging in helper object.
|
2020-04-04 17:51:35 +02:00 |
|
Andrey Khrolenok
|
7ccaf0d9c3
|
PM8 code optimization
|
2020-03-21 19:02:28 +03:00 |
|
Andrey Khrolenok
|
f0b4c5e723
|
Fix some minor errors and add russian translation.
|
2020-03-21 18:46:54 +03:00 |
|
tomaae
|
0a58db40cd
|
reverted back to customized fork of librouteros
|
2020-03-18 09:33:36 +01:00 |
|
tomaae
|
1010a8aa3a
|
catching socket.timeout using tuple exception during traffic poll #8
|
2020-03-17 00:42:44 +01:00 |
|
tomaae
|
50cf54c417
|
log disconnect error/retry only once until reconnect
log reconnect
|
2020-03-17 00:40:08 +01:00 |
|
tomaae
|
8ec4f9ade5
|
changed string formatting according to development guidelines
|
2020-03-16 19:02:54 +01:00 |
|
tomaae
|
7af3ef0bb3
|
changed info logger according to development guidelines
|
2020-03-16 18:39:39 +01:00 |
|
tomaae
|
bd82612cb8
|
reformatted code using black
|
2020-03-16 18:35:51 +01:00 |
|
tomaae
|
3cf637d1ba
|
reverted to official librouteros #9
|
2020-03-16 18:33:51 +01:00 |
|
tomaae
|
0f7ad23e3c
|
catching socket.timeout using tuple exception #8
|
2020-03-13 02:39:35 +01:00 |
|
tomaae
|
b20d140383
|
api code cleanup
|
2020-03-13 02:27:21 +01:00 |
|
tomaae
|
fc74a2cd56
|
simplified api path call
|
2020-03-11 23:35:28 +01:00 |
|
tomaae
|
df9f551b96
|
fixed traffic debug
|
2020-03-11 23:34:26 +01:00 |
|
tomaae
|
94a80656c3
|
api disconnects from router on communication error
|
2020-03-11 20:01:29 +01:00 |
|
tomaae
|
9c144d7ade
|
api, limit reconnect attempts to once per minute #7
|
2019-12-21 07:57:20 +01:00 |
|
tomaae
|
0f2cb6d455
|
changed default api error state from blank to none
|
2019-12-12 23:07:16 +01:00 |
|
tomaae
|
f7ef7a7660
|
api locking and improved error handling
|
2019-12-12 23:02:56 +01:00 |
|
Tomaae
|
6b2f9ae4e2
|
fixes and code cleanup
|
2019-12-12 13:02:11 +01:00 |
|
tomaae
|
81f25765f7
|
improved debug messages
fixed TrafficSensor unique id
|
2019-12-10 22:29:35 +01:00 |
|
tomaae
|
1b014c94b5
|
handle oserror and pipebroken during connection
|
2019-12-08 22:59:18 +01:00 |
|
tomaae
|
0896d0c991
|
changed librouteros library name to avoid conflict with loaded library #2
|
2019-12-08 18:10:09 +01:00 |
|
tomaae
|
f6bcfcb528
|
added sensors for rx/tx traffic per interface
|
2019-12-08 11:20:02 +01:00 |
|
tomaae
|
e2c81c950f
|
added ssl_handshake_failure error for UI
|
2019-12-08 09:57:28 +01:00 |
|
tomaae
|
81aa8d0bd5
|
changed api default encoding to be in par with mikrotik winbox
|
2019-12-08 09:39:23 +01:00 |
|
tomaae
|
4f8c709488
|
removed library check since it is now included in the integration #2
|
2019-12-08 09:09:31 +01:00 |
|
tomaae
|
b70bb9db92
|
included librouteros library to avoid conflicts with other integrations #2
|
2019-12-08 08:57:10 +01:00 |
|
tomaae
|
619871a719
|
display invalid lib version in UI during setup #2
|
2019-12-07 22:34:07 +01:00 |
|
tomaae
|
6467673dce
|
added exception ApiEntryNotFound
|
2019-12-07 21:20:36 +01:00 |
|
tomaae
|
3d90f7c19a
|
added check for old librouteros version in case of conflict with other extensions #2
|
2019-12-07 20:11:09 +01:00 |
|
tomaae
|
fc9939aeab
|
updated exceptions in api for only needed parts
|
2019-12-06 01:30:07 +01:00 |
|
tomaae
|
05d21d1f42
|
added exception test to update and run script in api
added test for active connection and reconnect to update and run script in api
|
2019-12-06 01:17:01 +01:00 |
|
tomaae
|
91b769481e
|
refactoring
|
2019-12-05 22:10:42 +01:00 |
|
tomaae
|
b851085f48
|
removed trailing whitespace from empty lines
|
2019-12-05 20:45:04 +01:00 |
|
tomaae
|
b2c268a1c0
|
added docstrings to all functions and classes
|
2019-12-05 20:42:14 +01:00 |
|
tomaae
|
42c95e78a6
|
added run script switches
|
2019-12-04 20:13:11 +01:00 |
|
tomaae
|
a3e6e5692b
|
added update value for mikrotik api
|
2019-12-03 01:47:38 +01:00 |
|
tomaae
|
a6e6f4c697
|
pylint consistency
|
2019-12-02 19:22:34 +01:00 |
|
tomaae
|
b7083263fb
|
converted leading tabs to spaces
|
2019-12-02 18:13:55 +01:00 |
|
tomaae
|
ae54d8cbaa
|
function name change
|
2019-12-02 18:07:51 +01:00 |
|
tomaae
|
0a6c8d369d
|
flake8 compliance
|
2019-12-02 17:59:49 +01:00 |
|
tomaae
|
c24f49252a
|
separated mikrotik_controller
pylint cleanup
|
2019-12-02 04:19:40 +01:00 |
|
tomaae
|
3b5acc2393
|
flake8 complaint
|
2019-12-02 03:19:07 +01:00 |
|
tomaae
|
41fb06bb0e
|
initial commit
|
2019-12-02 01:13:28 +01:00 |
|