<packagegui> <name>ospfd</name> <version>0.1</version> <title>Services: OpenOSPFd</title> <include_file>/usr/local/pkg/openospfd.inc</include_file> <aftersaveredirect>pkg_edit.php?xml=openospfd.xml&id=0</aftersaveredirect> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>077</chmod> <item>https://packages.pfsense.org/packages/config/openospfd/openospfd.inc</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>077</chmod> <item>https://packages.pfsense.org/packages/config/openospfd/openospfd_interfaces.xml</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/</prefix> <chmod>077</chmod> <item>https://packages.pfsense.org/packages/config/openospfd/status_ospfd.php</item> </additional_files_needed> <menu> <name>OpenOSPFd</name> <tooltiptext>Modify ospfd settings.</tooltiptext> <section>Services</section> <configfile>openospfd.xml</configfile> <url>/pkg_edit.php?xml=openospfd.xml&id=0</url> </menu> <tabs> <tab> <text>Global Settings</text> <url>pkg_edit.php?xml=openospfd.xml&id=0</url> <active/> </tab> <tab> <text>Interface Settings</text> <url>pkg.php?xml=openospfd_interfaces.xml</url> </tab> <tab> <text>Status</text> <url>/status_ospfd.php</url> </tab> </tabs> <service> <name>OpenOSPFd</name> <rcfile>ospfd.sh</rcfile> <executable>ospfd</executable> <description>OpenBSD OSPF Daemon</description> </service> <fields> <field> <fielddescr>Router ID</fielddescr> <fieldname>routerid</fieldname> <description> <![CDATA[ Specify the Router ID. RID is the highest logical (loopback) IP address configured on a router. For more information on router identifiers see <a target='_new' href='http://en.wikipedia.org/wiki/Open_Shortest_Path_First'>wikipedia</a>. ]]> </description> <type>input</type> </field> <field> <fielddescr>Area</fielddescr> <fieldname>area</fieldname> <description> <![CDATA[ OpenOSPFd area for this instance of OSPF. For more information on Areas see <a target='_new' href='http://en.wikipedia.org/wiki/Open_Shortest_Path_First#Area_types'>wikipedia</a>. ]]> </description> <type>input</type> <required/> </field> <field> <fielddescr>Disable FIB updates (Routing table)</fielddescr> <fieldname>updatefib</fieldname> <description>Disables the updating of the host routing table(turns into stub router).</description> <type>checkbox</type> </field> <field> <fielddescr>Redistribute connected subnets</fielddescr> <fieldname>redistributeconnectedsubnets</fieldname> <description>Enables the redistribution of connected networks (Default no)</description> <type>checkbox</type> </field> <field> <fielddescr>Redistribute default route</fielddescr> <fieldname>redistributedefaultroute</fieldname> <description>Enables the redistribution of a default route to this device (Default no)</description> <type>checkbox</type> </field> <field> <fielddescr>Redistribute static</fielddescr> <fieldname>redistributestatic</fieldname> <description>Enables the redistribution of static routes</description> <type>checkbox</type> </field> <field> <fielddescr>SPF Hold Time</fielddescr> <fieldname>spfholdtime</fieldname> <description>Set the SPF holdtime in seconds. The minimum time between two consecutive shortest path first calculations. The default value is 5 seconds; the valid range is 1-5 seconds.</description> <type>input</type> </field> <field> <fielddescr>SPF Delay</fielddescr> <fieldname>spfdelay</fieldname> <description>Set SPF delay in seconds. The delay between receiving an update to the link state database and starting the shortest path first calculation. The default value is 1; valid range is 1-10 seconds.</description> <type>input</type> </field> <field> <fielddescr>RFC 1583 compatible</fielddescr> <fieldname>rfc1583</fieldname> <description>If set to yes, decisions regarding AS-external routes are evaluated according to RFC 1583. The default is no.</description> <type>checkbox</type> </field> <field> <fielddescr>These rules take precedence over any redistribute options specified above.</fielddescr> <fieldname>none</fieldname> <type>rowhelper</type> <rowhelper> <rowhelperfield> <fielddescr>Disable <br/>Redistribution</fielddescr> <fieldname>redistribute</fieldname> <description>Redistribute rules.</description> <type>checkbox</type> <size>20</size> </rowhelperfield> <rowhelperfield> <fielddescr>Subnet to Route</fielddescr> <fieldname>routevalue</fieldname> <type>input</type> <size>25</size> </rowhelperfield> </rowhelper> </field> </fields> <custom_php_resync_config_command> ospfd_install_conf(); </custom_php_resync_config_command> <custom_php_validation_command> ospfd_validate_input(); </custom_php_validation_command> </packagegui>