Mercurial > routeflapper
changeset 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 | bb3f804f13a0 |
files | xml/routeflapper.in |
diffstat | 1 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/routeflapper.in Tue May 13 14:03:10 2008 -0700 +++ b/xml/routeflapper.in Tue May 13 15:46:53 2008 -0700 @@ -19,7 +19,7 @@ <refentry id="@PACKAGE@.1"> <refentryinfo> - <date>2008-04-12</date> + <date>2008-05-13</date> </refentryinfo> <refmeta> @@ -260,7 +260,7 @@ <refentry id="@PACKAGE@.conf.5"> <refentryinfo> - <date>2008-04-12</date> + <date>2008-05-13</date> </refentryinfo> <refmeta> @@ -291,11 +291,12 @@ <literallayout class="monospaced"><![CDATA[ CONFIG := {FILE}+ FILE := "file" FILENAME "{" PATTERN+ "};" -PATTERN := PATH | ANNOUNCE | WITHDRAW | IP -PATH := "path" REGEX "{" INDEXPATH '}' ";" -ANNOUNCE := "path" REGEX "{" INDEXVAL INDEXLEN '}' ";" -WITHDRAW := "path" REGEX "{" INDEXVAL INDEXLEN '}' ";" -IP := "path" REGEX "{" INDEXIP '}' ";" +PATTERN := RESET | PATH | ANNOUNCE | WITHDRAW | IP +RESET := "reset" REGEX "{" "}" ";" +PATH := "path" REGEX "{" INDEXPATH "}" ";" +ANNOUNCE := "announce" REGEX "{" INDEXVAL INDEXLEN "}" ";" +WITHDRAW := "withdraw" REGEX "{" INDEXVAL INDEXLEN "}" ";" +IP := "ip" REGEX "{" INDEXIP "}" ";" INDEXPATH := "index_path" REGEX-INTEGER-VALUE ";" INDEXVAL := "index_value" REGEX-INTEGER-VALUE ";" INDEXLEN := "index_length" REGEX-INTEGER-VALUE ";" @@ -306,6 +307,7 @@ <title>Sample</title> <literallayout class="monospaced"><![CDATA[ file "/var/log/bgp" { + reset "ADJCHANGE: neighbor .* Up" {}; path " rcvd UPDATE w.* path (([0-9]| )*[0-9])" { index_path 1; };