switchdev-poller: add new package
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Fri, 14 Sep 2018 21:52:41 +0000 (18:52 -0300)
committerLuiz Angelo Daros de Luca <luizluca@gmail.com>
Sat, 22 Jun 2019 03:49:00 +0000 (00:49 -0300)
commitb1fa1279520b62af1ffa700a670f2ce2611ca667
treee2844639aec3a1943b027653f947e298daa89eb8
parentc33a3ff08730c8fc7e0b199a1a75d71fe349f707
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>
net/switchdev-poller/Makefile [new file with mode: 0644]
net/switchdev-poller/files/etc/init.d/switchdev-poller [new file with mode: 0755]
net/switchdev-poller/files/usr/lib/switchdev-poller/switchdev-poller [new file with mode: 0755]