]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5036] Comments added.
authorTomek Mrugalski <tomasz@isc.org>
Wed, 7 Dec 2016 14:07:48 +0000 (15:07 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Wed, 7 Dec 2016 14:07:48 +0000 (15:07 +0100)
doc/examples/kea6/advanced.json
src/bin/dhcp6/dhcp6_parser.yy

index 6730c9e9b838b6228c517f51126eb7922ddfff45..b82d6016eb57a84bb38d145fd4bc4fd9d8d24462 100644 (file)
     {
       "pools": [ { "pool": "2001:db8:1::/80" } ],
 
+# This defines PD (prefix delegation) pools. In this case
+# we have only one pool. That consists of /64 prefixes
+# being delegated out of large /48 pool. Each delegated
+# prefix will contain an excluded-prefix option.
       "pd-pools": [
       {
           "prefix": "2001:db8:abcd::",
index 72b03d9edc590879a792168fb4f5cdb50214ee4f..2bf1cc7cd7e998f54821253719303248e1b4d3bc 100644 (file)
@@ -933,15 +933,20 @@ sub_option_data: LCURLY_BRACKET {
 };
 
 // This defines parameters specified inside the map that itself
-// is an entry in option-data list.
+// is an entry in option-data list. It can either be empty
+// or have a non-empty list of parameters.
 option_data_params: %empty
                   | not_empty_option_data_params
                   ;
 
+// Those parameters can either be a single parameter or
+// a list of parameters separated by comma.
 not_empty_option_data_params: option_data_param
     | not_empty_option_data_params COMMA option_data_param
     ;
 
+// Each single option-data parameter can be one of the following
+// expressions.
 option_data_param: option_data_name
                  | option_data_data
                  | option_data_code