Commit Graph

4 Commits

Author SHA1 Message Date
Luiz Angelo Daros de Luca ca123aed63 switchdev-poller: netifd now keep dev down
Since 19.07, netifd will not try to bring a device up
after someone brought it down. This way, there is no need
to rename the device.

It also fixes a rename error on 19.07 when the *_down device
was being in use (by netifd?).

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2020-04-29 17:52:20 -03:00
Luiz Angelo Daros de Luca b83212e67e switchdev-poller: makefile cleanup
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-07-17 03:51:52 -03:00
Luiz Angelo Daros de Luca 41f240db65 switchdev-poller: fix license
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-07-17 03:40:20 -03:00
Luiz Angelo Daros de Luca b1fa127952 switchdev-poller: add new package
This service monitors (each 3s) switchdev ports and brings down CPU
ports when all related non-CPU vlan ports are also down. Otherwise,
it brings the port up.

In order to hide CPU ports from netifd, when a device is brought down,
the device is renamed adding the suffix "_down".

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-06-22 00:49:00 -03:00