Commit graph

127 commits

Author SHA1 Message Date
Christian Hesse
3434ea9d79 mod/bridge-port-to: re-enable interfaces by id 2022-06-30 08:59:27 +02:00
Christian Hesse
e27a0166ba mod/bridge-port-vlan: re-enable interfaces by id 2022-06-30 08:59:08 +02:00
Christian Hesse
f26fb7c05f mod/bridge-port-to: do not act on missing interface
Happens on broken configuration or early boot...
2022-06-29 12:53:50 +02:00
Christian Hesse
ba34ee5cda mod/bridge-port-vlan: do not act on missing interface
Happens on broken configuration or early boot...
2022-06-29 12:53:02 +02:00
Christian Hesse
8b6f830fe8 mod/notification-telegram: only flush queue if fully connected
The fetch command is not as reliable as it should be... Chances were that
notifications were sent multiple times if stuck in background.
Let's flush only if fully connected - and hope this fixes it.
2022-06-20 11:29:49 +02:00
Christian Hesse
cf59e7c1a2 mod/notification-matrix: only flush queue if fully connected
The fetch command is not as reliable as it should be... Chances were that
notifications were sent multiple times if stuck in background.
Let's flush only if fully connected - and hope this fixes it.
2022-06-20 11:29:49 +02:00
Christian Hesse
3002990319 fix typos: 'at lease' -> 'at least' 2022-06-16 23:56:36 +02:00
Christian Hesse
66b7fccd30 mod/bridge-port-to: log when re-enabling interfaces 2022-06-15 16:39:49 +02:00
Christian Hesse
1e894289ea mod/bridge-port-vlan: log when re-enabling interfaces 2022-06-15 16:39:49 +02:00
Christian Hesse
5dc23dd267 mod/bridge-port-to: move reenable to correct level 2022-06-15 10:01:48 +02:00
Christian Hesse
5b3b3e182b mod/bridge-port-vlan: move reenable to correct level 2022-06-15 10:01:48 +02:00
Christian Hesse
09d88ad91c mod/bridge-port-vlan: show vlan name in log message 2022-06-02 11:14:36 +02:00
Christian Hesse
9942918580 mod/bridge-port-vlan: re-enable interfaces with longer delay...
... and in one go to limit the overall runtime.

Looks like IPv6 addresses are not flushed if the link down does not last
long enough (~ 2 seconds on linux). This results on stale addresses
after switching the vlan, which breaks connectivity.
2022-06-02 11:14:36 +02:00
Christian Hesse
3d8ca10a91 mod/bridge-port-to: re-enable interfaces with longer delay...
... and in one go to limit the overall runtime.

Looks like IPv6 addresses are not flushed if the link down does not last
long enough (~ 2 seconds on linux). This results on stale addresses
after switching bridge, which breaks connectivity.
2022-06-02 11:14:36 +02:00
Christian Hesse
8c31a06b39 mod/bridge-port-to: add interface down and up
This helps the client to detect the change.
2022-05-16 22:48:26 +02:00
Christian Hesse
4e7c1df7ee mod/bridge-port-vlan: add interface down and up
This helps the client to detect the change.
2022-05-16 22:27:01 +02:00
Christian Hesse
194f14cc13 mod/bridge-port-vlan: remove left over comment 2022-05-16 22:26:23 +02:00
Christian Hesse
2f46495be1 mod/scriptrunonce: RouterOS v7 path syntax 2022-05-11 13:48:27 +02:00
Christian Hesse
20b5ca4918 mod/notification-telegram: RouterOS v7 path syntax 2022-05-11 13:48:27 +02:00
Christian Hesse
50a139248f mod/notification-matrix: RouterOS v7 path syntax 2022-05-11 13:48:27 +02:00
Christian Hesse
9bd9f4b4ba mod/bridge-port-vlan: RouterOS v7 path syntax 2022-05-11 13:48:27 +02:00
Christian Hesse
158aea4756 mod/bridge-port-to: RouterOS v7 path syntax 2022-05-11 13:48:27 +02:00
Christian Hesse
95e9820718 update copyright for 2022 2022-01-01 21:38:15 +01:00
Christian Hesse
327740d255 mod/ipcalc: introduce $IPCalcReturn 2021-12-09 20:55:15 +01:00
Christian Hesse
004621a327 mod/inspectvar: truncate value if too long 2021-12-09 20:50:51 +01:00
Christian Hesse
b872615e89 mod/inspectvar: introduce $InspectVarReturn 2021-12-09 16:25:49 +01:00
Christian Hesse
8fc88c73f8 shorten modules directory name (global-functions.d -> mod) 2021-11-15 22:18:10 +01:00