itm and mdsal porting
[vpnservice.git] / itm / itm-api / src / main / yang / itm-state.yang
index ca39c03eda5c66365aa14b392680a80a069cee92..aa30269193a46690f4bb224ba8df161544c9a6f5 100644 (file)
@@ -102,14 +102,14 @@ module itm-state {
       container external-tunnel-list {
              list external-tunnel {
 
-               key  "source-DPN destination-IP";
+               key  "source-device destination-device";
 
-               leaf source-DPN {
-                   type uint64;
+               leaf source-device {
+                   type string; //dpnid or node-id
                }
 
-               leaf destination-IP {
-                   type inet:ip-address;
+               leaf destination-device {
+                   type string; //dpn-id or node-id or ip
                }
 
                /* logical-group interface id */
@@ -121,6 +121,7 @@ module itm-state {
              }
           }
 
+
           notification itm-tunnel-build-complete{
           }