Browse Source

[4765] Updated DHCPv4 and DHCPv6 configuration specs.

Added "client-classes" entries.
Marcin Siodelski 8 years ago
parent
commit
f32ae16391
2 changed files with 26 additions and 0 deletions
  1. 13 0
      src/bin/dhcp4/dhcp4.spec
  2. 13 0
      src/bin/dhcp6/dhcp6.spec

+ 13 - 0
src/bin/dhcp4/dhcp4.spec

@@ -531,6 +531,19 @@
                         "item_type": "string",
                         "item_type": "string",
                         "item_optional": true,
                         "item_optional": true,
                         "item_default": ""
                         "item_default": ""
+                      },
+                      {
+                        "item_name": "client-classes",
+                        "item_type": "list",
+                        "item_optional": true,
+                        "item_default": [],
+                        "list_item_spec":
+                        {
+                          "item_name": "client-class",
+                          "item_type": "string",
+                          "item_optional": false,
+                          "item_default": ""
+                        }
                       } ]
                       } ]
                   }
                   }
                 },
                 },

+ 13 - 0
src/bin/dhcp6/dhcp6.spec

@@ -604,6 +604,19 @@
                             "item_optional": false,
                             "item_optional": false,
                             "item_default": ""
                             "item_default": ""
                         }
                         }
+                      },
+                      {
+                        "item_name": "client-classes",
+                        "item_type": "list",
+                        "item_optional": true,
+                        "item_default": [],
+                        "list_item_spec":
+                        {
+                          "item_name": "client-class",
+                          "item_type": "string",
+                          "item_optional": false,
+                          "item_default": ""
+                        }
                       } ]
                       } ]
                   }
                   }
                 },
                 },