BIND 10 trac3239_3, updated. 8ef57d769740b0e9774bd912c1c28afdc1e418e3 [3239] Expand documentation on configuration data type syntax

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Dec 6 09:28:13 UTC 2013


The branch, trac3239_3 has been updated
       via  8ef57d769740b0e9774bd912c1c28afdc1e418e3 (commit)
       via  a87c4023df07597dcd3cd0f0b850088233e54462 (commit)
      from  d0841b4220752c10810f3664b90a05519796aa3e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8ef57d769740b0e9774bd912c1c28afdc1e418e3
Author: Mukund Sivaraman <muks at isc.org>
Date:   Fri Dec 6 14:58:00 2013 +0530

    [3239] Expand documentation on configuration data type syntax

commit a87c4023df07597dcd3cd0f0b850088233e54462
Author: Mukund Sivaraman <muks at isc.org>
Date:   Fri Dec 6 14:52:08 2013 +0530

    [3239] Update comment

-----------------------------------------------------------------------

Summary of changes:
 doc/guide/bind10-guide.xml |   21 +++++++++++++++++----
 src/bin/bindctl/bindcmd.py |    5 +++--
 2 files changed, 20 insertions(+), 6 deletions(-)

-----------------------------------------------------------------------
diff --git a/doc/guide/bind10-guide.xml b/doc/guide/bind10-guide.xml
index 6d52f42..e2ad687 100644
--- a/doc/guide/bind10-guide.xml
+++ b/doc/guide/bind10-guide.xml
@@ -1549,7 +1549,10 @@ Parameters:
                 <term>integer</term>
                 <listitem>
                     <simpara>
-                        A basic integer; can be set directly with <command>config set</command>, to any integer value.
+                        A basic integer; can be set directly with
+                        <command>config set</command>, to any integer
+                        value. The value must not be quoted, or else, it
+                        will be parsed as a string.
                     </simpara>
                 </listitem>
             </varlistentry>
@@ -1557,7 +1560,10 @@ Parameters:
                 <term>real</term>
                 <listitem>
                     <simpara>
-                        A basic floating point number; can be set directly with <command>config set</command>, to any floating point value.
+                        A basic floating point number; can be set
+                        directly with <command>config set</command>, to
+                        any floating point value. The value must not be
+                        quoted, or else, it will be parsed as a string.
                     </simpara>
                 </listitem>
             </varlistentry>
@@ -1565,7 +1571,12 @@ Parameters:
                 <term>boolean</term>
                 <listitem>
                     <simpara>
-                        A basic boolean value; can be set directly with <command>config set</command>, to either <command>true</command> or <command>false</command>.
+                        A basic boolean value; can be set directly with
+                        <command>config set</command>, to either
+                        <command>true</command> or
+                        <command>false</command>. The value must not be
+                        quoted, or else, it will be parsed as a
+                        string. Integer values are not allowed.
                     </simpara>
                 </listitem>
             </varlistentry>
@@ -1573,7 +1584,9 @@ Parameters:
                 <term>string</term>
                 <listitem>
                     <simpara>
-                        A basic string value; can be set directly with <command>config set,</command> so any string. Double quotation marks are optional.
+                        A basic string value; can be set directly with
+                        <command>config set</command> to any
+                        string. Double quotation marks are optional.
                     </simpara>
                 </listitem>
             </varlistentry>
diff --git a/src/bin/bindctl/bindcmd.py b/src/bin/bindctl/bindcmd.py
index bcae95c..a83775b 100644
--- a/src/bin/bindctl/bindcmd.py
+++ b/src/bin/bindctl/bindcmd.py
@@ -446,8 +446,9 @@ WARNING: The Python readline module isn't available, so some command line
                     raise CmdMissParamSyntaxError(cmd.module, cmd.command, name)
                 param_nr += 1
 
-        # Convert parameter value according parameter spec file.
-        # Ignore check for commands belongs to module 'config' or 'execute
+        # Convert parameter value according to parameter spec
+        # file. Ignore check for commands belonging to module 'config'
+        # or 'execute'.
         if cmd.module != CONFIG_MODULE_NAME and\
            cmd.module != command_sets.EXECUTE_MODULE_NAME:
             for param_name in cmd.params:



More information about the bind10-changes mailing list