[v2] fff-gateway: Add tc and bmon

Submitted by Fabian Blaese on Aug. 2, 2020, 5:58 p.m.

Details

Message ID 20200802175843.452806-1-fabian@blaese.de
State Accepted
Headers show

Commit Message

Fabian Blaese Aug. 2, 2020, 5:58 p.m.
Users might want to manually set up proper scheduling or qos using tc.
bmon can be used to monitor current throughput and packet rates.

Both are now included in layer3 variant.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
---
Changes in v2:
- Add missing '\' after tc
---
 buildscript                           | 2 +-
 src/packages/fff/fff-gateway/Makefile | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/buildscript b/buildscript
index 46bf314..3656761 100755
--- a/buildscript
+++ b/buildscript
@@ -24,7 +24,7 @@  PACKAGEURL="https://git.openwrt.org/feed/packages.git"
 OPENWRT=(openwrt
          $PACKAGEURL
          $PACKAGEREV)
-OPENWRT_PKGS="gpioctl-sysfs libugpio fastd haserl micrond mtr"
+OPENWRT_PKGS="gpioctl-sysfs libugpio fastd haserl micrond mtr bmon"
 
 ## Be careful: FFF uses COMPAT_VERSION 15 as default at the moment.
 ## See http://www.open-mesh.org/projects/batman-adv/wiki/Compatversion
diff --git a/src/packages/fff/fff-gateway/Makefile b/src/packages/fff/fff-gateway/Makefile
index 528a795..790aeb3 100644
--- a/src/packages/fff/fff-gateway/Makefile
+++ b/src/packages/fff/fff-gateway/Makefile
@@ -20,6 +20,7 @@  define Package/fff-gateway
 	         +fff-ra \
 	         +fff-wireguard \
 	         +arptables \
+	         +bmon \
 	         +ebtables \
 	         +ebtables-utils \
 	         +kmod-ebtables-ipv4 \
@@ -33,6 +34,7 @@  define Package/fff-gateway
 	         +iptables-mod-ipopt \
 	         +iptables-mod-conntrack-extra \
 	         +mtr \
+	         +tc \
 	         +tcpdump \
 	         +vxlan
 endef

Comments

Johannes Kimmel Aug. 2, 2020, 6:15 p.m.
Braucht das eventuell noch nen Release Bump?

On 02.08.20 19:58, Fabian Bläse wrote:
> Users might want to manually set up proper scheduling or qos using tc.
> bmon can be used to monitor current throughput and packet rates.
> 
> Both are now included in layer3 variant.
> 
> Signed-off-by: Fabian Bläse <fabian@blaese.de>
> ---
> Changes in v2:
> - Add missing '\' after tc
> ---
>   buildscript                           | 2 +-
>   src/packages/fff/fff-gateway/Makefile | 2 ++
>   2 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/buildscript b/buildscript
> index 46bf314..3656761 100755
> --- a/buildscript
> +++ b/buildscript
> @@ -24,7 +24,7 @@ PACKAGEURL="https://git.openwrt.org/feed/packages.git"
>   OPENWRT=(openwrt
>            $PACKAGEURL
>            $PACKAGEREV)
> -OPENWRT_PKGS="gpioctl-sysfs libugpio fastd haserl micrond mtr"
> +OPENWRT_PKGS="gpioctl-sysfs libugpio fastd haserl micrond mtr bmon"
>   
>   ## Be careful: FFF uses COMPAT_VERSION 15 as default at the moment.
>   ## See http://www.open-mesh.org/projects/batman-adv/wiki/Compatversion
> diff --git a/src/packages/fff/fff-gateway/Makefile b/src/packages/fff/fff-gateway/Makefile
> index 528a795..790aeb3 100644
> --- a/src/packages/fff/fff-gateway/Makefile
> +++ b/src/packages/fff/fff-gateway/Makefile
> @@ -20,6 +20,7 @@ define Package/fff-gateway
>   	         +fff-ra \
>   	         +fff-wireguard \
>   	         +arptables \
> +	         +bmon \
>   	         +ebtables \
>   	         +ebtables-utils \
>   	         +kmod-ebtables-ipv4 \
> @@ -33,6 +34,7 @@ define Package/fff-gateway
>   	         +iptables-mod-ipopt \
>   	         +iptables-mod-conntrack-extra \
>   	         +mtr \
> +	         +tc \
>   	         +tcpdump \
>   	         +vxlan
>   endef
>
Christian Dresel Aug. 2, 2020, 6:26 p.m.
jetzt hab ich doch die falsche Mail erwischt...

sollte natürlich hier hin

Reviewed-by: Christian Dresel <fff@chrisi01.de>

On 02.08.20 19:58, Fabian Bläse wrote:
> Users might want to manually set up proper scheduling or qos using tc.
> bmon can be used to monitor current throughput and packet rates.
> 
> Both are now included in layer3 variant.
> 
> Signed-off-by: Fabian Bläse <fabian@blaese.de>
> ---
> Changes in v2:
> - Add missing '\' after tc
> ---
>  buildscript                           | 2 +-
>  src/packages/fff/fff-gateway/Makefile | 2 ++
>  2 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/buildscript b/buildscript
> index 46bf314..3656761 100755
> --- a/buildscript
> +++ b/buildscript
> @@ -24,7 +24,7 @@ PACKAGEURL="https://git.openwrt.org/feed/packages.git"
>  OPENWRT=(openwrt
>           $PACKAGEURL
>           $PACKAGEREV)
> -OPENWRT_PKGS="gpioctl-sysfs libugpio fastd haserl micrond mtr"
> +OPENWRT_PKGS="gpioctl-sysfs libugpio fastd haserl micrond mtr bmon"
>  
>  ## Be careful: FFF uses COMPAT_VERSION 15 as default at the moment.
>  ## See http://www.open-mesh.org/projects/batman-adv/wiki/Compatversion
> diff --git a/src/packages/fff/fff-gateway/Makefile b/src/packages/fff/fff-gateway/Makefile
> index 528a795..790aeb3 100644
> --- a/src/packages/fff/fff-gateway/Makefile
> +++ b/src/packages/fff/fff-gateway/Makefile
> @@ -20,6 +20,7 @@ define Package/fff-gateway
>  	         +fff-ra \
>  	         +fff-wireguard \
>  	         +arptables \
> +	         +bmon \
>  	         +ebtables \
>  	         +ebtables-utils \
>  	         +kmod-ebtables-ipv4 \
> @@ -33,6 +34,7 @@ define Package/fff-gateway
>  	         +iptables-mod-ipopt \
>  	         +iptables-mod-conntrack-extra \
>  	         +mtr \
> +	         +tc \
>  	         +tcpdump \
>  	         +vxlan
>  endef
>
Robert Langhammer Aug. 2, 2020, 7:01 p.m.
Reviewed-by: Robert Langhammer <rlanghammer@web.de>

Am 02.08.20 um 19:58 schrieb Fabian Bläse:
> Users might want to manually set up proper scheduling or qos using tc.
> bmon can be used to monitor current throughput and packet rates.
>
> Both are now included in layer3 variant.
>
> Signed-off-by: Fabian Bläse <fabian@blaese.de>
> ---
> Changes in v2:
> - Add missing '\' after tc
> ---
>  buildscript                           | 2 +-
>  src/packages/fff/fff-gateway/Makefile | 2 ++
>  2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/buildscript b/buildscript
> index 46bf314..3656761 100755
> --- a/buildscript
> +++ b/buildscript
> @@ -24,7 +24,7 @@ PACKAGEURL="https://git.openwrt.org/feed/packages.git"
>  OPENWRT=(openwrt
>           $PACKAGEURL
>           $PACKAGEREV)
> -OPENWRT_PKGS="gpioctl-sysfs libugpio fastd haserl micrond mtr"
> +OPENWRT_PKGS="gpioctl-sysfs libugpio fastd haserl micrond mtr bmon"
>
>  ## Be careful: FFF uses COMPAT_VERSION 15 as default at the moment.
>  ## See http://www.open-mesh.org/projects/batman-adv/wiki/Compatversion
> diff --git a/src/packages/fff/fff-gateway/Makefile b/src/packages/fff/fff-gateway/Makefile
> index 528a795..790aeb3 100644
> --- a/src/packages/fff/fff-gateway/Makefile
> +++ b/src/packages/fff/fff-gateway/Makefile
> @@ -20,6 +20,7 @@ define Package/fff-gateway
>  	         +fff-ra \
>  	         +fff-wireguard \
>  	         +arptables \
> +	         +bmon \
>  	         +ebtables \
>  	         +ebtables-utils \
>  	         +kmod-ebtables-ipv4 \
> @@ -33,6 +34,7 @@ define Package/fff-gateway
>  	         +iptables-mod-ipopt \
>  	         +iptables-mod-conntrack-extra \
>  	         +mtr \
> +	         +tc \
>  	         +tcpdump \
>  	         +vxlan
>  endef