itm and mdsal porting
[vpnservice.git] / itm / itm-api / src / main / yang / itm.yang
index 8785d0a6ca3c66e176849976264718f1ed3c329b..3d3ccbe533c62a2915a48484a787cbd036601c7d 100644 (file)
@@ -48,7 +48,9 @@ module itm {
                 type inet:ip-address;
             }
             leaf vlan-id {
-                type uint16;
+                type uint16{
+                range "0..4094";
+            }
             }
             list vteps {
                 key "dpn-id portname";
@@ -62,6 +64,19 @@ module itm {
                     type inet:ip-address;
                 }
             }
+             list device-vteps {
+              key "node-id ip-address";
+                     leaf topology-id {
+                        type string;
+                     }
+                     leaf node-id {
+                       type string;
+                     }
+                     leaf ip-address {
+                     type inet:ip-address;
+                   }
+           }
+
         }
       }
     }