-
Notifications
You must be signed in to change notification settings - Fork 576
/
quagga_ospfd.xml
236 lines (235 loc) · 7.82 KB
/
quagga_ospfd.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?>
<packagegui>
<copyright>
<![CDATA[
/*
* quagga_ospfd.xml
*
* part of pfSense (https://www.pfsense.org)
* Copyright (c) 2012-2015 Rubicon Communications, LLC (Netgate)
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
]]>
</copyright>
<name>quagga_ospfd</name>
<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>
<menu>
<name>Quagga OSPFd</name>
<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>Raw Config</text>
<url>pkg_edit.php?xml=quagga_ospfd_raw.xml&id=0</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>
<description>OSPF routing daemon</description>
</service>
<service>
<name>Quagga Zebra</name>
<rcfile>quagga.sh</rcfile>
<executable>zebra</executable>
<description>Quagga core/abstraction daemon</description>
</service>
<plugins>
<item>
<type>plugin_carp</type>
</item>
</plugins>
<fields>
<field>
<fielddescr>Master Password</fielddescr>
<fieldname>password</fieldname>
<description>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.<br />
For more information on router identifiers see <a 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.<br />
For more information on Areas see <a 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>select</type>
<default_value>none</default_value>
<options>
<option><name>None (FIB updates enabled) (default)</name><value>none</value></option>
<option><name>Stub Area (stub)</name><value>stub</value></option>
<option><name>Totally Stub (no-summary)</name><value>nosum</value></option>
<option><name>Not so Stub Area (nssa)</name><value>nssa</value></option>
</options>
</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 (only works if you are using quagga static routes)</description>
<type>checkbox</type>
</field>
<field>
<fielddescr>Redistribute Kernel</fielddescr>
<fieldname>redistributekernel</fieldname>
<description>Enables the redistribution of kernel routing table (this is required if using pfsense static routes)</description>
<type>checkbox</type>
</field>
<field>
<fielddescr>SPF Hold Time</fielddescr>
<fieldname>spfholdtime</fieldname>
<description>
<![CDATA[
Set the SPF holdtime in <strong>milli</strong>seconds. The minimum time between two consecutive shortest path first calculations.<br />
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>
<![CDATA[
Set SPF delay in <strong>milli</strong>seconds. The delay between receiving an update to the link state database and starting the shortest path first calculation.<br />
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>Disable <br/>Acceptance</fielddescr>
<fieldname>acceptfilter</fieldname>
<description>Accept Filter</description>
<type>checkbox</type>
<size>20</size>
</rowhelperfield>
<rowhelperfield>
<fielddescr>Subnet to Route</fielddescr>
<fieldname>routevalue</fieldname>
<type>input</type>
<size>25</size>
</rowhelperfield>
<rowhelperfield>
<fielddescr>Area ID</fielddescr>
<fieldname>routearea</fieldname>
<type>input</type>
<size>10</size>
</rowhelperfield>
</rowhelper>
</field>
<field>
<fielddescr>CARP Status IP</fielddescr>
<fieldname>carpstatusvid</fieldname>
<description>
<![CDATA[
Used to determine the CARP status. When the CARP vhid is in BACKUP status, quagga will not be started.<br />
]]>
</description>
<type>select_source</type>
<source><![CDATA[quagga_ospfd_get_carp_list()]]></source>
<source_name>name</source_name>
<source_value>value</source_value>
</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>