OSPFd 0.1 Services: OSPFd pkg_edit.php?xml=openospfd.xml&id=0 OSFPd Modify ospfd settings.
Services
openospfd.xml /pkg_edit.php?xml=openospfd.xml&id=0
ospfd ospfd.sh ospfd Router ID RouterID Specify the Router ID. input Area Area OSPF area for this instance of OSPFd. input Update FIB (Routing table) updatefib Enables the updating of the host routing table checkbox Listening Interface interface Enter the desired participating interface here. interfaces_selection Metric Metric Metric for this OSPF interface (leave blank for default). input Enable MD5 password for this OSPFd interface (default no) md5password Enables the use of an MD5 password to on this instance checkbox Password Password Password for this OSPF interface. input Redistribute connected subnets Redistributeconnectedsubnets Enables the redistribution of connected networks (Default no) checkbox Redistribute default route Redistributedefaultroute Enables the redistribution of a default route to this device (Default no) checkbox Router Priority Routerpriorityelections Router priority when participating in elections for DR (Default 1) Valid range is 0-255. 0 will cause the router to not participate in election. input Hello Interval HelloIntervalinseconds Hello Interval this OSPF interface in seconds (Default 10). input Retransmit Interval RetransmitInterval Retransmit Interval this OSPF interface in seconds (Default 5). input Dead Timer DeadTimer Dead Timer for this OSPF interface in seconds (Default 40). input Redistribute static Resdistributestatic Enables the redistribution of static routes checkbox function sync_package_ospfd() { conf_mount_rw(); config_lock(); global $config; foreach($config['installedpackages']['ospfd']['config'] as $cf) { if($cf['host'] != "") { $start .= "/usr/local/sbin/ospfd "; $start .= " -n {$cf['host']}"; if($cf['port'] != "") $start .= ":{$cf['port']}"; if($cf['direction'] != "") $start .= " -S {$cf['direction']}"; if($cf['version'] != "") $start .= " -v {$cf['version']}"; write_rcfile(array( "file" => "ospfd.sh", "start" => $start, "stop" => "/usr/bin/killall ospfd" ) ); restart_service("ospfd"); break; } } conf_mount_ro(); config_unlock(); } sync_package_ospfd();