소스 검색

bird: Learn routes from VLANs for 3rd party devices like TTN gateways (Vlans 29xy).

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 6 년 전
부모
커밋
2eac7d6bb8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bird/l3-access.conf

+ 1 - 1
bird/l3-access.conf

@@ -4,7 +4,7 @@
 
 protocol direct l3_access {
 {%- for iface in salt['pillar.get']('nodes:' ~ grains['id'] ~ ':ifaces') %}
-  {%- if salt['ffho.re_search']('^vlan3\d\d$', iface) %}
+  {%- if salt['ffho.re_search']('^vlan(3\d\d|29\d\d)$', iface) %}
 	interface "{{ iface }}";
   {%- endif %}
 {%- endfor %}