Itm:change in namespace, new RPCs, vpnmanager integration
[vpnservice.git] / interfacemgr / interfacemgr-api / src / main / yang / odl-interface-rpc.yang
index a0399466643a8a93c70b7507d9daa13c8eea103b..66e79efa6a30f7815ddb284efd0b0465c7c0312f 100644 (file)
@@ -115,6 +115,23 @@ module odl-interface-rpc {
         }
     }
 
+    rpc get-tunnel-type {
+    description "to get the type of the tunnel interface(vxlan or gre)";
+        input {
+            leaf intf-name {
+                type string;
+            }
+        }
+        output {
+            leaf tunnel-type {
+                type identityref {
+                    base odlif:tunnel-type-base;
+                }
+            }
+        }
+    }
+
+
     rpc get-nodeconnector-id-from-interface {
     description "to get nodeconnector id associated with an interface";
         input {