|
@@ -15,7 +15,7 @@
|
|
# Produce System Messages Manual
|
|
# Produce System Messages Manual
|
|
#
|
|
#
|
|
# This tool reads all the .mes files in the directory tree whose root is given
|
|
# This tool reads all the .mes files in the directory tree whose root is given
|
|
-# on the command line and interprets them as BIND 10 message files. It pulls
|
|
|
|
|
|
+# on the command line and interprets them as message files. It pulls
|
|
# all the messages and description out, sorts them by message ID, and writes
|
|
# all the messages and description out, sorts them by message ID, and writes
|
|
# them out as a single (formatted) file.
|
|
# them out as a single (formatted) file.
|
|
#
|
|
#
|
|
@@ -65,10 +65,10 @@ SEC_HEADER="""<?xml version="1.0" encoding="UTF-8"?>
|
|
Do not edit this file.
|
|
Do not edit this file.
|
|
-->
|
|
-->
|
|
<book>
|
|
<book>
|
|
- <?xml-stylesheet href="bind10-guide.css" type="text/css"?>
|
|
|
|
|
|
+ <?xml-stylesheet href="kea-guide.css" type="text/css"?>
|
|
|
|
|
|
<bookinfo>
|
|
<bookinfo>
|
|
- <title>BIND 10 Messages Manual</title>
|
|
|
|
|
|
+ <title>Kea Messages Manual</title>
|
|
|
|
|
|
<copyright>
|
|
<copyright>
|
|
<year>2011-2014</year><holder>Internet Systems Consortium, Inc.</holder>
|
|
<year>2011-2014</year><holder>Internet Systems Consortium, Inc.</holder>
|
|
@@ -76,14 +76,14 @@ SEC_HEADER="""<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
<abstract>
|
|
<abstract>
|
|
<para>
|
|
<para>
|
|
- This is the messages manual for BIND 10 version &__VERSION__;.
|
|
|
|
|
|
+ This is the messages manual for Kea version &__VERSION__;.
|
|
The most up-to-date version of this document, along with
|
|
The most up-to-date version of this document, along with
|
|
- other documents for BIND 10, can be found at
|
|
|
|
- <ulink url="http://bind10.isc.org/docs"/>.
|
|
|
|
|
|
+ other documents for Kea, can be found at
|
|
|
|
+ <ulink url="http://kea.isc.org/docs"/>.
|
|
</para>
|
|
</para>
|
|
</abstract>
|
|
</abstract>
|
|
|
|
|
|
- <releaseinfo>This is the messages manual for BIND 10 version
|
|
|
|
|
|
+ <releaseinfo>This is the messages manual for Kea version
|
|
&__VERSION__;.</releaseinfo>
|
|
&__VERSION__;.</releaseinfo>
|
|
</bookinfo>
|
|
</bookinfo>
|
|
|
|
|
|
@@ -91,7 +91,7 @@ SEC_HEADER="""<?xml version="1.0" encoding="UTF-8"?>
|
|
<title>Introduction</title>
|
|
<title>Introduction</title>
|
|
<para>
|
|
<para>
|
|
This document lists each message that can be logged by the
|
|
This document lists each message that can be logged by the
|
|
- programs in the BIND 10 package. Each entry in this manual
|
|
|
|
|
|
+ programs in the Kea package. Each entry in this manual
|
|
is of the form:
|
|
is of the form:
|
|
<screen>IDENTIFICATION message-text</screen>
|
|
<screen>IDENTIFICATION message-text</screen>
|
|
... where "IDENTIFICATION" is the message identification included
|
|
... where "IDENTIFICATION" is the message identification included
|
|
@@ -106,13 +106,13 @@ SEC_HEADER="""<?xml version="1.0" encoding="UTF-8"?>
|
|
being logged.
|
|
being logged.
|
|
</para>
|
|
</para>
|
|
<para>
|
|
<para>
|
|
- For information on configuring and using BIND 10 logging,
|
|
|
|
- refer to the <ulink url="bind10-guide.html">BIND 10 Guide</ulink>.
|
|
|
|
|
|
+ For information on configuring and using Kea logging,
|
|
|
|
+ refer to the <ulink url="kea-guide.html">Kea Guide</ulink>.
|
|
</para>
|
|
</para>
|
|
</chapter>
|
|
</chapter>
|
|
|
|
|
|
<chapter id="messages">
|
|
<chapter id="messages">
|
|
- <title>BIND 10 Messages</title>
|
|
|
|
|
|
+ <title>Kea Log Messages</title>
|
|
<para>
|
|
<para>
|
|
<variablelist>
|
|
<variablelist>
|
|
"""
|
|
"""
|
|
@@ -270,7 +270,7 @@ def addToDictionary(msgid, msgtext, desc, filename):
|
|
|
|
|
|
# If the ID is in the dictionary, append a "(n)" to the name - this will
|
|
# If the ID is in the dictionary, append a "(n)" to the name - this will
|
|
# flag that there are multiple instances. (However, this is an error -
|
|
# flag that there are multiple instances. (However, this is an error -
|
|
- # each ID should be unique in BIND-10.)
|
|
|
|
|
|
+ # each ID should be unique in the code.)
|
|
if msgid in dictionary:
|
|
if msgid in dictionary:
|
|
i = 1
|
|
i = 1
|
|
while msgid + " (" + str(i) + ")" in dictionary:
|
|
while msgid + " (" + str(i) + ")" in dictionary:
|
|
@@ -371,7 +371,7 @@ def processAllFiles(root):
|
|
calls processFile for all .mes files found.
|
|
calls processFile for all .mes files found.
|
|
|
|
|
|
Parameters:
|
|
Parameters:
|
|
- root Directory that is the root of the BIND-10 source tree
|
|
|
|
|
|
+ root Directory that is the root of the source tree
|
|
"""
|
|
"""
|
|
for (path, dirs, files) in os.walk(root):
|
|
for (path, dirs, files) in os.walk(root):
|
|
|
|
|