Skip to content

Commit

Permalink
net/frr: add some OSPFv3 features and fixes (opnsense#1508)
Browse files Browse the repository at this point in the history
* Update pkg-descr

* Update ospf6d.conf

* Update dialogEditOSPF6Interface.xml

* Update OSPF6.xml

* Update ospf6d.conf

* Update Makefile

* Update ospf6d.conf

* Update ospf6d.conf

* Update OSPF6.xml

* Update OSPF6.xml

* Update OSPF6.xml
  • Loading branch information
mimugmail authored and fabianfrz committed Sep 22, 2019
1 parent 1b52a3f commit d313882
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 5 deletions.
3 changes: 1 addition & 2 deletions net/frr/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
PLUGIN_NAME= frr
PLUGIN_VERSION= 1.11
PLUGIN_REVISION= 3
PLUGIN_VERSION= 1.12
PLUGIN_COMMENT= The FRRouting Protocol Suite
PLUGIN_DEPENDS= frr6 ruby
PLUGIN_MAINTAINER= [email protected]
Expand Down
6 changes: 6 additions & 0 deletions net/frr/pkg-descr
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ switching and routing, Internet access routers, and Internet peering.
Plugin Changelog
================

1.12

* Add passive-interface to OSPFv3 (by Michael Muenz)
* Allow to set area per interface for OSPFv2 (by @twoequaldots)
* Allow to set ebgp-multihop in BGP (by @bpeavy and Greg Goodrich)

1.11

* Add route-map support to redistribution in OSPF
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
<type>text</type>
<help>Area in wildcard mask style like 0.0.0.0 and no decimal 0</help>
</field>
<field>
<id>interface.passive</id>
<label>Passive Interface</label>
<type>checkbox</type>
</field>
<field>
<id>interface.cost</id>
<label>Cost</label>
Expand Down
8 changes: 5 additions & 3 deletions net/frr/src/opnsense/mvc/app/models/OPNsense/Quagga/OSPF6.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<model>
<mount>//OPNsense/quagga/ospf6</mount>
<description>OSPFv3 Routing configuration</description>
<version>1.0.1</version>
<version>1.0.2</version>
<items>
<enabled type="BooleanField">
<default>0</default>
Expand Down Expand Up @@ -42,6 +42,10 @@
<Required>Y</Required>
<mask>/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/</mask>
</area>
<passive type="BooleanField">
<default>0</default>
<Required>Y</Required>
</passive>
<cost type="IntegerField">
<default></default>
<MinimumValue>0</MinimumValue>
Expand Down Expand Up @@ -90,8 +94,6 @@
<default></default>
<OptionValues>
<broadcast>Broadcast multi-access network</broadcast>
<non-broadcast>NBMA network</non-broadcast>
<point-to-multipoint>Point-to-multipoint network</point-to-multipoint>
<point-to-point>Point-to-point network</point-to-point>
</OptionValues>
</networktype>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ log syslog {{ OPNsense.quagga.general.sysloglevel }}
{% for interface in helpers.toList('OPNsense.quagga.ospf6.interfaces.interface') %}
{% if interface.enabled == '1' %}
interface {{ physical_interface(interface.interfacename) }}
{% if interface.networktype %}
ipv6 ospf6 network {{ interface.networktype }}
{% endif %}
{% if interface.passive == '1' %}
ipv6 ospf6 passive
{% endif %}
{{ cline("cost",interface.cost)
}}{{ cline("dead-interval",interface.deadinterval)
}}{{ cline("hello-interval",interface.hellointerval)
Expand Down

0 comments on commit d313882

Please sign in to comment.