Fixing issues with idmanager
[vpnservice.git] / interfacemgr / interfacemgr-api / src / main / yang / odl-interface-rpc.yang
index 88ce5ac664d0590aea4bac7c43a959ee6dd99c13..ef1cad591a0b54e739a31d6a8330dde28bd247eb 100644 (file)
@@ -128,4 +128,18 @@ module odl-interface-rpc {
             }
         }
     }
+
+    rpc get-interface-from-if-index {
+        description "to get interface associated with an if-index";
+            input {
+                leaf if-index {
+                    type int32;
+                }
+            }
+            output {
+                leaf interface-name {
+                    type string;
+                }
+            }
+        }
 }
\ No newline at end of file