Browse Source

bird: 'bb-*' and 'oob-*' interfaces are deprecated.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 4 years ago
parent
commit
20462b4778
1 changed files with 1 additions and 5 deletions
  1. 1 5
      bird/IGP.conf

+ 1 - 5
bird/IGP.conf

@@ -92,7 +92,7 @@ protocol ospf IGP {
   {%- if grains['id'] in vpn_config %}
     {%- set host_config = vpn_config.get (grains['id'], {}).get ('config', {}) %}
     {%- set interface = host_config.get ('interface', vpn_config.get ('interface', '')) %}
-    {%- if interface.startswith ('bb-') or interface.startswith ('ovpn-') or interface.startswith ('oob-') %}
+    {%- if interface.startswith ('ovpn-') %}
       {%- do interfaces.update({interface: { 'cost': vpn_config.get (grains['id'], {}).get ('config', {}).get ('cost', False) }}) %}
     {%- endif %}
   {%- endif %}
@@ -112,10 +112,6 @@ protocol ospf IGP {
   {%- else %}
 			cost 10000;
   {%- endif %}
-
-  {%- if interface.startswith ('oob-') %}
-			stub yes;
-  {%- endif %}
 		};
 {% endfor %}