Browse Source

snmpd: Assumg 300 Mb/s for Wireguard connections for now

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 2 years ago
parent
commit
fd416806ac
1 changed files with 3 additions and 0 deletions
  1. 3 0
      snmpd/snmpd.conf.tmpl

+ 3 - 0
snmpd/snmpd.conf.tmpl

@@ -47,6 +47,9 @@ interface	{{ iface }}	6	1000000000	#   1 Gb/s
  {%- if "batman" in config or "bridge" in config %}
  {%- if "batman" in config or "bridge" in config %}
 interface	{{ iface }}	6	500000000	# 500 Mb/s
 interface	{{ iface }}	6	500000000	# 500 Mb/s
  {%- endif %}
  {%- endif %}
+ {%- if "wireguard" in config %}
+interface	{{ iface }}	6	300000000	# 300 Mb/s
+ {%- endif %}
 {%- endfor %}
 {%- endfor %}
 
 
 {%- if "fastd" in node_config.get ('roles') %}
 {%- if "fastd" in node_config.get ('roles') %}