diff options
author | jim-p <jimp@pfsense.org> | 2012-03-08 16:30:06 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-03-08 16:30:06 -0500 |
commit | 8488b5a6e0f662a8e4405fd5f1209792440a400e (patch) | |
tree | e9d474b6f1191ebd4e4d936d08281615358b026e /config/quagga_ospfd/quagga_ospfd.xml | |
parent | 7ffe81a70fed8a267bf1a478cc4dcde228ccbaa0 (diff) | |
download | pfsense-packages-8488b5a6e0f662a8e4405fd5f1209792440a400e.tar.gz pfsense-packages-8488b5a6e0f662a8e4405fd5f1209792440a400e.tar.bz2 pfsense-packages-8488b5a6e0f662a8e4405fd5f1209792440a400e.zip |
First attempt at a Quagga-OSPF package to make OpenOSPFd obsolete.
If anyone wants to build on this to support all of quagga's routing protocols, have at it.
Diffstat (limited to 'config/quagga_ospfd/quagga_ospfd.xml')
-rw-r--r-- | config/quagga_ospfd/quagga_ospfd.xml | 173 |
1 files changed, 173 insertions, 0 deletions
diff --git a/config/quagga_ospfd/quagga_ospfd.xml b/config/quagga_ospfd/quagga_ospfd.xml new file mode 100644 index 00000000..3e76c4e4 --- /dev/null +++ b/config/quagga_ospfd/quagga_ospfd.xml @@ -0,0 +1,173 @@ +<packagegui> + <name>quagga_ospfd</name> + <version>0.1</version> + <title>Services: Quagga OSPFd</title> + <include_file>/usr/local/pkg/quagga_ospfd.inc</include_file> + <aftersaveredirect>pkg_edit.php?xml=quagga_ospfd.xml&id=0</aftersaveredirect> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>644</chmod> + <item>http://www.pfsense.com/packages/config/quagga_ospfd/quagga_ospfd.inc</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>644</chmod> + <item>http://www.pfsense.com/packages/config/quagga_ospfd/quagga_ospfd_interfaces.xml</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/www/</prefix> + <chmod>644</chmod> + <item>http://www.pfsense.com/packages/config/quagga_ospfd/status_ospfd.php</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/bin/</prefix> + <chmod>777</chmod> + <item>http://www.pfsense.com/packages/config/quagga_ospfd/quaggactl</item> + </additional_files_needed> + <menu> + <name>Quagga OSPFd</name> + <tooltiptext>Modify Quagga ospfd settings.</tooltiptext> + <section>Services</section> + <configfile>quagga_ospfd.xml</configfile> + <url>/pkg_edit.php?xml=quagga_ospfd.xml&id=0</url> + </menu> + <tabs> + <tab> + <text>Global Settings</text> + <url>pkg_edit.php?xml=quagga_ospfd.xml&id=0</url> + <active/> + </tab> + <tab> + <text>Interface Settings</text> + <url>pkg.php?xml=quagga_ospfd_interfaces.xml</url> + </tab> + <tab> + <text>Status</text> + <url>/status_ospfd.php</url> + </tab> + </tabs> + <service> + <name>Quagga OSPFd</name> + <rcfile>quagga.sh</rcfile> + <executable>ospfd</executable> + </service> + <service> + <name>Quagga Zebra</name> + <rcfile>quagga.sh</rcfile> + <executable>zebra</executable> + </service> + <fields> + <field> + <fielddescr>Master Password</fielddescr> + <fieldname>password</fieldname> + <description> + <![CDATA[ + Password to access the Zebra and OSPF management daemons. Required. + ]]> + </description> + <type>input</type> + <required/> + </field> + <field> + <fielddescr>Logging</fielddescr> + <fieldname>logging</fieldname> + <description>If set to yes, Logs will be written via syslog.</description> + <type>checkbox</type> + </field> + <field> + <fielddescr>Log Adjacency Changes</fielddescr> + <fieldname>adjacencylog</fieldname> + <description>If set to yes, adjacency changes will be written via syslog.</description> + <type>checkbox</type> + </field> + <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[ + OSPFd 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 MILLIseconds. 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 MILLIseconds. 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> + quagga_ospfd_install_conf(); + </custom_php_resync_config_command> + <custom_php_validation_command> + quagga_ospfd_validate_input(); + </custom_php_validation_command> +</packagegui>
\ No newline at end of file |