|
@@ -1040,8 +1040,15 @@ def get_ospf_interface_config (node_config, grains_id):
|
|
|
if ospf_config_pillar.get ('ignore', False):
|
|
|
continue
|
|
|
|
|
|
+ # Wireless Local Links (WLL)
|
|
|
+ if re.search (r'^vlan90\d$', iface):
|
|
|
+ ospf_on = True
|
|
|
+ ospf_config['stub'] = True
|
|
|
+ ospf_config['cost'] = 10
|
|
|
+ ospf_config['desc'] = "Wireless Local Link (WLL)"
|
|
|
+
|
|
|
# Local Gigabit Ethernet based connections (PTP or L2 subnets), cost 10
|
|
|
- if re.search (r'^(br-?|br\d+\.|vlan)10\d\d$', iface):
|
|
|
+ elif re.search (r'^(br-?|br\d+\.|vlan)10\d\d$', iface):
|
|
|
ospf_on = True
|
|
|
ospf_config['stub'] = False
|
|
|
ospf_config['cost'] = 10
|