Merge "Fix Default Gateway"
authorMarco Platania <platania@research.att.com>
Thu, 2 Nov 2017 15:54:17 +0000 (15:54 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 2 Nov 2017 15:54:17 +0000 (15:54 +0000)
vnfs/vCPE/kea-sdnc-notify-mod/etc/kea-dhcp4.conf.example
vnfs/vCPE/scripts/kea-dhcp4.conf
vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf

index 9faaf87..b5f1a69 100644 (file)
              "pools" : [ { "pool": "10.3.0.2 - 10.3.0.255"} ],
             "next-server": "10.3.0.1",
             "option-data": [
-                 {"name": "tftp-server-name",
-                  "data": "10.4.0.1"},
-                      {"name": "boot-file-name",
-                  "data": "/dev/null"}
+                      {
+                          "name": "routers",
+                          "data": "10.3.0.1"
+                      }
                ]
       }
   ]
index 508c0e6..d965072 100644 (file)
              "pools" : [ { "pool": "10.3.0.2 - 10.3.0.255"} ],
             "next-server": "10.3.0.1",
             "option-data": [
-                 {"name": "tftp-server-name",
-                  "data": "10.4.0.1"},
-                      {"name": "boot-file-name",
-                  "data": "/dev/null"}
+                      {
+                          "name": "routers",
+                          "data": "10.3.0.1"
+                      }
                ]
+
       }
   ]
 
index 3e2287d..170b8f3 100644 (file)
 # Also keep in mind that if kea doesn't receive the desired values for some
 # reason, these values will be sent to the client.
   "subnet4": [
-      {        "subnet": "10.2.0.0/24",
-             "pools" : [ { "pool": "10.2.0.2 - 10.2.0.255"} ],
-            "next-server": "10.2.0.1",
+      {        "subnet": "10.3.0.0/24",
+             "pools" : [ { "pool": "10.3.0.2 - 10.3.0.255"} ],
+            "next-server": "10.3.0.1",
             "option-data": [
-                 {"name": "tftp-server-name",
-                  "data": "10.2.0.1"},
-                      {"name": "boot-file-name",
-                  "data": "/dev/null"}
+                      {
+                          "name": "routers",
+                          "data": "10.3.0.1"
+                      }
                ]
       }
   ]