Upgrade ietf-{inet,yang}-types to 2013-07-15
[genius.git] / itm / itm-api / src / main / yang / itm.yang
index 7661522c13907038006afa3bd4827aecaf50b616..80b408011bda958425d28ea976f68038a2e6c53f 100644 (file)
@@ -11,7 +11,7 @@ module itm {
     }
     import ietf-inet-types {
         prefix inet;
-        revision-date "2010-09-24";
+        revision-date "2013-07-15";
     }
     
     import odl-interface {
@@ -85,4 +85,19 @@ module itm {
             base "config:service-type";
             config:java-class "org.opendaylight.genius.itm.api.IITMProvider";
         }
-}
\ No newline at end of file
+
+
+    container dc-gateway-ip-list{
+        list dc-gateway-ip{
+            key "ip-address";
+            leaf ip-address{
+                type inet:ip-address;
+            }
+            leaf tunnnel-type{
+                type identityref {
+                    base odlif:tunnel-type-base;
+                }
+            }
+        }
+    }
+}