comparison xml/routeflapper.in @ 1:47f787af96c1

update documentation to match code
author Carl Byington <carl@five-ten-sg.com>
date Tue, 13 May 2008 15:46:53 -0700
parents 48d06780cf77
children 180d26aa2a17
comparison
equal deleted inserted replaced
0:48d06780cf77 1:47f787af96c1
17 17
18 </partintro> 18 </partintro>
19 19
20 <refentry id="@PACKAGE@.1"> 20 <refentry id="@PACKAGE@.1">
21 <refentryinfo> 21 <refentryinfo>
22 <date>2008-04-12</date> 22 <date>2008-05-13</date>
23 </refentryinfo> 23 </refentryinfo>
24 24
25 <refmeta> 25 <refmeta>
26 <refentrytitle>@PACKAGE@</refentrytitle> 26 <refentrytitle>@PACKAGE@</refentrytitle>
27 <manvolnum>1</manvolnum> 27 <manvolnum>1</manvolnum>
258 </refentry> 258 </refentry>
259 259
260 260
261 <refentry id="@PACKAGE@.conf.5"> 261 <refentry id="@PACKAGE@.conf.5">
262 <refentryinfo> 262 <refentryinfo>
263 <date>2008-04-12</date> 263 <date>2008-05-13</date>
264 </refentryinfo> 264 </refentryinfo>
265 265
266 <refmeta> 266 <refmeta>
267 <refentrytitle>@PACKAGE@.conf</refentrytitle> 267 <refentrytitle>@PACKAGE@.conf</refentrytitle>
268 <manvolnum>5</manvolnum> 268 <manvolnum>5</manvolnum>
289 </para> 289 </para>
290 290
291 <literallayout class="monospaced"><![CDATA[ 291 <literallayout class="monospaced"><![CDATA[
292 CONFIG := {FILE}+ 292 CONFIG := {FILE}+
293 FILE := "file" FILENAME "{" PATTERN+ "};" 293 FILE := "file" FILENAME "{" PATTERN+ "};"
294 PATTERN := PATH | ANNOUNCE | WITHDRAW | IP 294 PATTERN := RESET | PATH | ANNOUNCE | WITHDRAW | IP
295 PATH := "path" REGEX "{" INDEXPATH '}' ";" 295 RESET := "reset" REGEX "{" "}" ";"
296 ANNOUNCE := "path" REGEX "{" INDEXVAL INDEXLEN '}' ";" 296 PATH := "path" REGEX "{" INDEXPATH "}" ";"
297 WITHDRAW := "path" REGEX "{" INDEXVAL INDEXLEN '}' ";" 297 ANNOUNCE := "announce" REGEX "{" INDEXVAL INDEXLEN "}" ";"
298 IP := "path" REGEX "{" INDEXIP '}' ";" 298 WITHDRAW := "withdraw" REGEX "{" INDEXVAL INDEXLEN "}" ";"
299 IP := "ip" REGEX "{" INDEXIP "}" ";"
299 INDEXPATH := "index_path" REGEX-INTEGER-VALUE ";" 300 INDEXPATH := "index_path" REGEX-INTEGER-VALUE ";"
300 INDEXVAL := "index_value" REGEX-INTEGER-VALUE ";" 301 INDEXVAL := "index_value" REGEX-INTEGER-VALUE ";"
301 INDEXLEN := "index_length" REGEX-INTEGER-VALUE ";" 302 INDEXLEN := "index_length" REGEX-INTEGER-VALUE ";"
302 INDEXIP := "index_ip" REGEX-INTEGER-VALUE ";"]]></literallayout> 303 INDEXIP := "index_ip" REGEX-INTEGER-VALUE ";"]]></literallayout>
303 </refsect1> 304 </refsect1>
304 305
305 <refsect1 id='sample.5'> 306 <refsect1 id='sample.5'>
306 <title>Sample</title> 307 <title>Sample</title>
307 <literallayout class="monospaced"><![CDATA[ 308 <literallayout class="monospaced"><![CDATA[
308 file "/var/log/bgp" { 309 file "/var/log/bgp" {
310 reset "ADJCHANGE: neighbor .* Up" {};
309 path " rcvd UPDATE w.* path (([0-9]| )*[0-9])" { 311 path " rcvd UPDATE w.* path (([0-9]| )*[0-9])" {
310 index_path 1; 312 index_path 1;
311 }; 313 };
312 announce " rcvd (([0-9]|\.)*)/([0-9]*)$" { 314 announce " rcvd (([0-9]|\.)*)/([0-9]*)$" {
313 index_value 1; 315 index_value 1;