Merge "ITM changes - namespace change in config xml. - Tunnel interface name is trunc...
[vpnservice.git] / neutronvpn / neutronvpn-api / src / main / yang / neutronvpn.yang
index c178534066d44407ceefa838123d8594aa6f7bbf..bc306bbfd8ba33c4e310c27afcc867b085ae5792 100644 (file)
@@ -151,6 +151,21 @@ module neutronvpn {
         }
     }
 
+    /* container for DHCP Configuration */
+    container dhcp-config {
+        list configs {
+            leaf lease-duration {
+                type    int32;
+                description "default lease duration for dhcp lease.
+                             -1 means infinite";
+            }
+            leaf default-domain {
+                type string;
+                description "default domain-name. used in dhcp reply";
+            }
+        }
+    }
+
     rpc createL3VPN{
         description "Create one or more L3 VPN";
         input {