Merge "Using latest RPC from interface mgr"
[vpnservice.git] / itm / itm-api / src / main / yang / itm.yang
index bbc1273b780deafbc254690f311e891ab4484edb..8785d0a6ca3c66e176849976264718f1ed3c329b 100644 (file)
@@ -1,6 +1,6 @@
 module itm {
 
-    namespace "urn:opendaylight:params:xml:ns:yang:itm";
+    namespace "urn:opendaylight:vpnservice:itm";
 
     prefix itm;
 
@@ -12,7 +12,14 @@ module itm {
     }
     import ietf-inet-types {
         prefix inet;
+        revision-date "2010-09-24";
     }
+    
+    import odl-interface {
+        prefix odlif;
+    }
+    
+    
     import config { prefix config; revision-date 2013-04-05; }
 
     description "This YANG module defines tunnel configuration.";
@@ -27,7 +34,9 @@ module itm {
             type string;
         }
         leaf tunnel-type {
-             type string;
+            type identityref {
+                base odlif:tunnel-type-base;
+            }
         }
 
         list subnets {